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.001477/0.001477, allocations: 109.2 kB / 15.99 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.001894/0.001895, allocations: 193.7 kB / 16.91 MB, free: 6.195 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.383/1.383, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7869/0.7869, allocations: 122.9 MB / 413.6 MB, free: 0 / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 67.89 kB / 0.4906 GB, free: 7.773 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.359/0.3602, allocations: 77.92 MB / 0.5667 GB, free: 32.61 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.AirDerivativeCheck): time 0.002477/0.3628, allocations: 1.389 MB / 0.5681 GB, free: 31.64 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1627/0.5255, allocations: 145.9 MB / 0.7106 GB, free: 7.152 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.766e-05/0.5256, allocations: 3.938 kB / 0.7106 GB, free: 7.148 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 4.116e-05/0.5257, allocations: 0 / 0.7106 GB, free: 7.148 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001097/0.5258, allocations: 15.91 kB / 0.7106 GB, free: 7.133 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009123/0.5267, allocations: 298.9 kB / 0.7109 GB, free: 6.84 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.202e-05/0.5268, allocations: 59.83 kB / 0.7109 GB, free: 6.781 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.279e-05/0.5269, allocations: 11.98 kB / 0.711 GB, free: 6.77 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.417e-05/0.5269, allocations: 35.86 kB / 0.711 GB, free: 6.734 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 9.706e-05/0.527, allocations: 31.89 kB / 0.711 GB, free: 6.703 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.331e-05/0.5271, allocations: 4 kB / 0.711 GB, free: 6.699 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007492/0.5278, allocations: 430.8 kB / 0.7114 GB, free: 6.277 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.941e-05/0.5279, allocations: 23.91 kB / 0.7115 GB, free: 6.254 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.379e-05/0.5279, allocations: 31.92 kB / 0.7115 GB, free: 6.223 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003073/0.5283, allocations: 181.4 kB / 0.7117 GB, free: 6.047 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.5283, allocations: 0 / 0.7117 GB, free: 6.047 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.472e-06/0.5283, allocations: 0 / 0.7117 GB, free: 6.047 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.5283, allocations: 0 / 0.7117 GB, free: 6.047 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.0004978/0.5288, allocations: 391.3 kB / 0.712 GB, free: 5.617 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.5288, allocations: 12.62 kB / 0.7121 GB, free: 5.605 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004268/0.5293, allocations: 36.89 kB / 0.7121 GB, free: 5.57 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001147/0.5294, allocations: 164.3 kB / 0.7122 GB, free: 5.371 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.656e-05/0.5294, allocations: 15.94 kB / 0.7123 GB, free: 5.355 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.841e-05/0.5294, allocations: 8 kB / 0.7123 GB, free: 5.348 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001756/0.5296, allocations: 81.52 kB / 0.7123 GB, free: 5.262 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.5296, allocations: 0 / 0.7123 GB, free: 5.262 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.473e-05/0.5297, allocations: 8 kB / 0.7124 GB, free: 5.254 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.5297, allocations: 0 / 0.7124 GB, free: 5.254 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001006/0.5298, allocations: 51.94 kB / 0.7124 GB, free: 5.203 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002103/0.53, allocations: 197.4 kB / 0.7126 GB, free: 4.961 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001816/0.5302, allocations: 90.62 kB / 0.7127 GB, free: 4.863 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.365e-05/0.5303, allocations: 36.78 kB / 0.7127 GB, free: 4.824 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002421/0.5305, allocations: 178.2 kB / 0.7129 GB, free: 4.613 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.483e-05/0.5305, allocations: 38.56 kB / 0.7129 GB, free: 4.566 MB / 0.545 GB Notification: Performance of pre-optimization done (n=12): time 1.203e-06/0.5305, allocations: 0 / 0.7129 GB, free: 4.566 MB / 0.545 GB Notification: Performance of matching and sorting (n=19): time 0.001361/0.5319, allocations: 0.5394 MB / 0.7134 GB, free: 3.977 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.53e-05/0.532, allocations: 55.41 kB / 0.7135 GB, free: 3.91 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.137e-05/0.532, allocations: 101.8 kB / 0.7136 GB, free: 3.801 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.277e-05/0.5321, allocations: 33.64 kB / 0.7136 GB, free: 3.762 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.087e-05/0.5321, allocations: 80.52 kB / 0.7137 GB, free: 3.68 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.71e-05/0.5322, allocations: 67.02 kB / 0.7138 GB, free: 3.613 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.385e-05/0.5323, allocations: 41.7 kB / 0.7138 GB, free: 3.566 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001561/0.5324, allocations: 318.8 kB / 0.7141 GB, free: 3.246 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.986e-05/0.5325, allocations: 40.11 kB / 0.7141 GB, free: 3.207 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.201e-05/0.5326, allocations: 67.41 kB / 0.7142 GB, free: 3.129 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001629/0.5328, allocations: 119.3 kB / 0.7143 GB, free: 3 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.5328, allocations: 3.938 kB / 0.7143 GB, free: 2.996 MB / 0.545 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002288/0.533, allocations: 149.5 kB / 0.7145 GB, free: 2.844 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.533, allocations: 8 kB / 0.7145 GB, free: 2.836 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.5331, allocations: 0 / 0.7145 GB, free: 2.836 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.902e-05/0.5331, allocations: 7.984 kB / 0.7145 GB, free: 2.828 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000171/0.5333, allocations: 43.92 kB / 0.7145 GB, free: 2.785 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.092e-05/0.5333, allocations: 4.125 kB / 0.7145 GB, free: 2.781 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.877e-05/0.5333, allocations: 11.94 kB / 0.7145 GB, free: 2.77 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.237e-05/0.5334, allocations: 4 kB / 0.7145 GB, free: 2.766 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.0001234/0.5335, allocations: 125.8 kB / 0.7147 GB, free: 2.633 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.131e-05/0.5335, allocations: 7.906 kB / 0.7147 GB, free: 2.625 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.812e-05/0.5336, allocations: 16.44 kB / 0.7147 GB, free: 2.613 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.5336, allocations: 8 kB / 0.7147 GB, free: 2.605 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.5336, allocations: 0 / 0.7147 GB, free: 2.605 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.254e-06/0.5336, allocations: 7.922 kB / 0.7147 GB, free: 2.598 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001879/0.5338, allocations: 189.6 kB / 0.7149 GB, free: 2.363 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.542e-06/0.5338, allocations: 0 / 0.7149 GB, free: 2.363 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002019/0.534, allocations: 35.98 kB / 0.7149 GB, free: 2.328 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.534, allocations: 4 kB / 0.7149 GB, free: 2.324 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.255e-05/0.534, allocations: 0 / 0.7149 GB, free: 2.324 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.5341, allocations: 3.938 kB / 0.7149 GB, free: 2.32 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.5341, allocations: 0 / 0.7149 GB, free: 2.32 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003285/0.5344, allocations: 215.1 kB / 0.7151 GB, free: 2.094 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.328e-05/0.5345, allocations: 93 kB / 0.7152 GB, free: 1.984 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.129e-05/0.5345, allocations: 4.062 kB / 0.7152 GB, free: 1.98 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000129/0.5346, allocations: 8 kB / 0.7152 GB, free: 1.973 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.991e-05/0.5347, allocations: 15.92 kB / 0.7153 GB, free: 1.957 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.304e-05/0.5347, allocations: 7.938 kB / 0.7153 GB, free: 1.949 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.656e-05/0.5348, allocations: 83.27 kB / 0.7153 GB, free: 1.867 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5348, allocations: 96 / 0.7153 GB, free: 1.867 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000226/0.535, allocations: 32 kB / 0.7154 GB, free: 1.836 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 (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.0001565/0.5352, allocations: 103.2 kB / 0.7155 GB, free: 1.723 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002345/0.5354, allocations: 119.9 kB / 0.7156 GB, free: 1.605 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.5354, allocations: 0 / 0.7156 GB, free: 1.605 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.225e-05/0.5355, allocations: 55.84 kB / 0.7156 GB, free: 1.551 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002904/0.5358, allocations: 12 kB / 0.7156 GB, free: 1.539 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008848/0.5367, allocations: 0.5498 MB / 0.7162 GB, free: 0.9648 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002864/0.537, allocations: 0.6969 MB / 0.7169 GB, free: 248 kB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001393/0.5371, allocations: 32.61 kB / 0.7169 GB, free: 212 kB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.957e-05/0.5372, allocations: 15.44 kB / 0.7169 GB, free: 196 kB / 0.545 GB Notification: Performance of SimCode: time 2.31e-07/0.5372, allocations: 0 / 0.7169 GB, free: 196 kB / 0.545 GB Notification: Performance of Templates: time 0.003633/0.5408, allocations: 1.11 MB / 0.718 GB, free: 15.09 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)