Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Media.Examples.AirDerivativeCheck.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.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Media.Examples.AirDerivativeCheck") translateModel(Buildings.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Media.Examples.AirDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.801/1.801, allocations: 288.4 MB / 303.4 MB, free: 8.227 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.001061/0.001061, allocations: 190.2 kB / 372 MB, free: 10.27 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.609/1.609, allocations: 205.4 MB / 0.6307 GB, free: 9.992 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.0007516/0.0007515, allocations: 98.27 kB / 0.7441 GB, free: 5.902 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004418/0.000442, allocations: 11.38 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2241/0.2246, allocations: 115.3 MB / 0.9796 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.001613/0.2262, allocations: 1.041 MB / 0.9806 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.7329/0.9592, allocations: 134.5 MB / 1.112 GB, free: 2.602 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.965e-05/0.9593, allocations: 3.938 kB / 1.112 GB, free: 2.598 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 4.854e-05/0.9594, allocations: 2.016 kB / 1.112 GB, free: 2.598 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.0001206/0.9595, allocations: 13.58 kB / 1.112 GB, free: 2.594 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.000916/0.9604, allocations: 225.5 kB / 1.112 GB, free: 2.539 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.000144/0.9606, allocations: 74.97 kB / 1.112 GB, free: 2.527 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 5.329e-05/0.9606, allocations: 2.156 kB / 1.112 GB, free: 2.527 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 6.719e-05/0.9607, allocations: 33.91 kB / 1.112 GB, free: 2.523 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001246/0.9608, allocations: 28.91 kB / 1.112 GB, free: 2.52 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 2.091e-05/0.9609, allocations: 4.25 kB / 1.112 GB, free: 2.52 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007592/0.9616, allocations: 253.4 kB / 1.113 GB, free: 2.48 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 5.161e-05/0.9617, allocations: 14.42 kB / 1.113 GB, free: 2.48 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 3.598e-05/0.9617, allocations: 39.91 kB / 1.113 GB, free: 2.445 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.0002425/0.962, allocations: 103.1 kB / 1.113 GB, free: 2.434 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.962, allocations: 0.75 kB / 1.113 GB, free: 2.434 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.335e-06/0.962, allocations: 1.188 kB / 1.113 GB, free: 2.434 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.962, allocations: 3.938 kB / 1.113 GB, free: 2.43 MB / 0.6823 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.0006028/0.9626, allocations: 370.8 kB / 1.113 GB, free: 18.06 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5e-05/0.9627, allocations: 13.8 kB / 1.113 GB, free: 18.05 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004373/0.9631, allocations: 37.83 kB / 1.113 GB, free: 18.05 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001073/0.9633, allocations: 166.3 kB / 1.113 GB, free: 17.85 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.964e-05/0.9633, allocations: 8.281 kB / 1.113 GB, free: 17.85 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.628e-05/0.9633, allocations: 13.12 kB / 1.113 GB, free: 17.85 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002012/0.9635, allocations: 72.64 kB / 1.113 GB, free: 17.82 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.9635, allocations: 0 / 1.113 GB, free: 17.82 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.698e-05/0.9636, allocations: 3.625 kB / 1.113 GB, free: 17.82 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.9636, allocations: 1.531 kB / 1.113 GB, free: 17.82 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001207/0.9637, allocations: 54.39 kB / 1.113 GB, free: 17.81 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002202/0.9639, allocations: 185.3 kB / 1.114 GB, free: 17.62 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001945/0.9641, allocations: 93.19 kB / 1.114 GB, free: 17.59 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.339e-05/0.9642, allocations: 36.42 kB / 1.114 GB, free: 17.58 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000246/0.9645, allocations: 173.2 kB / 1.114 GB, free: 17.39 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.373e-05/0.9645, allocations: 40.81 kB / 1.114 GB, free: 17.35 MB / 0.698 GB Notification: Performance of pre-optimization done (n=12): time 1.213e-06/0.9645, allocations: 4 kB / 1.114 GB, free: 17.34 MB / 0.698 GB Notification: Performance of matching and sorting (n=19): time 0.001404/0.9659, allocations: 0.5317 MB / 1.114 GB, free: 17.08 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.552e-05/0.966, allocations: 53.53 kB / 1.114 GB, free: 17.02 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.011e-05/0.9661, allocations: 105.6 kB / 1.115 GB, free: 16.91 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.176e-05/0.9661, allocations: 32.98 kB / 1.115 GB, free: 16.88 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.98e-05/0.9662, allocations: 81.48 kB / 1.115 GB, free: 16.8 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.204e-05/0.9662, allocations: 69.56 kB / 1.115 GB, free: 16.75 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.714e-06/0.9663, allocations: 4.562 kB / 1.115 GB, free: 16.75 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001227/0.9664, allocations: 319.1 kB / 1.115 GB, free: 16.44 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.826e-05/0.9665, allocations: 33.62 kB / 1.115 GB, free: 16.44 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001007/0.9666, allocations: 81.09 kB / 1.115 GB, free: 16.4 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.308e-05/0.9667, allocations: 44.86 kB / 1.115 GB, free: 16.4 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.9667, allocations: 3.156 kB / 1.115 GB, free: 16.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002386/0.9669, allocations: 152.4 kB / 1.115 GB, free: 16.36 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.9669, allocations: 5.594 kB / 1.115 GB, free: 16.36 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.967, allocations: 1.312 kB / 1.115 GB, free: 16.36 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.967, allocations: 1.844 kB / 1.115 GB, free: 16.36 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001837/0.9672, allocations: 41.55 kB / 1.115 GB, free: 16.36 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.457e-06/0.9672, allocations: 2.344 kB / 1.115 GB, free: 16.36 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.578e-05/0.9672, allocations: 14.95 kB / 1.115 GB, free: 16.35 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.402e-05/0.9673, allocations: 5.625 kB / 1.115 GB, free: 16.35 MB / 0.698 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 0.0001023/0.9674, allocations: 122.3 kB / 1.116 GB, free: 16.23 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.896e-05/0.9674, allocations: 8.516 kB / 1.116 GB, free: 16.23 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.875e-05/0.9675, allocations: 19.16 kB / 1.116 GB, free: 16.22 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.9675, allocations: 2.812 kB / 1.116 GB, free: 16.22 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.9675, allocations: 0 / 1.116 GB, free: 16.22 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.221e-06/0.9675, allocations: 1.031 kB / 1.116 GB, free: 16.22 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000166/0.9677, allocations: 202.7 kB / 1.116 GB, free: 16.02 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.9677, allocations: 0.6562 kB / 1.116 GB, free: 16.02 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002062/0.9679, allocations: 40.5 kB / 1.116 GB, free: 16.02 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.9679, allocations: 1.859 kB / 1.116 GB, free: 16.02 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.386e-05/0.9679, allocations: 4.969 kB / 1.116 GB, free: 16.02 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.9679, allocations: 1.25 kB / 1.116 GB, free: 16.02 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.9679, allocations: 1.984 kB / 1.116 GB, free: 16.02 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003215/0.9682, allocations: 205.4 kB / 1.116 GB, free: 15.95 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.223e-05/0.9683, allocations: 99.19 kB / 1.116 GB, free: 15.84 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.852e-05/0.9684, allocations: 5.188 kB / 1.116 GB, free: 15.84 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001245/0.9685, allocations: 9.109 kB / 1.116 GB, free: 15.84 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.974e-05/0.9685, allocations: 12 kB / 1.116 GB, free: 15.84 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.255e-05/0.9686, allocations: 4.672 kB / 1.116 GB, free: 15.84 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.856e-05/0.9686, allocations: 81.75 kB / 1.116 GB, free: 15.77 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9686, allocations: 0 / 1.116 GB, free: 15.77 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002111/0.9688, allocations: 25.27 kB / 1.116 GB, free: 15.77 MB / 0.698 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.0001619/0.969, allocations: 112.4 kB / 1.116 GB, free: 15.67 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002365/0.9692, allocations: 107.1 kB / 1.116 GB, free: 15.66 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.9692, allocations: 1.375 kB / 1.116 GB, free: 15.66 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 9.084e-05/0.9693, allocations: 51.06 kB / 1.116 GB, free: 15.66 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000267/0.9696, allocations: 16.28 kB / 1.116 GB, free: 15.66 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009908/0.9706, allocations: 0.6225 MB / 1.117 GB, free: 15.23 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002899/0.9709, allocations: 0.7031 MB / 1.118 GB, free: 14.53 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001377/0.9711, allocations: 23.58 kB / 1.118 GB, free: 14.52 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.274e-05/0.9711, allocations: 16.47 kB / 1.118 GB, free: 14.51 MB / 0.698 GB Notification: Performance of SimCode: time 1.512e-06/0.9711, allocations: 0 / 1.118 GB, free: 14.51 MB / 0.698 GB Notification: Performance of Templates: time 0.003803/0.9749, allocations: 1.017 MB / 1.119 GB, free: 14.43 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Media.Examples.AirDerivativeCheck.makefile (rm -f Buildings_maint.8.0.x_Buildings.Media.Examples.AirDerivativeCheck.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Media.Examples.AirDerivativeCheck.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Media.Examples.AirDerivativeCheck.sim & ./Buildings_maint.8.0.x_Buildings.Media.Examples.AirDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Media.Examples.AirDerivativeCheck.pipe 2>&1)