Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.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.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.617/1.617, allocations: 293 MB / 309 MB, free: 4.785 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.0009868/0.000987, allocations: 176.5 kB / 378.7 MB, free: 1 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.451/1.451, allocations: 205.4 MB / 0.6383 GB, free: 9.164 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007407/0.0007407, allocations: 89.34 kB / 0.7527 GB, free: 62.34 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003652/0.0003653, allocations: 16 kB / 0.8768 GB, free: 10.55 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2171/0.2175, allocations: 116.4 MB / 0.9905 GB, free: 5.996 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5917/0.8092, allocations: 140.6 MB / 1.128 GB, free: 33.61 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002261/0.8094, allocations: 86.86 kB / 1.128 GB, free: 33.54 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.01407/0.8235, allocations: 5.501 MB / 1.133 GB, free: 29.53 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.324e-06/0.8236, allocations: 0 / 1.133 GB, free: 29.53 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.054e-06/0.8236, allocations: 4 kB / 1.133 GB, free: 29.53 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004511/0.824, allocations: 406.1 kB / 1.134 GB, free: 29.1 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.8241, allocations: 15.97 kB / 1.134 GB, free: 29.08 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003414/0.8244, allocations: 62.25 kB / 1.134 GB, free: 29.04 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.081e-05/0.8246, allocations: 171.7 kB / 1.134 GB, free: 28.84 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.973e-05/0.8246, allocations: 8.375 kB / 1.134 GB, free: 28.83 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.498e-05/0.8246, allocations: 4.375 kB / 1.134 GB, free: 28.82 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003237/0.825, allocations: 114.5 kB / 1.134 GB, free: 28.73 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.621e-05/0.825, allocations: 4.938 kB / 1.134 GB, free: 28.73 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.741e-05/0.825, allocations: 15.17 kB / 1.134 GB, free: 28.71 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.825, allocations: 4 kB / 1.134 GB, free: 28.71 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000408/0.8254, allocations: 121.6 kB / 1.134 GB, free: 28.62 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005149/0.826, allocations: 341.4 kB / 1.134 GB, free: 28.27 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005611/0.8265, allocations: 183.7 kB / 1.135 GB, free: 28.11 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001967/0.8267, allocations: 66.22 kB / 1.135 GB, free: 28.06 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.544e-05/0.8268, allocations: 4 kB / 1.135 GB, free: 28.05 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.222e-05/0.8268, allocations: 31.12 kB / 1.135 GB, free: 28.02 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 1.804e-06/0.8268, allocations: 4 kB / 1.135 GB, free: 28.01 MB / 0.7292 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=11): time 0.01645/0.8433, allocations: 3.173 MB / 1.138 GB, free: 25.61 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.071e-05/0.8433, allocations: 59.97 kB / 1.138 GB, free: 25.54 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.116e-05/0.8434, allocations: 108.8 kB / 1.138 GB, free: 25.42 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 4.821e-05/0.8435, allocations: 26.27 kB / 1.138 GB, free: 25.39 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.549e-05/0.8435, allocations: 92.75 kB / 1.138 GB, free: 25.3 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 5.81e-05/0.8436, allocations: 39.3 kB / 1.138 GB, free: 25.26 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.19e-05/0.8436, allocations: 4 kB / 1.138 GB, free: 25.26 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 4.645e-05/0.8437, allocations: 312.4 kB / 1.138 GB, free: 24.95 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000605/0.8443, allocations: 219.9 kB / 1.139 GB, free: 24.78 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005875/0.8449, allocations: 216.7 kB / 1.139 GB, free: 24.62 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001224/0.8461, allocations: 448.1 kB / 1.139 GB, free: 24.26 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.8461, allocations: 0 / 1.139 GB, free: 24.26 MB / 0.7292 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001382/0.8475, allocations: 0.5156 MB / 1.14 GB, free: 23.87 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.8476, allocations: 4.75 kB / 1.14 GB, free: 23.86 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.8476, allocations: 0 / 1.14 GB, free: 23.86 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.838e-05/0.8476, allocations: 0 / 1.14 GB, free: 23.86 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007689/0.8484, allocations: 125.8 kB / 1.14 GB, free: 23.79 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/0.8484, allocations: 0 / 1.14 GB, free: 23.79 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005465/0.8489, allocations: 65.47 kB / 1.14 GB, free: 23.75 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.685e-05/0.849, allocations: 26.38 kB / 1.14 GB, free: 23.74 MB / 0.7292 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 (13): * Single equations (assignments): 13 * 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.0001346/0.8492, allocations: 114.5 kB / 1.14 GB, free: 23.62 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.193e-05/0.8492, allocations: 7.906 kB / 1.14 GB, free: 23.61 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.606e-05/0.8493, allocations: 9.188 kB / 1.14 GB, free: 23.6 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.8493, allocations: 4 kB / 1.14 GB, free: 23.6 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/0.8493, allocations: 1.234 kB / 1.14 GB, free: 23.6 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.8493, allocations: 8.484 kB / 1.14 GB, free: 23.59 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001975/0.8513, allocations: 1.087 MB / 1.141 GB, free: 22.61 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.8513, allocations: 2.906 kB / 1.141 GB, free: 22.61 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007428/0.8521, allocations: 126.2 kB / 1.141 GB, free: 22.54 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/0.8521, allocations: 4.938 kB / 1.141 GB, free: 22.54 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.9e-05/0.8521, allocations: 25.94 kB / 1.141 GB, free: 22.53 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.8522, allocations: 0.6094 kB / 1.141 GB, free: 22.53 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.8522, allocations: 0.5625 kB / 1.141 GB, free: 22.53 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002043/0.8542, allocations: 0.8728 MB / 1.142 GB, free: 21.82 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001288/0.8544, allocations: 115 kB / 1.142 GB, free: 21.72 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.549e-05/0.8544, allocations: 4.734 kB / 1.142 GB, free: 21.71 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005894/0.855, allocations: 61.05 kB / 1.142 GB, free: 21.67 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.628e-05/0.8551, allocations: 28.02 kB / 1.142 GB, free: 21.66 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.868e-05/0.8552, allocations: 25.62 kB / 1.142 GB, free: 21.66 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.669e-05/0.8552, allocations: 81.48 kB / 1.142 GB, free: 21.58 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.01e-07/0.8552, allocations: 0 / 1.142 GB, free: 21.58 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003706/0.8556, allocations: 64.69 kB / 1.143 GB, free: 21.52 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_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 (11): * Single equations (assignments): 11 * 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.0001867/0.8558, allocations: 125.8 kB / 1.143 GB, free: 21.39 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001289/0.8571, allocations: 470.1 kB / 1.143 GB, free: 21.05 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.8571, allocations: 4 kB / 1.143 GB, free: 21.04 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0006384/0.8577, allocations: 245.8 kB / 1.143 GB, free: 20.87 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003331/0.8581, allocations: 11.19 kB / 1.143 GB, free: 20.86 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003795/0.8619, allocations: 0.8701 MB / 1.144 GB, free: 20.24 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001126/0.862, allocations: 0.6963 MB / 1.145 GB, free: 19.52 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0006684/0.8627, allocations: 91.44 kB / 1.145 GB, free: 19.44 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002557/0.863, allocations: 54.69 kB / 1.145 GB, free: 19.42 MB / 0.7292 GB Notification: Performance of SimCode: time 2.61e-07/0.863, allocations: 3.938 kB / 1.145 GB, free: 19.41 MB / 0.7292 GB Notification: Performance of Templates: time 0.005927/0.8689, allocations: 3.264 MB / 1.148 GB, free: 17.7 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1)