Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck") translateModel(BuildingSystems.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8145/0.8145, allocations: 143.4 MB / 158.3 MB, free: 5.781 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001211/0.001211, allocations: 186.6 kB / 191.5 MB, free: 5.766 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.55/1.55, allocations: 223.2 MB / 447.7 MB, free: 4.805 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001073/0.001073, allocations: 92.27 kB / 0.5188 GB, free: 1.164 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002043/0.002043, allocations: 268.7 kB / 0.6005 GB, free: 48.75 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004315/0.0004315, allocations: 11.56 kB / 0.6929 GB, free: 59.6 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1948/0.1953, allocations: 82.79 MB / 0.7737 GB, free: 13.86 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.466/4.662, allocations: 1.705 GB / 2.478 GB, free: 96.96 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002699/4.662, allocations: 73.22 kB / 2.479 GB, free: 96.9 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.05785/4.72, allocations: 29.77 MB / 2.508 GB, free: 66.91 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.716e-06/4.72, allocations: 0 / 2.508 GB, free: 66.91 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.208e-06/4.72, allocations: 4 kB / 2.508 GB, free: 66.91 MB / 0.7136 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.0005092/4.72, allocations: 371.8 kB / 2.508 GB, free: 66.5 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.485e-05/4.721, allocations: 12.03 kB / 2.508 GB, free: 66.48 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000366/4.721, allocations: 39.88 kB / 2.508 GB, free: 66.45 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001011/4.721, allocations: 174.9 kB / 2.508 GB, free: 66.23 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.008e-05/4.721, allocations: 4 kB / 2.508 GB, free: 66.23 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.513e-05/4.721, allocations: 8 kB / 2.508 GB, free: 66.22 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001956/4.721, allocations: 75.3 kB / 2.508 GB, free: 66.14 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/4.721, allocations: 0 / 2.508 GB, free: 66.14 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.897e-05/4.721, allocations: 7.938 kB / 2.508 GB, free: 66.14 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.642e-06/4.721, allocations: 0 / 2.508 GB, free: 66.14 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.802e-05/4.721, allocations: 47.89 kB / 2.508 GB, free: 66.09 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002197/4.722, allocations: 185.5 kB / 2.508 GB, free: 65.86 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001593/4.722, allocations: 86.62 kB / 2.509 GB, free: 65.77 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002245/4.722, allocations: 178.2 kB / 2.509 GB, free: 65.55 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.651e-05/4.722, allocations: 38.56 kB / 2.509 GB, free: 65.51 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=12): time 1.092e-06/4.722, allocations: 0 / 2.509 GB, free: 65.51 MB / 0.7136 GB Notification: Performance of matching and sorting (n=19): time 0.001251/4.723, allocations: 0.5418 MB / 2.509 GB, free: 64.92 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.684e-05/4.723, allocations: 59.41 kB / 2.509 GB, free: 64.85 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.169e-05/4.723, allocations: 89 kB / 2.509 GB, free: 64.75 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.727e-05/4.724, allocations: 33.7 kB / 2.509 GB, free: 64.71 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.425e-05/4.724, allocations: 80.52 kB / 2.51 GB, free: 64.63 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.877e-05/4.724, allocations: 67 kB / 2.51 GB, free: 64.56 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.893e-06/4.724, allocations: 4 kB / 2.51 GB, free: 64.56 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.608e-05/4.724, allocations: 322.8 kB / 2.51 GB, free: 64.23 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.395e-05/4.724, allocations: 35.97 kB / 2.51 GB, free: 64.2 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.893e-05/4.724, allocations: 77.34 kB / 2.51 GB, free: 64.11 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.432e-05/4.724, allocations: 40 kB / 2.51 GB, free: 64.07 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/4.724, allocations: 0 / 2.51 GB, free: 64.07 MB / 0.7136 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001883/4.724, allocations: 157.4 kB / 2.51 GB, free: 63.91 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/4.724, allocations: 4.938 kB / 2.51 GB, free: 63.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/4.724, allocations: 4 kB / 2.51 GB, free: 63.91 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/4.724, allocations: 0 / 2.51 GB, free: 63.91 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001643/4.724, allocations: 39.98 kB / 2.51 GB, free: 63.87 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/4.724, allocations: 7.938 kB / 2.51 GB, free: 63.86 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.122e-05/4.724, allocations: 4 kB / 2.51 GB, free: 63.86 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.131e-05/4.724, allocations: 8 kB / 2.51 GB, free: 63.85 MB / 0.7136 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 8.266e-05/4.724, allocations: 126.3 kB / 2.51 GB, free: 63.71 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.85e-05/4.725, allocations: 11.91 kB / 2.51 GB, free: 63.7 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.769e-05/4.725, allocations: 20.38 kB / 2.51 GB, free: 63.68 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/4.725, allocations: 0 / 2.51 GB, free: 63.68 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/4.725, allocations: 0 / 2.51 GB, free: 63.68 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/4.725, allocations: 8 kB / 2.51 GB, free: 63.68 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000138/4.725, allocations: 193.6 kB / 2.511 GB, free: 63.44 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/4.725, allocations: 4 kB / 2.511 GB, free: 63.43 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001814/4.725, allocations: 39.92 kB / 2.511 GB, free: 63.39 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/4.725, allocations: 0 / 2.511 GB, free: 63.39 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.288e-05/4.725, allocations: 7.984 kB / 2.511 GB, free: 63.39 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/4.725, allocations: 0 / 2.511 GB, free: 63.39 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/4.725, allocations: 0 / 2.511 GB, free: 63.39 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002753/4.725, allocations: 208.8 kB / 2.511 GB, free: 63.16 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.145e-05/4.725, allocations: 96.94 kB / 2.511 GB, free: 63.05 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.036e-05/4.725, allocations: 8.062 kB / 2.511 GB, free: 63.04 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000114/4.725, allocations: 7.984 kB / 2.511 GB, free: 63.04 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.724e-05/4.726, allocations: 15.97 kB / 2.511 GB, free: 63.02 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.059e-05/4.726, allocations: 4 kB / 2.511 GB, free: 63.02 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.763e-05/4.726, allocations: 79.28 kB / 2.511 GB, free: 62.94 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/4.726, allocations: 0 / 2.511 GB, free: 62.94 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003697/4.726, allocations: 63.98 kB / 2.511 GB, free: 62.88 MB / 0.7136 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.0007463/4.727, allocations: 0.5463 MB / 2.512 GB, free: 62.33 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001936/4.727, allocations: 109.8 kB / 2.512 GB, free: 62.22 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/4.727, allocations: 4 kB / 2.512 GB, free: 62.22 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.663e-05/4.727, allocations: 47.92 kB / 2.512 GB, free: 62.17 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001674/4.727, allocations: 11.98 kB / 2.512 GB, free: 62.16 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007605/4.728, allocations: 0.6089 MB / 2.512 GB, free: 61.52 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001545/4.728, allocations: 0.7127 MB / 2.513 GB, free: 60.78 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001229/4.728, allocations: 24.62 kB / 2.513 GB, free: 60.75 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.153e-05/4.728, allocations: 15.44 kB / 2.513 GB, free: 60.74 MB / 0.7136 GB Notification: Performance of SimCode: time 3.3e-07/4.728, allocations: 0 / 2.513 GB, free: 60.74 MB / 0.7136 GB Notification: Performance of Templates: time 0.01037/4.739, allocations: 8.148 MB / 2.521 GB, free: 52.59 MB / 0.7136 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.makefile (rm -f BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.pipe 2>&1)