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.001029/0.001029, allocations: 102.2 kB / 15.98 MB, free: 6.355 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.00103/0.00103, allocations: 198.7 kB / 16.91 MB, free: 6.199 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.362/1.362, allocations: 222.9 MB / 240.6 MB, free: 13.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.796/0.796, allocations: 126.1 MB / 416.8 MB, free: 13.02 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001381/0.001381, allocations: 67.89 kB / 0.4945 GB, free: 3.887 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3888/0.3902, allocations: 78.7 MB / 0.5713 GB, free: 30.54 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.AirDerivativeCheck): time 0.003123/0.3934, allocations: 1.391 MB / 0.5727 GB, free: 29.57 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1634/0.5568, allocations: 145.9 MB / 0.7152 GB, free: 3.012 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.906e-05/0.5569, allocations: 3.938 kB / 0.7152 GB, free: 3.008 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 4.262e-05/0.557, allocations: 0 / 0.7152 GB, free: 3.008 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001081/0.5571, allocations: 15.91 kB / 0.7152 GB, free: 2.992 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001034/0.5582, allocations: 298.9 kB / 0.7155 GB, free: 2.699 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.000104/0.5583, allocations: 67.75 kB / 0.7155 GB, free: 2.633 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.464e-05/0.5583, allocations: 4 kB / 0.7156 GB, free: 2.629 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.952e-05/0.5584, allocations: 31.91 kB / 0.7156 GB, free: 2.598 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 8.71e-05/0.5585, allocations: 35.89 kB / 0.7156 GB, free: 2.562 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.353e-05/0.5585, allocations: 4 kB / 0.7156 GB, free: 2.559 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008118/0.5593, allocations: 430.8 kB / 0.716 GB, free: 2.137 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 6.987e-05/0.5594, allocations: 19.91 kB / 0.7161 GB, free: 2.117 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.859e-05/0.5595, allocations: 31.91 kB / 0.7161 GB, free: 2.086 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003559/0.5598, allocations: 185.5 kB / 0.7163 GB, free: 1.906 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.5599, allocations: 0 / 0.7163 GB, free: 1.906 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.627e-06/0.5599, allocations: 4 kB / 0.7163 GB, free: 1.902 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.5599, allocations: 0 / 0.7163 GB, free: 1.902 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.0004628/0.5603, allocations: 387.3 kB / 0.7166 GB, free: 1.477 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/0.5604, allocations: 12.03 kB / 0.7166 GB, free: 1.465 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004288/0.5608, allocations: 36.89 kB / 0.7167 GB, free: 1.43 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001104/0.561, allocations: 176.2 kB / 0.7168 GB, free: 1.219 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.423e-05/0.561, allocations: 7.938 kB / 0.7169 GB, free: 1.211 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.254e-05/0.561, allocations: 8 kB / 0.7169 GB, free: 1.203 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001737/0.5612, allocations: 87.86 kB / 0.7169 GB, free: 1.113 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.193e-06/0.5612, allocations: 0 / 0.7169 GB, free: 1.113 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.67e-05/0.5612, allocations: 4 kB / 0.7169 GB, free: 1.109 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.5612, allocations: 0 / 0.7169 GB, free: 1.109 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.579e-05/0.5613, allocations: 47.95 kB / 0.717 GB, free: 1.062 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002061/0.5616, allocations: 197.4 kB / 0.7172 GB, free: 0.8203 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001823/0.5617, allocations: 86.64 kB / 0.7173 GB, free: 0.7266 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.131e-05/0.5618, allocations: 28.84 kB / 0.7173 GB, free: 0.6953 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002357/0.562, allocations: 178.2 kB / 0.7175 GB, free: 496 kB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.491e-05/0.5621, allocations: 38.56 kB / 0.7175 GB, free: 448 kB / 0.545 GB Notification: Performance of pre-optimization done (n=12): time 1.152e-06/0.5621, allocations: 0 / 0.7175 GB, free: 448 kB / 0.545 GB Notification: Performance of matching and sorting (n=19): time 0.001423/0.5635, allocations: 0.5425 MB / 0.718 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.361e-05/0.5636, allocations: 51.41 kB / 0.7181 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.15e-05/0.5636, allocations: 105.8 kB / 0.7182 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.525e-05/0.5637, allocations: 29.7 kB / 0.7182 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.585e-05/0.5637, allocations: 88.45 kB / 0.7183 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.882e-05/0.5638, allocations: 67.02 kB / 0.7184 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.056e-05/0.5639, allocations: 37.7 kB / 0.7184 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001262/0.564, allocations: 322.8 kB / 0.7187 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.62e-05/0.5641, allocations: 31.98 kB / 0.7187 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.735e-05/0.5642, allocations: 73.97 kB / 0.7188 GB, free: 15 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001694/0.5643, allocations: 123.3 kB / 0.7189 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.5644, allocations: 3.938 kB / 0.7189 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002283/0.5646, allocations: 153.5 kB / 0.7191 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.5646, allocations: 11.98 kB / 0.7191 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/0.5646, allocations: 0 / 0.7191 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.5646, allocations: 4 kB / 0.7191 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001755/0.5648, allocations: 39.98 kB / 0.7191 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.649e-06/0.5648, allocations: 4 kB / 0.7191 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.493e-05/0.5649, allocations: 3.938 kB / 0.7191 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.449e-05/0.5649, allocations: 12 kB / 0.7191 GB, free: 14.63 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001082/0.565, allocations: 122.7 kB / 0.7193 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.313e-05/0.5651, allocations: 7.906 kB / 0.7193 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.992e-05/0.5651, allocations: 16.44 kB / 0.7193 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.93e-06/0.5651, allocations: 4 kB / 0.7193 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/0.5652, allocations: 4 kB / 0.7193 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.5652, allocations: 7.922 kB / 0.7193 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001766/0.5654, allocations: 193.6 kB / 0.7195 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.5654, allocations: 0 / 0.7195 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000213/0.5656, allocations: 43.92 kB / 0.7195 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.5656, allocations: 0 / 0.7195 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.196e-05/0.5656, allocations: 0 / 0.7195 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.5656, allocations: 0 / 0.7195 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.532e-06/0.5656, allocations: 4 kB / 0.7195 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003111/0.5659, allocations: 214.9 kB / 0.7197 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.236e-05/0.566, allocations: 89 kB / 0.7198 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.344e-05/0.5661, allocations: 8.062 kB / 0.7198 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001252/0.5662, allocations: 0 / 0.7198 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.387e-05/0.5662, allocations: 23.86 kB / 0.7198 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.134e-05/0.5662, allocations: 4 kB / 0.7199 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.211e-05/0.5663, allocations: 79.27 kB / 0.7199 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.2e-07/0.5663, allocations: 0 / 0.7199 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002339/0.5665, allocations: 32 kB / 0.72 GB, free: 13.7 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.0001336/0.5667, allocations: 103.3 kB / 0.7201 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002289/0.5669, allocations: 115.8 kB / 0.7202 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.5669, allocations: 0 / 0.7202 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 7.303e-05/0.567, allocations: 61.91 kB / 0.7202 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002546/0.5673, allocations: 14.41 kB / 0.7202 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008265/0.5681, allocations: 0.5572 MB / 0.7208 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002312/0.5683, allocations: 0.7008 MB / 0.7215 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001404/0.5685, allocations: 24.62 kB / 0.7215 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.745e-05/0.5685, allocations: 15.44 kB / 0.7215 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of SimCode: time 2.51e-07/0.5685, allocations: 0 / 0.7215 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of Templates: time 0.00352/0.5721, allocations: 1.105 MB / 0.7226 GB, free: 10.95 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)