Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.723/1.723, allocations: 288.3 MB / 303.2 MB, free: 8.062 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001384/0.001383, allocations: 189.9 kB / 371.8 MB, free: 10.28 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.838/1.838, allocations: 205.4 MB / 0.6306 GB, free: 9.957 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009098/0.0009099, allocations: 98.84 kB / 0.7439 GB, free: 5.887 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004034/0.0004034, allocations: 17.23 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2323/0.2328, allocations: 115.3 MB / 0.9794 GB, free: 27.69 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7255/0.9583, allocations: 138.8 MB / 1.115 GB, free: 16.42 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002848/0.9586, allocations: 85.25 kB / 1.115 GB, free: 16.42 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01789/0.9765, allocations: 4.07 MB / 1.119 GB, free: 31.89 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.723e-06/0.9766, allocations: 0 / 1.119 GB, free: 31.89 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.696e-06/0.9766, allocations: 0 / 1.119 GB, free: 31.89 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005097/0.9771, allocations: 368.8 kB / 1.119 GB, free: 31.51 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/0.9772, allocations: 7.719 kB / 1.119 GB, free: 31.51 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005306/0.9777, allocations: 68.09 kB / 1.119 GB, free: 31.51 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001392/0.9779, allocations: 167 kB / 1.12 GB, free: 31.3 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.544e-05/0.9779, allocations: 4 kB / 1.12 GB, free: 31.3 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.075e-05/0.9779, allocations: 7.781 kB / 1.12 GB, free: 31.3 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003628/0.9783, allocations: 82.5 kB / 1.12 GB, free: 31.27 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.9784, allocations: 3.938 kB / 1.12 GB, free: 31.26 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.962e-05/0.9784, allocations: 4 kB / 1.12 GB, free: 31.26 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.9784, allocations: 3.984 kB / 1.12 GB, free: 31.25 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004333/0.9788, allocations: 77.81 kB / 1.12 GB, free: 31.25 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002233/0.9791, allocations: 162.7 kB / 1.12 GB, free: 31.06 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008524/0.9799, allocations: 149.4 kB / 1.12 GB, free: 31.02 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.722e-05/0.98, allocations: 3.812 kB / 1.12 GB, free: 31.02 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.321e-05/0.9801, allocations: 37.33 kB / 1.12 GB, free: 30.98 MB / 0.698 GB Notification: Performance of pre-optimization done (n=4): time 2.003e-06/0.9801, allocations: 0 / 1.12 GB, free: 30.98 MB / 0.698 GB Notification: Performance of matching and sorting (n=5): time 0.001647/0.9817, allocations: 439 kB / 1.121 GB, free: 30.71 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.206e-05/0.9818, allocations: 51.41 kB / 1.121 GB, free: 30.65 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.131e-05/0.9819, allocations: 95.55 kB / 1.121 GB, free: 30.56 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.174e-05/0.9819, allocations: 29.64 kB / 1.121 GB, free: 30.53 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.53e-05/0.982, allocations: 80.14 kB / 1.121 GB, free: 30.45 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.811e-05/0.982, allocations: 19.47 kB / 1.121 GB, free: 30.43 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.107e-06/0.982, allocations: 0 / 1.121 GB, free: 30.43 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001465/0.9822, allocations: 313.5 kB / 1.121 GB, free: 30.12 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002278/0.9824, allocations: 46.89 kB / 1.121 GB, free: 30.11 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002099/0.9827, allocations: 43.98 kB / 1.121 GB, free: 30.11 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002066/0.9829, allocations: 39.78 kB / 1.121 GB, free: 30.11 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.9829, allocations: 4 kB / 1.121 GB, free: 30.11 MB / 0.698 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0005356/0.9834, allocations: 126.7 kB / 1.121 GB, free: 30.07 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.9835, allocations: 3.844 kB / 1.121 GB, free: 30.07 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.9835, allocations: 3.047 kB / 1.121 GB, free: 30.07 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.9835, allocations: 0 / 1.121 GB, free: 30.07 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002205/0.9837, allocations: 24.92 kB / 1.121 GB, free: 30.07 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.455e-06/0.9838, allocations: 7.844 kB / 1.121 GB, free: 30.06 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001473/0.9839, allocations: 14.53 kB / 1.121 GB, free: 30.06 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.465e-05/0.984, allocations: 3.906 kB / 1.121 GB, free: 30.06 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001108/0.9841, allocations: 111.8 kB / 1.122 GB, free: 29.95 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.572e-05/0.9841, allocations: 11.67 kB / 1.122 GB, free: 29.94 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000639/0.9848, allocations: 146.2 kB / 1.122 GB, free: 29.9 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.9848, allocations: 3.812 kB / 1.122 GB, free: 29.9 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.301e-06/0.9848, allocations: 4 kB / 1.122 GB, free: 29.89 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.9848, allocations: 3.938 kB / 1.122 GB, free: 29.89 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001628/0.985, allocations: 165.3 kB / 1.122 GB, free: 29.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-06/0.985, allocations: 0 / 1.122 GB, free: 29.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002213/0.9852, allocations: 28.92 kB / 1.122 GB, free: 29.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.949e-06/0.9853, allocations: 3.812 kB / 1.122 GB, free: 29.7 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.863e-05/0.9853, allocations: 320 / 1.122 GB, free: 29.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.9853, allocations: 3.938 kB / 1.122 GB, free: 29.7 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.9853, allocations: 8 kB / 1.122 GB, free: 29.69 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007987/0.9861, allocations: 201.4 kB / 1.122 GB, free: 29.62 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.515e-05/0.9862, allocations: 87.23 kB / 1.122 GB, free: 29.52 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.813e-05/0.9863, allocations: 3.953 kB / 1.122 GB, free: 29.52 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001642/0.9864, allocations: 15.05 kB / 1.122 GB, free: 29.52 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.826e-05/0.9865, allocations: 6.984 kB / 1.122 GB, free: 29.52 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.557e-05/0.9865, allocations: 3.938 kB / 1.122 GB, free: 29.52 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.075e-05/0.9866, allocations: 83.19 kB / 1.122 GB, free: 29.44 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9866, allocations: 3.938 kB / 1.122 GB, free: 29.44 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004563/0.9871, allocations: 42.11 kB / 1.122 GB, free: 29.42 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003843/0.9875, allocations: 136.8 kB / 1.122 GB, free: 29.32 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005479/0.988, allocations: 95.97 kB / 1.123 GB, free: 29.32 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.988, allocations: 0 / 1.123 GB, free: 29.32 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002013/0.9883, allocations: 52.39 kB / 1.123 GB, free: 29.31 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001814/0.9884, allocations: 2.016 kB / 1.123 GB, free: 29.31 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000754/0.9892, allocations: 222.8 kB / 1.123 GB, free: 29.17 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003052/0.9895, allocations: 0.6866 MB / 1.123 GB, free: 28.47 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001305/0.9897, allocations: 11.88 kB / 1.123 GB, free: 28.46 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.493e-05/0.9897, allocations: 11.28 kB / 1.123 GB, free: 28.46 MB / 0.698 GB Notification: Performance of SimCode: time 3.01e-07/0.9897, allocations: 3.969 kB / 1.123 GB, free: 28.46 MB / 0.698 GB Notification: Performance of Templates: time 0.003453/0.9932, allocations: 1.085 MB / 1.125 GB, free: 28.36 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1)