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) 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/IBPSA 4.0.0-master/package.mo", uses=false) 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=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.AirDerivativeCheck") translateModel(IBPSA.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_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.001414/0.001414, allocations: 105.5 kB / 16.94 MB, free: 6.203 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.001271/0.001271, allocations: 187.3 kB / 17.86 MB, free: 5.312 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.301/1.301, allocations: 222.9 MB / 241.6 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7338/0.7338, allocations: 122.9 MB / 414.6 MB, free: 15.95 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 71.89 kB / 0.4917 GB, free: 7.504 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3513/0.3526, allocations: 77.92 MB / 0.5678 GB, free: 32.59 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.AirDerivativeCheck): time 0.002288/0.3549, allocations: 1.326 MB / 0.5691 GB, free: 31.66 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1666/0.5215, allocations: 148.1 MB / 0.7137 GB, free: 4.93 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.955e-05/0.5216, allocations: 3.938 kB / 0.7137 GB, free: 4.926 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 4.564e-05/0.5217, allocations: 7.922 kB / 0.7138 GB, free: 4.918 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001346/0.5219, allocations: 11.92 kB / 0.7138 GB, free: 4.906 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001246/0.5232, allocations: 334.5 kB / 0.7141 GB, free: 4.578 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001372/0.5233, allocations: 59.83 kB / 0.7141 GB, free: 4.52 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.383e-05/0.5234, allocations: 4 kB / 0.7141 GB, free: 4.516 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 6.901e-05/0.5235, allocations: 31.91 kB / 0.7142 GB, free: 4.484 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000108/0.5236, allocations: 35.89 kB / 0.7142 GB, free: 4.449 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.646e-05/0.5236, allocations: 4 kB / 0.7142 GB, free: 4.445 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009527/0.5246, allocations: 402.8 kB / 0.7146 GB, free: 4.051 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 7.677e-05/0.5247, allocations: 19.92 kB / 0.7146 GB, free: 4.031 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.955e-05/0.5247, allocations: 27.91 kB / 0.7146 GB, free: 4.004 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004311/0.5252, allocations: 169.5 kB / 0.7148 GB, free: 3.84 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.5252, allocations: 0 / 0.7148 GB, free: 3.84 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.613e-06/0.5252, allocations: 0 / 0.7148 GB, free: 3.84 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.492e-06/0.5252, allocations: 0 / 0.7148 GB, free: 3.84 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.000552/0.5258, allocations: 391.3 kB / 0.7152 GB, free: 3.41 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.5258, allocations: 8.625 kB / 0.7152 GB, free: 3.402 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004458/0.5263, allocations: 40.91 kB / 0.7152 GB, free: 3.363 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000132/0.5264, allocations: 164.3 kB / 0.7154 GB, free: 3.164 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.553e-05/0.5264, allocations: 7.938 kB / 0.7154 GB, free: 3.156 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.194e-05/0.5265, allocations: 11.98 kB / 0.7154 GB, free: 3.145 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001685/0.5266, allocations: 77.59 kB / 0.7155 GB, free: 3.062 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.5267, allocations: 3.938 kB / 0.7155 GB, free: 3.059 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.809e-05/0.5267, allocations: 8 kB / 0.7155 GB, free: 3.051 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.5267, allocations: 0 / 0.7155 GB, free: 3.051 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.06e-05/0.5268, allocations: 43.95 kB / 0.7155 GB, free: 3.008 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002223/0.527, allocations: 197.4 kB / 0.7157 GB, free: 2.766 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000183/0.5272, allocations: 86.61 kB / 0.7158 GB, free: 2.672 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.545e-05/0.5273, allocations: 28.88 kB / 0.7158 GB, free: 2.641 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002459/0.5275, allocations: 182.2 kB / 0.716 GB, free: 2.426 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.661e-05/0.5276, allocations: 34.56 kB / 0.716 GB, free: 2.383 MB / 0.545 GB Notification: Performance of pre-optimization done (n=12): time 1.423e-06/0.5276, allocations: 4 kB / 0.716 GB, free: 2.379 MB / 0.545 GB Notification: Performance of matching and sorting (n=19): time 0.001453/0.529, allocations: 0.5376 MB / 0.7166 GB, free: 1.793 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.024e-05/0.5291, allocations: 59.41 kB / 0.7166 GB, free: 1.723 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.153e-05/0.5292, allocations: 101.8 kB / 0.7167 GB, free: 1.613 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.123e-05/0.5292, allocations: 29.7 kB / 0.7167 GB, free: 1.578 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.577e-05/0.5292, allocations: 80.52 kB / 0.7168 GB, free: 1.496 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 8.151e-05/0.5293, allocations: 74.98 kB / 0.7169 GB, free: 1.422 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.666e-05/0.5294, allocations: 37.72 kB / 0.7169 GB, free: 1.379 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001309/0.5295, allocations: 322.8 kB / 0.7172 GB, free: 1.055 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.95e-05/0.5296, allocations: 32.11 kB / 0.7173 GB, free: 1.023 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.591e-05/0.5297, allocations: 71.41 kB / 0.7173 GB, free: 0.9414 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00017/0.5299, allocations: 123.3 kB / 0.7175 GB, free: 0.8086 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.5299, allocations: 3.938 kB / 0.7175 GB, free: 0.8047 MB / 0.545 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002474/0.5302, allocations: 153.6 kB / 0.7176 GB, free: 0.6484 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.5302, allocations: 6.188 kB / 0.7176 GB, free: 0.6445 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/0.5302, allocations: 8 kB / 0.7176 GB, free: 0.6367 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.94e-05/0.5302, allocations: 4 kB / 0.7176 GB, free: 0.6328 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001819/0.5304, allocations: 43.92 kB / 0.7177 GB, free: 0.5898 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.5304, allocations: 0 / 0.7177 GB, free: 0.5898 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.109e-05/0.5305, allocations: 7.938 kB / 0.7177 GB, free: 0.582 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.325e-05/0.5305, allocations: 8 kB / 0.7177 GB, free: 0.5742 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001148/0.5306, allocations: 121.8 kB / 0.7178 GB, free: 456 kB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.638e-05/0.5307, allocations: 15.84 kB / 0.7178 GB, free: 440 kB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.696e-05/0.5307, allocations: 16.44 kB / 0.7178 GB, free: 428 kB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.5307, allocations: 3.984 kB / 0.7178 GB, free: 424 kB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.5308, allocations: 4 kB / 0.7178 GB, free: 420 kB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.583e-06/0.5308, allocations: 7.938 kB / 0.7178 GB, free: 412 kB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001882/0.531, allocations: 185.6 kB / 0.718 GB, free: 176 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.531, allocations: 4 kB / 0.718 GB, free: 172 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001913/0.5312, allocations: 35.98 kB / 0.7181 GB, free: 136 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.5312, allocations: 0 / 0.7181 GB, free: 136 kB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.606e-05/0.5312, allocations: 4 kB / 0.7181 GB, free: 132 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.5312, allocations: 0 / 0.7181 GB, free: 132 kB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.5312, allocations: 0 / 0.7181 GB, free: 132 kB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003367/0.5316, allocations: 219 kB / 0.7183 GB, free: 15.9 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.942e-05/0.5317, allocations: 93 kB / 0.7184 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.041e-05/0.5317, allocations: 4.062 kB / 0.7184 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001195/0.5318, allocations: 4 kB / 0.7184 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.104e-05/0.5318, allocations: 15.92 kB / 0.7184 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.273e-05/0.5319, allocations: 7.984 kB / 0.7184 GB, free: 15.76 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.32e-05/0.5319, allocations: 79.28 kB / 0.7185 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.51e-07/0.5319, allocations: 0 / 0.7185 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002446/0.5322, allocations: 32.09 kB / 0.7185 GB, free: 15.65 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 (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.0001592/0.5323, allocations: 111.2 kB / 0.7186 GB, free: 15.53 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002234/0.5326, allocations: 107.9 kB / 0.7187 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.5326, allocations: 0 / 0.7187 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 8.196e-05/0.5327, allocations: 59.91 kB / 0.7188 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00025/0.5329, allocations: 12.38 kB / 0.7188 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008737/0.5338, allocations: 0.5492 MB / 0.7193 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002982/0.5341, allocations: 0.7008 MB / 0.72 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.352e-05/0.5342, allocations: 19.44 kB / 0.72 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of SimCode: time 3.61e-07/0.5342, allocations: 0 / 0.72 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of Templates: time 0.003137/0.5373, allocations: 1.299 MB / 0.7213 GB, free: 12.72 MB / 0.5606 GB make -j1 -f IBPSA_latest_IBPSA.Media.Examples.AirDerivativeCheck.makefile (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)