Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck") translateModel(Buildings.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.69/1.69, allocations: 297.8 MB / 313.7 MB, free: 140 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00104/0.00104, allocations: 184.5 kB / 384.6 MB, free: 10.87 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.542/1.542, allocations: 223.2 MB / 0.6626 GB, free: 4.262 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009049/0.0009048, allocations: 95.22 kB / 0.7808 GB, free: 50.12 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004082/0.0004084, allocations: 11.94 kB / 0.9088 GB, free: 2.902 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8688/0.8692, allocations: 120.3 MB / 1.026 GB, free: 55.86 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.833/4.703, allocations: 1.737 GB / 2.763 GB, free: 120.2 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003757/4.703, allocations: 75.97 kB / 2.763 GB, free: 120.1 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 0.05904/4.762, allocations: 29.76 MB / 2.792 GB, free: 90.56 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.994e-06/4.762, allocations: 0 / 2.792 GB, free: 90.56 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 9.858e-06/4.762, allocations: 0 / 2.792 GB, free: 90.56 MB / 0.9792 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004217/4.763, allocations: 379.5 kB / 2.792 GB, free: 90.14 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/4.763, allocations: 12.03 kB / 2.792 GB, free: 90.12 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000389/4.763, allocations: 37.42 kB / 2.792 GB, free: 90.09 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.973e-05/4.763, allocations: 168.3 kB / 2.793 GB, free: 89.89 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.742e-05/4.763, allocations: 8.375 kB / 2.793 GB, free: 89.88 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.65e-05/4.763, allocations: 8.312 kB / 2.793 GB, free: 89.87 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001635/4.763, allocations: 74.97 kB / 2.793 GB, free: 89.79 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/4.763, allocations: 4.125 kB / 2.793 GB, free: 89.79 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.815e-05/4.763, allocations: 11.94 kB / 2.793 GB, free: 89.78 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/4.763, allocations: 0 / 2.793 GB, free: 89.78 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.224e-05/4.764, allocations: 35.97 kB / 2.793 GB, free: 89.74 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002116/4.764, allocations: 195 kB / 2.793 GB, free: 89.5 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001446/4.764, allocations: 78.61 kB / 2.793 GB, free: 89.42 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.595e-05/4.764, allocations: 36.88 kB / 2.793 GB, free: 89.38 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001995/4.764, allocations: 178.2 kB / 2.793 GB, free: 89.17 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.667e-05/4.764, allocations: 38.56 kB / 2.793 GB, free: 89.12 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=12): time 1.813e-06/4.764, allocations: 0 / 2.793 GB, free: 89.12 MB / 0.9792 GB Notification: Performance of matching and sorting (n=19): time 0.001188/4.765, allocations: 0.5414 MB / 2.794 GB, free: 88.53 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.744e-05/4.765, allocations: 55.41 kB / 2.794 GB, free: 88.46 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.866e-05/4.766, allocations: 97.86 kB / 2.794 GB, free: 88.36 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 1.821e-05/4.766, allocations: 29.7 kB / 2.794 GB, free: 88.32 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 1.664e-05/4.766, allocations: 84.45 kB / 2.794 GB, free: 88.23 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 4.969e-05/4.766, allocations: 67 kB / 2.794 GB, free: 88.17 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.622e-06/4.766, allocations: 4 kB / 2.794 GB, free: 88.16 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 5.864e-05/4.766, allocations: 327.6 kB / 2.794 GB, free: 87.84 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.626e-05/4.766, allocations: 36.11 kB / 2.794 GB, free: 87.8 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.359e-05/4.766, allocations: 72.62 kB / 2.794 GB, free: 87.72 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001516/4.766, allocations: 112 kB / 2.795 GB, free: 87.6 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/4.766, allocations: 3.938 kB / 2.795 GB, free: 87.6 MB / 0.9792 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001977/4.766, allocations: 153.5 kB / 2.795 GB, free: 87.44 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/4.766, allocations: 4.781 kB / 2.795 GB, free: 87.44 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/4.766, allocations: 0 / 2.795 GB, free: 87.44 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/4.766, allocations: 8 kB / 2.795 GB, free: 87.43 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001592/4.766, allocations: 45.36 kB / 2.795 GB, free: 87.39 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/4.766, allocations: 3.984 kB / 2.795 GB, free: 87.38 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.282e-05/4.766, allocations: 8 kB / 2.795 GB, free: 87.38 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.906e-06/4.767, allocations: 4 kB / 2.795 GB, free: 87.37 MB / 0.9792 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (24): * Single equations (assignments): 24 * 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 7.583e-05/4.767, allocations: 125.7 kB / 2.795 GB, free: 87.24 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.997e-05/4.767, allocations: 8.656 kB / 2.795 GB, free: 87.23 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.832e-05/4.767, allocations: 20.44 kB / 2.795 GB, free: 87.21 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/4.767, allocations: 4 kB / 2.795 GB, free: 87.21 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/4.767, allocations: 0 / 2.795 GB, free: 87.21 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/4.767, allocations: 0 / 2.795 GB, free: 87.21 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001258/4.767, allocations: 198.8 kB / 2.795 GB, free: 86.96 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/4.767, allocations: 2.312 kB / 2.795 GB, free: 86.96 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001823/4.767, allocations: 43.97 kB / 2.795 GB, free: 86.92 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/4.767, allocations: 0 / 2.795 GB, free: 86.92 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.278e-05/4.767, allocations: 4 kB / 2.795 GB, free: 86.92 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/4.767, allocations: 1.094 kB / 2.795 GB, free: 86.92 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/4.767, allocations: 0 / 2.795 GB, free: 86.92 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002625/4.767, allocations: 222 kB / 2.795 GB, free: 86.69 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 5.928e-05/4.767, allocations: 89 kB / 2.795 GB, free: 86.58 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.061e-05/4.767, allocations: 4.062 kB / 2.795 GB, free: 86.58 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001008/4.768, allocations: 8 kB / 2.795 GB, free: 86.57 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.952e-05/4.768, allocations: 11.98 kB / 2.795 GB, free: 86.56 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.858e-06/4.768, allocations: 4 kB / 2.795 GB, free: 86.55 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 3.519e-05/4.768, allocations: 81.06 kB / 2.796 GB, free: 86.48 MB / 0.9792 GB Notification: Performance of sort global known variables: time 3.3e-07/4.768, allocations: 8.031 kB / 2.796 GB, free: 86.47 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0003499/4.768, allocations: 63.98 kB / 2.796 GB, free: 86.41 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (hLiqSym,hSteSym,hAirSym,cpSym,cvSym) * 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 (19): * Single equations (assignments): 19 * 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.0006839/4.769, allocations: 0.5497 MB / 2.796 GB, free: 85.86 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0002177/4.769, allocations: 101.6 kB / 2.796 GB, free: 85.76 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/4.769, allocations: 0 / 2.796 GB, free: 85.76 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 6.095e-05/4.769, allocations: 57.59 kB / 2.796 GB, free: 85.71 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002165/4.769, allocations: 21.23 kB / 2.796 GB, free: 85.69 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007665/4.77, allocations: 0.6105 MB / 2.797 GB, free: 85.06 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001726/4.77, allocations: 0.7011 MB / 2.798 GB, free: 84.33 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0001399/4.77, allocations: 24.62 kB / 2.798 GB, free: 84.3 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.18e-05/4.77, allocations: 15.44 kB / 2.798 GB, free: 84.29 MB / 0.9792 GB Notification: Performance of SimCode: time 2.3e-07/4.77, allocations: 1.031 kB / 2.798 GB, free: 84.29 MB / 0.9792 GB Notification: Performance of Templates: time 0.01083/4.781, allocations: 8.176 MB / 2.806 GB, free: 76.17 MB / 0.9792 GB make -j1 -f Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.makefile (rm -f Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.sim & ./Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.pipe 2>&1)