Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-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(BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck") translateModel(BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009241/0.0009241, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.0008958/0.0008959, allocations: 177.3 kB / 15.94 MB, free: 228 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.288/1.288, allocations: 223.2 MB / 239.9 MB, free: 5.469 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9577/0.9577, allocations: 143.3 MB / 434.3 MB, free: 13.75 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003281/0.0003283, allocations: 12 kB / 0.5158 GB, free: 11.41 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1572/0.1575, allocations: 83.41 MB / 0.5973 GB, free: 7.945 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck): time 0.001248/0.1588, allocations: 1.025 MB / 0.5983 GB, free: 6.91 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4057/0.5645, allocations: 125.2 MB / 0.7205 GB, free: 7.012 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.005e-05/0.5646, allocations: 0 / 0.7205 GB, free: 7.012 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 4.765e-05/0.5647, allocations: 11.45 kB / 0.7205 GB, free: 7.004 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.141e-05/0.5647, allocations: 10.03 kB / 0.7205 GB, free: 6.996 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009728/0.5657, allocations: 233.4 kB / 0.7207 GB, free: 6.867 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001016/0.5658, allocations: 43.86 kB / 0.7208 GB, free: 6.848 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.273e-05/0.5659, allocations: 7.453 kB / 0.7208 GB, free: 6.844 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 5.4e-05/0.5659, allocations: 26.7 kB / 0.7208 GB, free: 6.836 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 8.932e-05/0.566, allocations: 28.19 kB / 0.7208 GB, free: 6.824 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.498e-05/0.5661, allocations: 7.594 kB / 0.7208 GB, free: 6.82 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008268/0.5669, allocations: 285.5 kB / 0.7211 GB, free: 6.727 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.138e-05/0.567, allocations: 15.72 kB / 0.7211 GB, free: 6.719 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.556e-05/0.567, allocations: 32.58 kB / 0.7212 GB, free: 6.688 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002285/0.5672, allocations: 98.2 kB / 0.7213 GB, free: 6.664 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.5672, allocations: 0 / 0.7213 GB, free: 6.664 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.966e-06/0.5673, allocations: 1 kB / 0.7213 GB, free: 6.664 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.103e-06/0.5673, allocations: 3.938 kB / 0.7213 GB, free: 6.66 MB / 0.545 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.0004183/0.5677, allocations: 374.9 kB / 0.7216 GB, free: 6.281 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.5677, allocations: 8.938 kB / 0.7216 GB, free: 6.281 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004114/0.5681, allocations: 39.55 kB / 0.7217 GB, free: 6.277 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.78e-05/0.5683, allocations: 161.2 kB / 0.7218 GB, free: 6.082 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.492e-05/0.5683, allocations: 9.219 kB / 0.7218 GB, free: 6.078 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.475e-05/0.5683, allocations: 14 kB / 0.7218 GB, free: 6.07 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001728/0.5685, allocations: 77.14 kB / 0.7219 GB, free: 6.027 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.5685, allocations: 0.5625 kB / 0.7219 GB, free: 6.027 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.567e-05/0.5685, allocations: 5.219 kB / 0.7219 GB, free: 6.023 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.5685, allocations: 0.9375 kB / 0.7219 GB, free: 6.023 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001002/0.5687, allocations: 50.98 kB / 0.722 GB, free: 6.012 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002015/0.5689, allocations: 186 kB / 0.7221 GB, free: 5.805 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001737/0.569, allocations: 90.84 kB / 0.7222 GB, free: 5.762 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.335e-05/0.5691, allocations: 9.547 kB / 0.7222 GB, free: 5.758 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.634e-05/0.5691, allocations: 38.33 kB / 0.7223 GB, free: 5.715 MB / 0.545 GB Notification: Performance of pre-optimization done (n=12): time 1.252e-06/0.5691, allocations: 0 / 0.7223 GB, free: 5.715 MB / 0.545 GB Notification: Performance of matching and sorting (n=19): time 0.001333/0.5705, allocations: 0.5411 MB / 0.7228 GB, free: 5.359 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.847e-05/0.5705, allocations: 63.2 kB / 0.7229 GB, free: 5.289 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.739e-05/0.5706, allocations: 93.52 kB / 0.723 GB, free: 5.191 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.259e-05/0.5706, allocations: 32.62 kB / 0.723 GB, free: 5.156 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.272e-05/0.5707, allocations: 80.52 kB / 0.7231 GB, free: 5.074 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.951e-05/0.5707, allocations: 68.58 kB / 0.7231 GB, free: 5.02 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.573e-06/0.5707, allocations: 1.5 kB / 0.7231 GB, free: 5.02 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.888e-05/0.5708, allocations: 323.4 kB / 0.7234 GB, free: 4.699 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.46e-05/0.5709, allocations: 38.8 kB / 0.7235 GB, free: 4.688 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.127e-05/0.571, allocations: 69.19 kB / 0.7235 GB, free: 4.641 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.026e-05/0.5711, allocations: 42.59 kB / 0.7236 GB, free: 4.625 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.011e-06/0.5711, allocations: 0 / 0.7236 GB, free: 4.625 MB / 0.545 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000227/0.5713, allocations: 156.2 kB / 0.7237 GB, free: 4.547 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.5714, allocations: 5.156 kB / 0.7237 GB, free: 4.547 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.5714, allocations: 2.938 kB / 0.7237 GB, free: 4.547 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.5714, allocations: 3.609 kB / 0.7237 GB, free: 4.547 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001744/0.5716, allocations: 42.36 kB / 0.7238 GB, free: 4.539 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/0.5716, allocations: 6.922 kB / 0.7238 GB, free: 4.535 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.749e-05/0.5716, allocations: 6.812 kB / 0.7238 GB, free: 4.531 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.099e-05/0.5717, allocations: 3.781 kB / 0.7238 GB, free: 4.531 MB / 0.545 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 9.771e-05/0.5718, allocations: 126 kB / 0.7239 GB, free: 4.406 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.251e-05/0.5718, allocations: 13.33 kB / 0.7239 GB, free: 4.398 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.655e-05/0.5719, allocations: 21.73 kB / 0.724 GB, free: 4.383 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.5719, allocations: 1.969 kB / 0.724 GB, free: 4.383 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.5719, allocations: 1.062 kB / 0.724 GB, free: 4.383 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.9e-06/0.5719, allocations: 5.5 kB / 0.724 GB, free: 4.379 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001715/0.5721, allocations: 194.4 kB / 0.7241 GB, free: 4.172 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.5721, allocations: 0.625 kB / 0.7241 GB, free: 4.172 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002043/0.5723, allocations: 43.53 kB / 0.7242 GB, free: 4.164 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.5723, allocations: 1 kB / 0.7242 GB, free: 4.164 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.249e-05/0.5723, allocations: 2.5 kB / 0.7242 GB, free: 4.164 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.5723, allocations: 1.812 kB / 0.7242 GB, free: 4.164 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.5723, allocations: 0.7969 kB / 0.7242 GB, free: 4.164 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000309/0.5726, allocations: 217.7 kB / 0.7244 GB, free: 4.035 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.889e-05/0.5727, allocations: 88.41 kB / 0.7245 GB, free: 3.941 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.269e-05/0.5728, allocations: 6.375 kB / 0.7245 GB, free: 3.938 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001324/0.5729, allocations: 7.719 kB / 0.7245 GB, free: 3.934 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.202e-05/0.5729, allocations: 12.83 kB / 0.7245 GB, free: 3.934 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.201e-05/0.573, allocations: 6.5 kB / 0.7245 GB, free: 3.934 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.115e-05/0.573, allocations: 81.5 kB / 0.7246 GB, free: 3.855 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.21e-07/0.573, allocations: 0 / 0.7246 GB, free: 3.855 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002311/0.5732, allocations: 26.03 kB / 0.7246 GB, free: 3.852 MB / 0.545 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.0001313/0.5734, allocations: 108.2 kB / 0.7247 GB, free: 3.754 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002001/0.5736, allocations: 105.7 kB / 0.7248 GB, free: 3.727 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.5736, allocations: 5.062 kB / 0.7248 GB, free: 3.723 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.892e-05/0.5737, allocations: 51.53 kB / 0.7249 GB, free: 3.711 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001921/0.5739, allocations: 14.06 kB / 0.7249 GB, free: 3.703 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001068/0.575, allocations: 0.6209 MB / 0.7255 GB, free: 3.262 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003288/0.5753, allocations: 0.7021 MB / 0.7262 GB, free: 2.566 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001468/0.5755, allocations: 25.05 kB / 0.7262 GB, free: 2.559 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.667e-05/0.5755, allocations: 15.03 kB / 0.7262 GB, free: 2.551 MB / 0.545 GB Notification: Performance of SimCode: time 2.4e-07/0.5755, allocations: 0 / 0.7262 GB, free: 2.551 MB / 0.545 GB Notification: Performance of Templates: time 0.004251/0.5798, allocations: 1.023 MB / 0.7272 GB, free: 2.453 MB / 0.545 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck.makefile Environment - environmentSimulation: (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck.sim & ./BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck.pipe 2>&1) Environment - environmentSimulation: