Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Media.Examples.AirDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Media.Examples.AirDerivativeCheck") translateModel(Buildings.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Media.Examples.AirDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 3.865/3.865, allocations: 251.1 MB / 266.7 MB, free: 11.64 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.003122/0.003122, allocations: 168.2 kB / 326.2 MB, free: 2.852 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.253/4.253, allocations: 205.4 MB / 0.5772 GB, free: 20.7 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001592/0.001592, allocations: 99.7 kB / 0.6817 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0008728/0.0008731, allocations: 12.66 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3391/0.34, allocations: 106.3 MB / 0.8995 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 11.25/11.59, allocations: 2.208 GB / 3.107 GB, free: 215.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003689/11.59, allocations: 76.33 kB / 3.107 GB, free: 215.8 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1641/11.76, allocations: 29.7 MB / 3.136 GB, free: 192.2 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.326e-06/11.76, allocations: 4 kB / 3.136 GB, free: 192.2 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.584e-06/11.76, allocations: 0 / 3.136 GB, free: 192.2 MB / 0.8698 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.0006498/11.76, allocations: 378.6 kB / 3.137 GB, free: 191.8 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.828e-05/11.76, allocations: 16.03 kB / 3.137 GB, free: 191.8 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008367/11.76, allocations: 36.8 kB / 3.137 GB, free: 191.7 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001243/11.76, allocations: 168.3 kB / 3.137 GB, free: 191.5 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.355e-05/11.76, allocations: 8.125 kB / 3.137 GB, free: 191.5 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.541e-05/11.76, allocations: 12.06 kB / 3.137 GB, free: 191.5 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002976/11.76, allocations: 73.39 kB / 3.137 GB, free: 191.4 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.573e-05/11.76, allocations: 192 / 3.137 GB, free: 191.4 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.263e-05/11.76, allocations: 3.938 kB / 3.137 GB, free: 191.4 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.736e-06/11.76, allocations: 4 kB / 3.137 GB, free: 191.4 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000174/11.76, allocations: 43.59 kB / 3.137 GB, free: 191.4 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003168/11.76, allocations: 191.3 kB / 3.137 GB, free: 191.2 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003082/11.76, allocations: 81.11 kB / 3.137 GB, free: 191.1 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.666e-05/11.76, allocations: 28.31 kB / 3.137 GB, free: 191.1 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003758/11.76, allocations: 185.9 kB / 3.137 GB, free: 190.9 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.827e-05/11.76, allocations: 30.56 kB / 3.138 GB, free: 190.8 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=12): time 4.689e-06/11.76, allocations: 0 / 3.138 GB, free: 190.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=19): time 0.002598/11.76, allocations: 0.5513 MB / 3.138 GB, free: 190.3 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.166e-05/11.76, allocations: 55.41 kB / 3.138 GB, free: 190.2 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.841e-05/11.76, allocations: 89.86 kB / 3.138 GB, free: 190.1 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.547e-05/11.76, allocations: 33.33 kB / 3.138 GB, free: 190.1 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 3.199e-05/11.76, allocations: 88.19 kB / 3.138 GB, free: 190 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 9.188e-05/11.76, allocations: 66.75 kB / 3.138 GB, free: 189.9 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.525e-05/11.76, allocations: 3.938 kB / 3.138 GB, free: 189.9 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.064e-05/11.76, allocations: 322.3 kB / 3.139 GB, free: 189.6 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001284/11.76, allocations: 34.98 kB / 3.139 GB, free: 189.6 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001697/11.76, allocations: 65.91 kB / 3.139 GB, free: 189.5 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001747/11.76, allocations: 57.47 kB / 3.139 GB, free: 189.5 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/11.76, allocations: 3.938 kB / 3.139 GB, free: 189.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000478/11.76, allocations: 151.8 kB / 3.139 GB, free: 189.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.41e-05/11.76, allocations: 4 kB / 3.139 GB, free: 189.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/11.76, allocations: 7.984 kB / 3.139 GB, free: 189.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.277e-05/11.76, allocations: 7.938 kB / 3.139 GB, free: 189.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004139/11.76, allocations: 39.92 kB / 3.139 GB, free: 189.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.472e-05/11.76, allocations: 4 kB / 3.139 GB, free: 189.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001476/11.76, allocations: 3.625 kB / 3.139 GB, free: 189.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.343e-05/11.76, allocations: 4 kB / 3.139 GB, free: 189.3 MB / 0.8698 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.0001592/11.76, allocations: 134.3 kB / 3.139 GB, free: 189.2 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.652e-05/11.76, allocations: 7.906 kB / 3.139 GB, free: 189.2 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.895e-05/11.77, allocations: 18.5 kB / 3.139 GB, free: 189.2 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/11.77, allocations: 0 / 3.139 GB, free: 189.2 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/11.77, allocations: 8 kB / 3.139 GB, free: 189.2 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.949e-06/11.77, allocations: 3.984 kB / 3.139 GB, free: 189.2 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002671/11.77, allocations: 200.1 kB / 3.139 GB, free: 188.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/11.77, allocations: 0 / 3.139 GB, free: 188.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000522/11.77, allocations: 31.98 kB / 3.139 GB, free: 188.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.446e-06/11.77, allocations: 4 kB / 3.139 GB, free: 188.9 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.469e-05/11.77, allocations: 3.375 kB / 3.139 GB, free: 188.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.548e-06/11.77, allocations: 0 / 3.139 GB, free: 188.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/11.77, allocations: 0 / 3.139 GB, free: 188.9 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001012/11.77, allocations: 217.2 kB / 3.14 GB, free: 188.7 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001264/11.77, allocations: 89.25 kB / 3.14 GB, free: 188.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.359e-05/11.77, allocations: 11.86 kB / 3.14 GB, free: 188.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000315/11.77, allocations: 11.5 kB / 3.14 GB, free: 188.6 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.584e-05/11.77, allocations: 7.984 kB / 3.14 GB, free: 188.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.148e-05/11.77, allocations: 7.688 kB / 3.14 GB, free: 188.6 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 4.234e-05/11.77, allocations: 83.27 kB / 3.14 GB, free: 188.5 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5.11e-07/11.77, allocations: 0 / 3.14 GB, free: 188.5 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0007552/11.77, allocations: 60.84 kB / 3.14 GB, free: 188.5 MB / 0.8698 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.001191/11.77, allocations: 0.5452 MB / 3.14 GB, free: 187.9 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0005079/11.77, allocations: 106 kB / 3.141 GB, free: 187.8 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 6.823e-06/11.77, allocations: 0 / 3.141 GB, free: 187.8 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.000155/11.77, allocations: 55.16 kB / 3.141 GB, free: 187.8 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004678/11.77, allocations: 16.62 kB / 3.141 GB, free: 187.8 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001542/11.77, allocations: 0.6191 MB / 3.141 GB, free: 187.2 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002203/11.77, allocations: 0.6972 MB / 3.142 GB, free: 186.4 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0003313/11.77, allocations: 28.56 kB / 3.142 GB, free: 186.4 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.478e-05/11.77, allocations: 15.44 kB / 3.142 GB, free: 186.4 MB / 0.8698 GB Notification: Performance of SimCode: time 1.383e-06/11.77, allocations: 0 / 3.142 GB, free: 186.4 MB / 0.8698 GB Notification: Performance of Templates: time 0.02636/11.8, allocations: 8.14 MB / 3.15 GB, free: 178.2 MB / 0.8698 GB make -j1 -f Buildings_7.0.0_Buildings.Media.Examples.AirDerivativeCheck.makefile (rm -f Buildings_7.0.0_Buildings.Media.Examples.AirDerivativeCheck.pipe ; mkfifo Buildings_7.0.0_Buildings.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Media.Examples.AirDerivativeCheck.pipe >> ../files/Buildings_7.0.0_Buildings.Media.Examples.AirDerivativeCheck.sim & ./Buildings_7.0.0_Buildings.Media.Examples.AirDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Media.Examples.AirDerivativeCheck.pipe 2>&1)