Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.AirDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 90] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.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(IBPSA.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.AirDerivativeCheck") translateModel(IBPSA.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.AirDerivativeCheck") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001336/0.001336, allocations: 112.3 kB / 17.33 MB, free: 5.008 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.001232/0.001232, allocations: 198.6 kB / 18.33 MB, free: 4.016 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.568/1.568, allocations: 225.6 MB / 244.8 MB, free: 13.58 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8538/0.8538, allocations: 128.4 MB / 426.1 MB, free: 7.172 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002074/0.002074, allocations: 63.7 kB / 0.5911 GB, free: 21.35 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1942/0.1963, allocations: 83.26 MB / 0.6724 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.AirDerivativeCheck): time 0.003254/0.1995, allocations: 1.331 MB / 0.6737 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.6733/0.8728, allocations: 148.5 MB / 0.8188 GB, free: 10.01 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.517e-05/0.8729, allocations: 0 / 0.8188 GB, free: 10.01 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 5.561e-05/0.8729, allocations: 7.328 kB / 0.8188 GB, free: 10.01 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0001281/0.8731, allocations: 11.78 kB / 0.8188 GB, free: 10 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001257/0.8743, allocations: 335.7 kB / 0.8191 GB, free: 9.879 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0001738/0.8745, allocations: 63.95 kB / 0.8192 GB, free: 9.867 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 6.869e-05/0.8746, allocations: 5.375 kB / 0.8192 GB, free: 9.863 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 7.688e-05/0.8746, allocations: 32.3 kB / 0.8192 GB, free: 9.855 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00015/0.8748, allocations: 36.64 kB / 0.8193 GB, free: 9.848 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.744e-05/0.8748, allocations: 3.594 kB / 0.8193 GB, free: 9.848 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001089/0.8759, allocations: 438.5 kB / 0.8197 GB, free: 9.73 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 8.078e-05/0.876, allocations: 22.28 kB / 0.8197 GB, free: 9.723 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 6.493e-05/0.876, allocations: 26.98 kB / 0.8197 GB, free: 9.715 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0004389/0.8765, allocations: 161.4 kB / 0.8199 GB, free: 9.688 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.722e-06/0.8765, allocations: 1.375 kB / 0.8199 GB, free: 9.688 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.344e-06/0.8765, allocations: 3.938 kB / 0.8199 GB, free: 9.684 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.937e-06/0.8765, allocations: 0 / 0.8199 GB, free: 9.684 MB / 0.5919 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.0008223/0.8773, allocations: 389.8 kB / 0.8203 GB, free: 9.305 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 7.232e-05/0.8774, allocations: 12.03 kB / 0.8203 GB, free: 9.305 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005855/0.878, allocations: 41.16 kB / 0.8203 GB, free: 9.301 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002154/0.8782, allocations: 165.8 kB / 0.8205 GB, free: 9.102 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.665e-05/0.8782, allocations: 9.844 kB / 0.8205 GB, free: 9.098 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.715e-05/0.8783, allocations: 9.875 kB / 0.8205 GB, free: 9.098 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000274/0.8785, allocations: 79.2 kB / 0.8206 GB, free: 9.062 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.8785, allocations: 0 / 0.8206 GB, free: 9.062 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.169e-05/0.8786, allocations: 4.656 kB / 0.8206 GB, free: 9.062 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.058e-05/0.8786, allocations: 6.625 kB / 0.8206 GB, free: 9.059 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001274/0.8787, allocations: 47.08 kB / 0.8206 GB, free: 9.055 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003293/0.879, allocations: 181.3 kB / 0.8208 GB, free: 8.863 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002746/0.8793, allocations: 86.69 kB / 0.8209 GB, free: 8.836 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.807e-05/0.8794, allocations: 26.39 kB / 0.8209 GB, free: 8.828 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003677/0.8797, allocations: 184.7 kB / 0.8211 GB, free: 8.633 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.631e-05/0.8798, allocations: 39.28 kB / 0.8211 GB, free: 8.59 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=12): time 1.502e-06/0.8798, allocations: 0 / 0.8211 GB, free: 8.59 MB / 0.5919 GB Notification: Performance of matching and sorting (n=19): time 0.001618/0.8814, allocations: 0.5467 MB / 0.8216 GB, free: 8.293 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.111e-05/0.8815, allocations: 54.5 kB / 0.8217 GB, free: 8.23 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001737/0.8817, allocations: 96.14 kB / 0.8218 GB, free: 8.133 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.166e-05/0.8817, allocations: 31.45 kB / 0.8218 GB, free: 8.102 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 5.85e-05/0.8817, allocations: 80.52 kB / 0.8219 GB, free: 8.02 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 9.098e-05/0.8818, allocations: 80.8 kB / 0.822 GB, free: 7.957 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.153e-05/0.8819, allocations: 43.08 kB / 0.822 GB, free: 7.938 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002829/0.8822, allocations: 322.5 kB / 0.8223 GB, free: 7.617 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.649e-05/0.8823, allocations: 37.81 kB / 0.8224 GB, free: 7.609 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001007/0.8824, allocations: 73.36 kB / 0.8224 GB, free: 7.566 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001621/0.8825, allocations: 114 kB / 0.8225 GB, free: 7.527 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.8825, allocations: 0 / 0.8225 GB, free: 7.527 MB / 0.5919 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002403/0.8828, allocations: 161.4 kB / 0.8227 GB, free: 7.473 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.8828, allocations: 13.34 kB / 0.8227 GB, free: 7.465 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/0.8828, allocations: 3.984 kB / 0.8227 GB, free: 7.461 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.172e-05/0.8828, allocations: 2.562 kB / 0.8227 GB, free: 7.461 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001804/0.883, allocations: 40.86 kB / 0.8227 GB, free: 7.453 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.795e-06/0.883, allocations: 0 / 0.8227 GB, free: 7.453 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.562e-05/0.8831, allocations: 9.875 kB / 0.8228 GB, free: 7.449 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.567e-05/0.8831, allocations: 11.98 kB / 0.8228 GB, free: 7.445 MB / 0.5919 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 0.0001179/0.8832, allocations: 122.2 kB / 0.8229 GB, free: 7.328 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.38e-05/0.8832, allocations: 13.02 kB / 0.8229 GB, free: 7.32 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.299e-05/0.8833, allocations: 14.69 kB / 0.8229 GB, free: 7.32 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.8833, allocations: 2.75 kB / 0.8229 GB, free: 7.32 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.8833, allocations: 0 / 0.8229 GB, free: 7.32 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.196e-06/0.8833, allocations: 3.938 kB / 0.8229 GB, free: 7.316 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002159/0.8835, allocations: 195.8 kB / 0.8231 GB, free: 7.113 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.103e-06/0.8835, allocations: 0 / 0.8231 GB, free: 7.113 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001882/0.8837, allocations: 37.09 kB / 0.8231 GB, free: 7.105 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.8837, allocations: 2.844 kB / 0.8231 GB, free: 7.105 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.204e-05/0.8837, allocations: 3.562 kB / 0.8231 GB, free: 7.105 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.8837, allocations: 2.312 kB / 0.8231 GB, free: 7.105 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.8837, allocations: 4 kB / 0.8232 GB, free: 7.102 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003499/0.8841, allocations: 208.1 kB / 0.8234 GB, free: 7.008 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001/0.8842, allocations: 91.52 kB / 0.8234 GB, free: 6.906 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.289e-05/0.8842, allocations: 9.609 kB / 0.8234 GB, free: 6.902 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001151/0.8843, allocations: 8.719 kB / 0.8235 GB, free: 6.902 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.014e-05/0.8843, allocations: 10.2 kB / 0.8235 GB, free: 6.898 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.743e-05/0.8843, allocations: 8.531 kB / 0.8235 GB, free: 6.895 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 4.824e-05/0.8844, allocations: 82.12 kB / 0.8236 GB, free: 6.816 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.8844, allocations: 0 / 0.8236 GB, free: 6.816 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002238/0.8846, allocations: 28.31 kB / 0.8236 GB, free: 6.816 MB / 0.5919 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.0001882/0.8848, allocations: 109.7 kB / 0.8237 GB, free: 6.719 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0002322/0.885, allocations: 102.5 kB / 0.8238 GB, free: 6.699 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.04e-06/0.885, allocations: 3.188 kB / 0.8238 GB, free: 6.699 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 7.462e-05/0.8851, allocations: 50.58 kB / 0.8238 GB, free: 6.688 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002996/0.8854, allocations: 19.52 kB / 0.8239 GB, free: 6.68 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009582/0.8864, allocations: 0.5028 MB / 0.8243 GB, free: 6.289 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004943/0.8869, allocations: 0.7056 MB / 0.825 GB, free: 5.574 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001189/0.887, allocations: 30.94 kB / 0.8251 GB, free: 5.555 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.167e-05/0.887, allocations: 12.97 kB / 0.8251 GB, free: 5.551 MB / 0.5919 GB Notification: Performance of SimCode: time 2.6e-07/0.887, allocations: 2.625 kB / 0.8251 GB, free: 5.551 MB / 0.5919 GB Notification: Performance of Templates: time 0.004459/0.8915, allocations: 1.15 MB / 0.8262 GB, free: 4.98 MB / 0.5919 GB make -j1 -f IBPSA_latest_IBPSA.Media.Examples.AirDerivativeCheck.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Media.Examples.AirDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.AirDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.AirDerivativeCheck.sim & ./IBPSA_latest_IBPSA.Media.Examples.AirDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Examples.AirDerivativeCheck.pipe 2>&1) [Timeout 480]