Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Media.Examples.AirDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-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.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Examples.AirDerivativeCheck") translateModel(Buildings.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Examples.AirDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.702/1.702, allocations: 292.3 MB / 308.1 MB, free: 4.289 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.00137/0.00137, allocations: 193.5 kB / 376.9 MB, free: 1.793 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.57/1.57, allocations: 205 MB / 0.6354 GB, free: 9.785 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.001273/0.001273, allocations: 100.1 kB / 0.748 GB, free: 61.12 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001289/0.001289, allocations: 51.92 kB / 0.8703 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2736/0.2749, allocations: 114.5 MB / 0.9822 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.00315/0.2781, allocations: 1.391 MB / 0.9836 GB, free: 8.984 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.6879/0.966, allocations: 145.8 MB / 1.126 GB, free: 11.03 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.81e-05/0.9661, allocations: 0.5625 kB / 1.126 GB, free: 11.03 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 5.031e-05/0.9662, allocations: 0 / 1.126 GB, free: 11.03 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001104/0.9664, allocations: 18.81 kB / 1.126 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008475/0.9672, allocations: 304.8 kB / 1.126 GB, free: 10.87 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001064/0.9673, allocations: 83.67 kB / 1.126 GB, free: 10.85 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 5.11e-05/0.9674, allocations: 3.094 kB / 1.126 GB, free: 10.85 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 4.529e-05/0.9674, allocations: 32.41 kB / 1.126 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 9.619e-05/0.9675, allocations: 32.17 kB / 1.126 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.508e-05/0.9676, allocations: 3.25 kB / 1.126 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008452/0.9684, allocations: 0.4899 MB / 1.127 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 6.377e-05/0.9685, allocations: 21.62 kB / 1.127 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.408e-05/0.9685, allocations: 24.97 kB / 1.127 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003192/0.9689, allocations: 192.3 kB / 1.127 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.9689, allocations: 0 / 1.127 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.82e-07/0.9689, allocations: 3.125 kB / 1.127 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.9689, allocations: 0.6562 kB / 1.127 GB, free: 10.55 MB / 0.7448 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.0004436/0.9693, allocations: 388.8 kB / 1.127 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.9694, allocations: 9.812 kB / 1.127 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003876/0.9698, allocations: 35.89 kB / 1.128 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.37e-05/0.9699, allocations: 168.3 kB / 1.128 GB, free: 9.961 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.061e-05/0.9699, allocations: 15 kB / 1.128 GB, free: 9.949 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.49e-05/0.97, allocations: 14.12 kB / 1.128 GB, free: 9.941 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001945/0.9702, allocations: 75.44 kB / 1.128 GB, free: 9.898 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.9702, allocations: 0 / 1.128 GB, free: 9.898 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.598e-05/0.9702, allocations: 4 kB / 1.128 GB, free: 9.895 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.195e-06/0.9702, allocations: 6.594 kB / 1.128 GB, free: 9.895 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.914e-05/0.9703, allocations: 43.94 kB / 1.128 GB, free: 9.887 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002092/0.9705, allocations: 191.4 kB / 1.128 GB, free: 9.676 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001834/0.9707, allocations: 91.33 kB / 1.128 GB, free: 9.629 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.809e-05/0.9708, allocations: 30.97 kB / 1.128 GB, free: 9.617 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002544/0.9711, allocations: 176.9 kB / 1.128 GB, free: 9.426 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.637e-05/0.9711, allocations: 38.92 kB / 1.128 GB, free: 9.383 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=12): time 1.342e-06/0.9711, allocations: 1.031 kB / 1.128 GB, free: 9.383 MB / 0.7448 GB Notification: Performance of matching and sorting (n=19): time 0.001314/0.9724, allocations: 0.5482 MB / 1.129 GB, free: 9.027 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.581e-05/0.9725, allocations: 54.59 kB / 1.129 GB, free: 8.965 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.032e-05/0.9725, allocations: 101 kB / 1.129 GB, free: 8.859 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.653e-05/0.9726, allocations: 32.89 kB / 1.129 GB, free: 8.824 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 2.377e-05/0.9726, allocations: 80.52 kB / 1.129 GB, free: 8.742 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 6.001e-05/0.9727, allocations: 67.88 kB / 1.129 GB, free: 8.688 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.21e-05/0.9727, allocations: 37.27 kB / 1.129 GB, free: 8.66 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.717e-05/0.9728, allocations: 325.1 kB / 1.13 GB, free: 8.34 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.95e-05/0.9729, allocations: 37.7 kB / 1.13 GB, free: 8.332 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.445e-05/0.9729, allocations: 73.11 kB / 1.13 GB, free: 8.281 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000134/0.9731, allocations: 116.3 kB / 1.13 GB, free: 8.215 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.9731, allocations: 0 / 1.13 GB, free: 8.215 MB / 0.7448 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001955/0.9733, allocations: 153.1 kB / 1.13 GB, free: 8.141 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.9733, allocations: 6.562 kB / 1.13 GB, free: 8.141 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.9733, allocations: 0 / 1.13 GB, free: 8.141 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.841e-05/0.9734, allocations: 3.25 kB / 1.13 GB, free: 8.141 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001599/0.9735, allocations: 45.61 kB / 1.13 GB, free: 8.129 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.161e-05/0.9735, allocations: 7.297 kB / 1.13 GB, free: 8.129 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.47e-05/0.9736, allocations: 5.625 kB / 1.13 GB, free: 8.125 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.251e-05/0.9736, allocations: 10.75 kB / 1.13 GB, free: 8.121 MB / 0.7448 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.661e-05/0.9737, allocations: 125 kB / 1.13 GB, free: 7.992 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.138e-05/0.9737, allocations: 10.62 kB / 1.13 GB, free: 7.988 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.717e-05/0.9738, allocations: 16.44 kB / 1.13 GB, free: 7.977 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.9738, allocations: 0 / 1.13 GB, free: 7.977 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/0.9738, allocations: 3.281 kB / 1.13 GB, free: 7.977 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.256e-06/0.9738, allocations: 11.45 kB / 1.13 GB, free: 7.969 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001456/0.974, allocations: 188.4 kB / 1.13 GB, free: 7.766 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.974, allocations: 0 / 1.13 GB, free: 7.766 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001896/0.9742, allocations: 45.14 kB / 1.13 GB, free: 7.758 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.9742, allocations: 0 / 1.13 GB, free: 7.758 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.664e-05/0.9742, allocations: 4.156 kB / 1.13 GB, free: 7.758 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.9742, allocations: 0 / 1.13 GB, free: 7.758 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.9742, allocations: 0 / 1.13 GB, free: 7.758 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001256/0.9755, allocations: 1.356 MB / 1.132 GB, free: 6.617 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.356e-05/0.9756, allocations: 98.91 kB / 1.132 GB, free: 6.512 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.256e-05/0.9756, allocations: 4.062 kB / 1.132 GB, free: 6.508 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001253/0.9757, allocations: 11.52 kB / 1.132 GB, free: 6.504 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.401e-05/0.9758, allocations: 9.469 kB / 1.132 GB, free: 6.504 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.146e-05/0.9758, allocations: 3.125 kB / 1.132 GB, free: 6.504 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.611e-05/0.9758, allocations: 82.34 kB / 1.132 GB, free: 6.426 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9758, allocations: 0 / 1.132 GB, free: 6.426 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002852/0.9761, allocations: 29.41 kB / 1.132 GB, free: 6.422 MB / 0.7448 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000157/0.9763, allocations: 117.1 kB / 1.132 GB, free: 6.324 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002489/0.9765, allocations: 106.1 kB / 1.132 GB, free: 6.297 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.9766, allocations: 0 / 1.132 GB, free: 6.297 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.889e-05/0.9766, allocations: 58.3 kB / 1.132 GB, free: 6.281 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003098/0.9769, allocations: 21.31 kB / 1.132 GB, free: 6.273 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009315/0.9779, allocations: 0.7051 MB / 1.133 GB, free: 5.719 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002153/0.9781, allocations: 0.7029 MB / 1.134 GB, free: 5.023 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.00013/0.9782, allocations: 28.8 kB / 1.134 GB, free: 5.012 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.989e-05/0.9783, allocations: 17.34 kB / 1.134 GB, free: 5.008 MB / 0.7448 GB Notification: Performance of SimCode: time 7.01e-07/0.9783, allocations: 0 / 1.134 GB, free: 5.008 MB / 0.7448 GB Notification: Performance of Templates: time 0.003567/0.9819, allocations: 1.152 MB / 1.135 GB, free: 4.93 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Media.Examples.AirDerivativeCheck.makefile (rm -f Buildings_8_Buildings.Media.Examples.AirDerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Examples.AirDerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Media.Examples.AirDerivativeCheck.sim & ./Buildings_8_Buildings.Media.Examples.AirDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Media.Examples.AirDerivativeCheck.pipe 2>&1)