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.000934/0.000934, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001051/0.001051, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.324/1.324, allocations: 223.3 MB / 240 MB, free: 5.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001758/0.001758, allocations: 293.6 kB / 291.4 MB, free: 1.922 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9594/0.9594, allocations: 169.5 MB / 0.5 GB, free: 14.22 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004094/0.0004095, allocations: 12.03 kB / 0.598 GB, free: 28.41 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1359/0.1364, allocations: 88.54 MB / 0.6845 GB, free: 15.47 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.AirDerivativeCheck): time 0.001259/0.1377, allocations: 1.041 MB / 0.6855 GB, free: 14.42 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4112/0.5489, allocations: 134.5 MB / 0.8168 GB, free: 1.254 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.312e-05/0.5489, allocations: 1.094 kB / 0.8168 GB, free: 1.254 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.914e-05/0.549, allocations: 3.938 kB / 0.8168 GB, free: 1.25 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 8.293e-05/0.5491, allocations: 17.92 kB / 0.8168 GB, free: 1.242 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006437/0.5497, allocations: 226.8 kB / 0.817 GB, free: 1.188 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.837e-05/0.5498, allocations: 72.33 kB / 0.8171 GB, free: 1.176 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.919e-05/0.5499, allocations: 5.156 kB / 0.8171 GB, free: 1.176 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.375e-05/0.5499, allocations: 31.39 kB / 0.8171 GB, free: 1.172 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 8.706e-05/0.55, allocations: 31.97 kB / 0.8172 GB, free: 1.168 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.337e-05/0.55, allocations: 3.281 kB / 0.8172 GB, free: 1.168 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005765/0.5506, allocations: 252.9 kB / 0.8174 GB, free: 1.125 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.23e-05/0.5507, allocations: 19.67 kB / 0.8174 GB, free: 1.125 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.447e-05/0.5507, allocations: 36.11 kB / 0.8175 GB, free: 17.09 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001758/0.5509, allocations: 101.2 kB / 0.8176 GB, free: 17.08 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.5509, allocations: 0 / 0.8176 GB, free: 17.08 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.533e-06/0.5509, allocations: 0 / 0.8176 GB, free: 17.08 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.516e-06/0.551, allocations: 1.438 kB / 0.8176 GB, free: 17.08 MB / 0.5606 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.0003573/0.5513, allocations: 375 kB / 0.8179 GB, free: 16.7 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.137e-05/0.5514, allocations: 9.781 kB / 0.8179 GB, free: 16.7 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000381/0.5517, allocations: 44.17 kB / 0.818 GB, free: 16.7 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.2e-05/0.5518, allocations: 164.5 kB / 0.8181 GB, free: 16.5 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/0.5519, allocations: 4.344 kB / 0.8181 GB, free: 16.5 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.69e-05/0.5519, allocations: 7.781 kB / 0.8181 GB, free: 16.5 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001567/0.5521, allocations: 85.17 kB / 0.8182 GB, free: 16.46 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.193e-06/0.5521, allocations: 1.125 kB / 0.8182 GB, free: 16.46 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.387e-05/0.5521, allocations: 1.156 kB / 0.8182 GB, free: 16.46 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.002e-06/0.5521, allocations: 9.047 kB / 0.8182 GB, free: 16.45 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.635e-05/0.5522, allocations: 45.73 kB / 0.8183 GB, free: 16.45 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001684/0.5524, allocations: 189.1 kB / 0.8185 GB, free: 16.26 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001536/0.5525, allocations: 91.33 kB / 0.8185 GB, free: 16.23 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.558e-05/0.5526, allocations: 31.05 kB / 0.8186 GB, free: 16.22 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000228/0.5528, allocations: 180.5 kB / 0.8187 GB, free: 16.03 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.537e-05/0.5529, allocations: 39.17 kB / 0.8188 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=12): time 1.333e-06/0.5529, allocations: 0 / 0.8188 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of matching and sorting (n=19): time 0.001199/0.5541, allocations: 0.5381 MB / 0.8193 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.427e-05/0.5541, allocations: 61.23 kB / 0.8194 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.699e-05/0.5542, allocations: 98.45 kB / 0.8195 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.926e-05/0.5542, allocations: 30.23 kB / 0.8195 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 2.824e-05/0.5543, allocations: 81.89 kB / 0.8196 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.549e-05/0.5543, allocations: 66.36 kB / 0.8196 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.224e-06/0.5543, allocations: 4.719 kB / 0.8196 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001158/0.5544, allocations: 325.8 kB / 0.8199 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.071e-05/0.5545, allocations: 33.45 kB / 0.82 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.188e-05/0.5546, allocations: 71.47 kB / 0.82 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.619e-05/0.5547, allocations: 44.97 kB / 0.8201 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.5547, allocations: 0 / 0.8201 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002181/0.5549, allocations: 155 kB / 0.8202 GB, free: 15 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.5549, allocations: 8.25 kB / 0.8202 GB, free: 15 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.5549, allocations: 5.344 kB / 0.8202 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.555, allocations: 2.188 kB / 0.8202 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001667/0.5551, allocations: 38.78 kB / 0.8203 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.196e-06/0.5551, allocations: 6.266 kB / 0.8203 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.989e-05/0.5552, allocations: 4.938 kB / 0.8203 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.144e-05/0.5552, allocations: 5.406 kB / 0.8203 GB, free: 14.99 MB / 0.5606 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.72e-05/0.5553, allocations: 124.8 kB / 0.8204 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.929e-05/0.5553, allocations: 11.31 kB / 0.8204 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.727e-05/0.5554, allocations: 18.72 kB / 0.8204 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.5554, allocations: 6.406 kB / 0.8205 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.5554, allocations: 0 / 0.8205 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.5554, allocations: 7.188 kB / 0.8205 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001447/0.5556, allocations: 189.9 kB / 0.8206 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.5556, allocations: 0 / 0.8206 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001907/0.5558, allocations: 42.19 kB / 0.8207 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.5558, allocations: 5.406 kB / 0.8207 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.226e-05/0.5558, allocations: 4.875 kB / 0.8207 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.5558, allocations: 2 kB / 0.8207 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.5558, allocations: 0 / 0.8207 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002796/0.5561, allocations: 208.9 kB / 0.8209 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.394e-05/0.5562, allocations: 97.72 kB / 0.821 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.957e-05/0.5562, allocations: 3.5 kB / 0.821 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001083/0.5563, allocations: 11.19 kB / 0.821 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.45e-05/0.5564, allocations: 8.953 kB / 0.821 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.308e-05/0.5564, allocations: 10.23 kB / 0.821 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.245e-05/0.5564, allocations: 81.56 kB / 0.8211 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5564, allocations: 0 / 0.8211 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002372/0.5567, allocations: 31.83 kB / 0.8211 GB, free: 14.4 MB / 0.5606 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.0001256/0.5568, allocations: 101.9 kB / 0.8212 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001914/0.557, allocations: 97.52 kB / 0.8213 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.557, allocations: 4.656 kB / 0.8213 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 7.329e-05/0.5571, allocations: 50.12 kB / 0.8214 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002313/0.5573, allocations: 31.34 kB / 0.8214 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007588/0.5581, allocations: 0.6134 MB / 0.822 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002472/0.5583, allocations: 0.7066 MB / 0.8227 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001315/0.5585, allocations: 23.72 kB / 0.8227 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.808e-05/0.5585, allocations: 15.44 kB / 0.8227 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of SimCode: time 3.2e-07/0.5585, allocations: 0 / 0.8227 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of Templates: time 0.003413/0.562, allocations: 1.025 MB / 0.8237 GB, free: 13.05 MB / 0.5606 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)