Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Media.Examples.AirDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Media.Examples.AirDerivativeCheck") translateModel(Buildings.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Media.Examples.AirDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007768/0.007768, allocations: 100.1 kB / 15.73 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00167/0.00167, allocations: 196.9 kB / 16.68 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.414/1.414, allocations: 205.1 MB / 222.5 MB, free: 4.492 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.588/1.588, allocations: 251.7 MB / 0.5094 GB, free: 3.094 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001564/0.001564, allocations: 73.77 kB / 0.7257 GB, free: 9.059 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2321/0.2336, allocations: 104.7 MB / 0.828 GB, free: 248 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.002991/0.2367, allocations: 1.326 MB / 0.8293 GB, free: 14.91 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.7307/0.9674, allocations: 148.1 MB / 0.9739 GB, free: 7.781 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.856e-05/0.9675, allocations: 1.188 kB / 0.9739 GB, free: 7.781 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 5.083e-05/0.9676, allocations: 6.281 kB / 0.9739 GB, free: 7.777 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001188/0.9677, allocations: 12.86 kB / 0.974 GB, free: 7.77 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001346/0.9691, allocations: 345.8 kB / 0.9743 GB, free: 7.645 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001389/0.9692, allocations: 65.12 kB / 0.9744 GB, free: 7.629 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.899e-05/0.9693, allocations: 3.094 kB / 0.9744 GB, free: 7.629 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 5.325e-05/0.9694, allocations: 31 kB / 0.9744 GB, free: 7.625 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001124/0.9695, allocations: 34.16 kB / 0.9744 GB, free: 7.613 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.572e-05/0.9695, allocations: 5.875 kB / 0.9744 GB, free: 7.613 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009651/0.9705, allocations: 418.7 kB / 0.9748 GB, free: 7.504 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 6.724e-05/0.9706, allocations: 13.77 kB / 0.9748 GB, free: 7.504 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 6.11e-05/0.9706, allocations: 31.17 kB / 0.9749 GB, free: 7.492 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003853/0.971, allocations: 156 kB / 0.975 GB, free: 7.461 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.804e-06/0.971, allocations: 0.9062 kB / 0.975 GB, free: 7.461 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.404e-06/0.971, allocations: 0 / 0.975 GB, free: 7.461 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.065e-06/0.9711, allocations: 0 / 0.975 GB, free: 7.461 MB / 0.7325 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.0005952/0.9717, allocations: 388.5 kB / 0.9754 GB, free: 7.09 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.9717, allocations: 13.41 kB / 0.9754 GB, free: 7.086 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000464/0.9722, allocations: 38.61 kB / 0.9754 GB, free: 7.082 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001295/0.9723, allocations: 165.4 kB / 0.9756 GB, free: 6.887 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.822e-05/0.9723, allocations: 6.438 kB / 0.9756 GB, free: 6.883 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.425e-05/0.9724, allocations: 8.281 kB / 0.9756 GB, free: 6.883 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002022/0.9726, allocations: 80.89 kB / 0.9757 GB, free: 6.848 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.9726, allocations: 3.984 kB / 0.9757 GB, free: 6.844 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.739e-05/0.9726, allocations: 1.125 kB / 0.9757 GB, free: 6.844 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.746e-06/0.9727, allocations: 2 kB / 0.9757 GB, free: 6.844 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001044/0.9728, allocations: 50.66 kB / 0.9757 GB, free: 6.84 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002267/0.973, allocations: 187.8 kB / 0.9759 GB, free: 6.645 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000202/0.9732, allocations: 96.33 kB / 0.976 GB, free: 6.609 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.929e-05/0.9733, allocations: 35.5 kB / 0.976 GB, free: 6.602 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002725/0.9736, allocations: 176.4 kB / 0.9762 GB, free: 6.41 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.543e-05/0.9736, allocations: 41.25 kB / 0.9763 GB, free: 6.367 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=12): time 1.202e-06/0.9736, allocations: 0 / 0.9763 GB, free: 6.367 MB / 0.7325 GB Notification: Performance of matching and sorting (n=19): time 0.001475/0.9751, allocations: 0.5368 MB / 0.9768 GB, free: 6.094 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.896e-05/0.9752, allocations: 54.12 kB / 0.9768 GB, free: 6.031 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001014/0.9753, allocations: 97.5 kB / 0.9769 GB, free: 5.934 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.473e-05/0.9753, allocations: 30.95 kB / 0.977 GB, free: 5.902 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.03e-05/0.9753, allocations: 81.48 kB / 0.977 GB, free: 5.82 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 7.336e-05/0.9754, allocations: 78.95 kB / 0.9771 GB, free: 5.766 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.068e-05/0.9755, allocations: 40.02 kB / 0.9771 GB, free: 5.75 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001147/0.9756, allocations: 328 kB / 0.9775 GB, free: 5.43 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.383e-05/0.9757, allocations: 37.06 kB / 0.9775 GB, free: 5.43 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.471e-05/0.9758, allocations: 65.42 kB / 0.9776 GB, free: 5.398 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001716/0.976, allocations: 115.4 kB / 0.9777 GB, free: 5.363 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.203e-06/0.976, allocations: 0 / 0.9777 GB, free: 5.363 MB / 0.7325 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002489/0.9762, allocations: 155.5 kB / 0.9778 GB, free: 5.32 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/0.9763, allocations: 6.25 kB / 0.9778 GB, free: 5.32 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.9763, allocations: 4 kB / 0.9778 GB, free: 5.316 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/0.9763, allocations: 2.438 kB / 0.9778 GB, free: 5.316 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001862/0.9765, allocations: 42.78 kB / 0.9779 GB, free: 5.312 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/0.9765, allocations: 1.406 kB / 0.9779 GB, free: 5.312 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.145e-05/0.9766, allocations: 12.61 kB / 0.9779 GB, free: 5.309 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.453e-05/0.9766, allocations: 8.469 kB / 0.9779 GB, free: 5.309 MB / 0.7325 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 0.0001089/0.9767, allocations: 121.8 kB / 0.978 GB, free: 5.191 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.38e-05/0.9767, allocations: 9.156 kB / 0.978 GB, free: 5.188 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.755e-05/0.9768, allocations: 20.38 kB / 0.978 GB, free: 5.18 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.9768, allocations: 1.094 kB / 0.978 GB, free: 5.18 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.9768, allocations: 1.031 kB / 0.978 GB, free: 5.18 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.003e-05/0.9768, allocations: 5.953 kB / 0.978 GB, free: 5.176 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002344/0.9771, allocations: 194.1 kB / 0.9782 GB, free: 4.984 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.9771, allocations: 0 / 0.9782 GB, free: 4.984 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002197/0.9773, allocations: 35.25 kB / 0.9783 GB, free: 4.984 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.9773, allocations: 5.094 kB / 0.9783 GB, free: 4.98 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.262e-05/0.9773, allocations: 6.828 kB / 0.9783 GB, free: 4.98 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.9773, allocations: 3.656 kB / 0.9783 GB, free: 4.98 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.9774, allocations: 3.938 kB / 0.9783 GB, free: 4.977 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000409/0.9778, allocations: 215.4 kB / 0.9785 GB, free: 4.895 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001043/0.9779, allocations: 95.02 kB / 0.9786 GB, free: 4.797 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.208e-05/0.9779, allocations: 2.594 kB / 0.9786 GB, free: 4.797 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001199/0.978, allocations: 8.125 kB / 0.9786 GB, free: 4.797 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.928e-05/0.9781, allocations: 8.391 kB / 0.9786 GB, free: 4.797 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.212e-05/0.9781, allocations: 13.42 kB / 0.9786 GB, free: 4.793 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.19e-05/0.9782, allocations: 81.44 kB / 0.9787 GB, free: 4.715 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9782, allocations: 3.938 kB / 0.9787 GB, free: 4.711 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002728/0.9785, allocations: 29.12 kB / 0.9787 GB, free: 4.711 MB / 0.7325 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.0002354/0.9787, allocations: 108.8 kB / 0.9788 GB, free: 4.617 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003041/0.979, allocations: 105.7 kB / 0.9789 GB, free: 4.609 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.979, allocations: 0 / 0.9789 GB, free: 4.609 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000114/0.9792, allocations: 55.55 kB / 0.979 GB, free: 4.605 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004039/0.9796, allocations: 14.38 kB / 0.979 GB, free: 4.602 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00111/0.9807, allocations: 0.5028 MB / 0.9795 GB, free: 4.238 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003695/0.9811, allocations: 0.6981 MB / 0.9802 GB, free: 3.543 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001237/0.9812, allocations: 28.17 kB / 0.9802 GB, free: 3.531 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.209e-05/0.9813, allocations: 17.42 kB / 0.9802 GB, free: 3.523 MB / 0.7325 GB Notification: Performance of SimCode: time 2.3e-07/0.9813, allocations: 3.938 kB / 0.9802 GB, free: 3.52 MB / 0.7325 GB Notification: Performance of Templates: time 0.005124/0.9864, allocations: 1.14 MB / 0.9813 GB, free: 3.41 MB / 0.7325 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Media.Examples.AirDerivativeCheck.makefile (rm -f Buildings_maint.7.0.x_Buildings.Media.Examples.AirDerivativeCheck.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Examples.AirDerivativeCheck.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Examples.AirDerivativeCheck.sim & ./Buildings_maint.7.0.x_Buildings.Media.Examples.AirDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Media.Examples.AirDerivativeCheck.pipe 2>&1)