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/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 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004518/0.004518, allocations: 106 kB / 15.73 MB, free: 6 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.001243/0.001243, allocations: 192.2 kB / 16.67 MB, free: 5.922 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.31/1.31, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002074/0.002074, allocations: 283.4 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9496/0.9496, allocations: 169.3 MB / 0.4983 GB, free: 4.41 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001787/0.001787, allocations: 91.86 kB / 0.6814 GB, free: 7 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4054/0.4072, allocations: 86.99 MB / 0.7664 GB, free: 3.785 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.AirDerivativeCheck): time 0.00276/0.41, allocations: 1.334 MB / 0.7677 GB, free: 2.445 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.1469/0.5569, allocations: 148.1 MB / 0.9123 GB, free: 13.77 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.013e-05/0.557, allocations: 0 / 0.9123 GB, free: 13.77 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 3.77e-05/0.557, allocations: 7.922 kB / 0.9123 GB, free: 13.77 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.0001029/0.5572, allocations: 11.92 kB / 0.9123 GB, free: 13.75 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.001057/0.5582, allocations: 330.6 kB / 0.9126 GB, free: 13.43 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.0001225/0.5584, allocations: 59.83 kB / 0.9127 GB, free: 13.37 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 4.462e-05/0.5584, allocations: 7.984 kB / 0.9127 GB, free: 13.36 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 5.057e-05/0.5585, allocations: 27.92 kB / 0.9127 GB, free: 13.34 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001003/0.5586, allocations: 35.89 kB / 0.9127 GB, free: 13.3 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 1.525e-05/0.5586, allocations: 4 kB / 0.9128 GB, free: 13.3 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008617/0.5595, allocations: 406.3 kB / 0.9131 GB, free: 12.9 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 5.785e-05/0.5595, allocations: 27.91 kB / 0.9132 GB, free: 12.88 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 4.455e-05/0.5596, allocations: 23.92 kB / 0.9132 GB, free: 12.85 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0003814/0.56, allocations: 158.3 kB / 0.9133 GB, free: 12.7 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.56, allocations: 0 / 0.9133 GB, free: 12.7 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.783e-06/0.56, allocations: 0 / 0.9133 GB, free: 12.7 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 6.452e-06/0.56, allocations: 0 / 0.9133 GB, free: 12.7 MB / 0.6856 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.0004471/0.5605, allocations: 391.3 kB / 0.9137 GB, free: 12.27 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.414e-05/0.5605, allocations: 12.03 kB / 0.9137 GB, free: 12.26 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004265/0.561, allocations: 40.91 kB / 0.9138 GB, free: 12.22 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001036/0.5611, allocations: 172.3 kB / 0.9139 GB, free: 12.01 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.369e-05/0.5611, allocations: 7.938 kB / 0.9139 GB, free: 12 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.51e-05/0.5611, allocations: 12 kB / 0.9139 GB, free: 11.99 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001547/0.5613, allocations: 77.59 kB / 0.914 GB, free: 11.91 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.5613, allocations: 0 / 0.914 GB, free: 11.91 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.668e-05/0.5613, allocations: 7.938 kB / 0.914 GB, free: 11.9 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.5613, allocations: 0 / 0.914 GB, free: 11.9 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.313e-05/0.5614, allocations: 43.95 kB / 0.9141 GB, free: 11.86 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001886/0.5616, allocations: 193.5 kB / 0.9143 GB, free: 11.62 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000163/0.5618, allocations: 90.55 kB / 0.9143 GB, free: 11.52 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.176e-05/0.5619, allocations: 36.86 kB / 0.9144 GB, free: 11.48 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002179/0.5621, allocations: 174.2 kB / 0.9145 GB, free: 11.28 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.018e-05/0.5621, allocations: 38.56 kB / 0.9146 GB, free: 11.23 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=12): time 1.172e-06/0.5621, allocations: 0 / 0.9146 GB, free: 11.23 MB / 0.6856 GB Notification: Performance of matching and sorting (n=19): time 0.001272/0.5634, allocations: 0.5402 MB / 0.9151 GB, free: 10.64 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.294e-05/0.5635, allocations: 59.39 kB / 0.9152 GB, free: 10.57 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.93e-05/0.5635, allocations: 97.8 kB / 0.9153 GB, free: 10.46 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 2.142e-05/0.5635, allocations: 33.7 kB / 0.9153 GB, free: 10.43 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 2.525e-05/0.5636, allocations: 80.52 kB / 0.9154 GB, free: 10.34 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 5.906e-05/0.5636, allocations: 82.78 kB / 0.9154 GB, free: 10.26 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.639e-05/0.5637, allocations: 33.72 kB / 0.9155 GB, free: 10.22 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001018/0.5638, allocations: 322.8 kB / 0.9158 GB, free: 9.898 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.026e-05/0.5639, allocations: 36.05 kB / 0.9158 GB, free: 9.863 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.889e-05/0.564, allocations: 75.39 kB / 0.9159 GB, free: 9.777 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001482/0.5641, allocations: 115.3 kB / 0.916 GB, free: 9.652 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.5641, allocations: 0 / 0.916 GB, free: 9.652 MB / 0.6856 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002114/0.5643, allocations: 149.5 kB / 0.9161 GB, free: 9.5 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.5644, allocations: 8 kB / 0.9162 GB, free: 9.492 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.5644, allocations: 0 / 0.9162 GB, free: 9.492 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.5644, allocations: 8.125 kB / 0.9162 GB, free: 9.484 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000164/0.5646, allocations: 43.92 kB / 0.9162 GB, free: 9.441 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.5646, allocations: 4 kB / 0.9162 GB, free: 9.438 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.605e-05/0.5646, allocations: 3.938 kB / 0.9162 GB, free: 9.434 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.239e-05/0.5647, allocations: 12 kB / 0.9162 GB, free: 9.422 MB / 0.6856 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 9.264e-05/0.5648, allocations: 121.8 kB / 0.9163 GB, free: 9.293 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.078e-05/0.5648, allocations: 4 kB / 0.9163 GB, free: 9.289 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.913e-05/0.5648, allocations: 16.42 kB / 0.9164 GB, free: 9.277 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.379e-06/0.5648, allocations: 7.984 kB / 0.9164 GB, free: 9.27 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.5648, allocations: 4 kB / 0.9164 GB, free: 9.266 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.5649, allocations: 3.938 kB / 0.9164 GB, free: 9.262 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001468/0.565, allocations: 193.6 kB / 0.9166 GB, free: 9.023 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.565, allocations: 0 / 0.9166 GB, free: 9.023 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001891/0.5652, allocations: 39.98 kB / 0.9166 GB, free: 8.984 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.5652, allocations: 0 / 0.9166 GB, free: 8.984 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.5652, allocations: 0 / 0.9166 GB, free: 8.984 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.5652, allocations: 4 kB / 0.9166 GB, free: 8.98 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.5652, allocations: 0 / 0.9166 GB, free: 8.98 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002846/0.5655, allocations: 220.7 kB / 0.9168 GB, free: 8.746 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 7.93e-05/0.5656, allocations: 89 kB / 0.9169 GB, free: 8.641 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.177e-05/0.5656, allocations: 8.062 kB / 0.9169 GB, free: 8.633 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001233/0.5658, allocations: 7.984 kB / 0.9169 GB, free: 8.625 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.634e-05/0.5658, allocations: 19.86 kB / 0.9169 GB, free: 8.605 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.042e-05/0.5658, allocations: 4 kB / 0.9169 GB, free: 8.602 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 2.931e-05/0.5659, allocations: 75.28 kB / 0.917 GB, free: 8.527 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.372e-06/0.5659, allocations: 4 kB / 0.917 GB, free: 8.523 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0002226/0.5661, allocations: 36.03 kB / 0.917 GB, free: 8.488 MB / 0.6856 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.0001466/0.5663, allocations: 111.2 kB / 0.9171 GB, free: 8.367 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0001979/0.5665, allocations: 108 kB / 0.9172 GB, free: 8.262 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.5665, allocations: 0 / 0.9172 GB, free: 8.262 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 6.942e-05/0.5666, allocations: 57.97 kB / 0.9173 GB, free: 8.207 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002458/0.5668, allocations: 16.11 kB / 0.9173 GB, free: 8.191 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007749/0.5676, allocations: 0.509 MB / 0.9178 GB, free: 7.656 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002389/0.5678, allocations: 0.7008 MB / 0.9185 GB, free: 6.93 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0001029/0.568, allocations: 24.64 kB / 0.9185 GB, free: 6.906 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.798e-05/0.568, allocations: 15.44 kB / 0.9185 GB, free: 6.891 MB / 0.6856 GB Notification: Performance of SimCode: time 2e-07/0.568, allocations: 0 / 0.9185 GB, free: 6.891 MB / 0.6856 GB Notification: Performance of Templates: time 0.003625/0.5716, allocations: 1.143 MB / 0.9197 GB, free: 5.75 MB / 0.6856 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)