Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Examples.AirDerivativeCheck") translateModel(Buildings.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Examples.AirDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009723/0.0009722, allocations: 91.53 kB / 15.06 MB, free: 1.098 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.001107/0.001107, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.408/1.408, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.644/1.644, allocations: 292.7 MB / 0.5499 GB, free: 14.57 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005219/0.000522, allocations: 13.88 kB / 0.6737 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2361/0.2367, allocations: 116.3 MB / 0.7873 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.001298/0.238, allocations: 1.037 MB / 0.7883 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.5919/0.83, allocations: 134.5 MB / 0.9196 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.888e-05/0.83, allocations: 1.375 kB / 0.9196 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.571e-05/0.8301, allocations: 8.766 kB / 0.9196 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.86e-05/0.8302, allocations: 15.84 kB / 0.9196 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006674/0.8309, allocations: 217.8 kB / 0.9198 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.669e-05/0.831, allocations: 80.09 kB / 0.9199 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.216e-05/0.831, allocations: 6.5 kB / 0.9199 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.474e-05/0.831, allocations: 27.52 kB / 0.9199 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.258e-05/0.8311, allocations: 37 kB / 0.92 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.309e-05/0.8312, allocations: 2.625 kB / 0.92 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006065/0.8318, allocations: 245.6 kB / 0.9202 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.439e-05/0.8318, allocations: 19.27 kB / 0.9202 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002428/0.8321, allocations: 34.08 kB / 0.9203 GB, free: 22.03 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002415/0.8323, allocations: 102.2 kB / 0.9204 GB, free: 22.02 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.154e-06/0.8323, allocations: 0 / 0.9204 GB, free: 22.02 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.733e-06/0.8324, allocations: 7.938 kB / 0.9204 GB, free: 22.02 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.8324, allocations: 0 / 0.9204 GB, free: 22.02 MB / 0.7325 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.0004362/0.8328, allocations: 374.4 kB / 0.9207 GB, free: 21.64 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/0.8329, allocations: 9.875 kB / 0.9207 GB, free: 21.64 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004199/0.8333, allocations: 38.45 kB / 0.9208 GB, free: 21.64 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001035/0.8334, allocations: 163.6 kB / 0.9209 GB, free: 21.44 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.492e-05/0.8334, allocations: 2.969 kB / 0.9209 GB, free: 21.44 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.847e-05/0.8334, allocations: 17.58 kB / 0.9209 GB, free: 21.43 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001694/0.8336, allocations: 82.39 kB / 0.921 GB, free: 21.4 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.8336, allocations: 0.7188 kB / 0.921 GB, free: 21.4 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.444e-05/0.8337, allocations: 0.9375 kB / 0.921 GB, free: 21.4 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-06/0.8337, allocations: 1.781 kB / 0.921 GB, free: 21.4 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.834e-05/0.8338, allocations: 53.31 kB / 0.9211 GB, free: 21.39 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001882/0.834, allocations: 187.2 kB / 0.9213 GB, free: 21.2 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001762/0.8342, allocations: 98.75 kB / 0.9214 GB, free: 21.18 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.189e-05/0.8342, allocations: 30.19 kB / 0.9214 GB, free: 21.17 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002225/0.8344, allocations: 175.3 kB / 0.9215 GB, free: 20.98 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.945e-05/0.8345, allocations: 38.89 kB / 0.9216 GB, free: 20.94 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=12): time 1.393e-06/0.8345, allocations: 0 / 0.9216 GB, free: 20.94 MB / 0.7325 GB Notification: Performance of matching and sorting (n=19): time 0.001208/0.8357, allocations: 0.543 MB / 0.9221 GB, free: 20.67 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.854e-05/0.8358, allocations: 54.03 kB / 0.9222 GB, free: 20.61 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.986e-05/0.8358, allocations: 98.83 kB / 0.9223 GB, free: 20.51 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.088e-05/0.8358, allocations: 38.77 kB / 0.9223 GB, free: 20.47 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 2.589e-05/0.8359, allocations: 80.52 kB / 0.9224 GB, free: 20.39 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.078e-05/0.8359, allocations: 65.95 kB / 0.9224 GB, free: 20.35 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.444e-06/0.8359, allocations: 8.328 kB / 0.9224 GB, free: 20.35 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 8.745e-05/0.836, allocations: 319.6 kB / 0.9228 GB, free: 20.04 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.026e-05/0.8361, allocations: 35.02 kB / 0.9228 GB, free: 20.04 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.038e-05/0.8362, allocations: 67.36 kB / 0.9228 GB, free: 20 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.104e-05/0.8363, allocations: 47.11 kB / 0.9229 GB, free: 20 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.8363, allocations: 2.969 kB / 0.9229 GB, free: 20 MB / 0.7325 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001886/0.8365, allocations: 156.3 kB / 0.923 GB, free: 19.96 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.103e-05/0.8365, allocations: 5.719 kB / 0.9231 GB, free: 19.96 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.8365, allocations: 3.141 kB / 0.9231 GB, free: 19.96 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.136e-05/0.8365, allocations: 2.938 kB / 0.9231 GB, free: 19.96 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001497/0.8367, allocations: 36.98 kB / 0.9231 GB, free: 19.96 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.8367, allocations: 1.781 kB / 0.9231 GB, free: 19.96 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.667e-05/0.8367, allocations: 10.8 kB / 0.9231 GB, free: 19.96 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.057e-06/0.8367, allocations: 5.75 kB / 0.9231 GB, free: 19.96 MB / 0.7325 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 7.627e-05/0.8368, allocations: 124.8 kB / 0.9232 GB, free: 19.84 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.585e-05/0.8368, allocations: 10.34 kB / 0.9232 GB, free: 19.84 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.559e-05/0.8369, allocations: 18 kB / 0.9233 GB, free: 19.83 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.8369, allocations: 2.969 kB / 0.9233 GB, free: 19.83 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.8369, allocations: 0 / 0.9233 GB, free: 19.83 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.8369, allocations: 3.188 kB / 0.9233 GB, free: 19.83 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001338/0.8371, allocations: 199.3 kB / 0.9235 GB, free: 19.64 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.8371, allocations: 0 / 0.9235 GB, free: 19.64 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001711/0.8372, allocations: 36.84 kB / 0.9235 GB, free: 19.64 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.8373, allocations: 7.094 kB / 0.9235 GB, free: 19.64 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.172e-05/0.8373, allocations: 3.375 kB / 0.9235 GB, free: 19.64 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.8373, allocations: 3.391 kB / 0.9235 GB, free: 19.64 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.8373, allocations: 1.5 kB / 0.9235 GB, free: 19.64 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002449/0.8375, allocations: 206.7 kB / 0.9237 GB, free: 19.56 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.628e-05/0.8376, allocations: 96.69 kB / 0.9238 GB, free: 19.46 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.778e-05/0.8376, allocations: 6.781 kB / 0.9238 GB, free: 19.46 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001042/0.8377, allocations: 12.2 kB / 0.9238 GB, free: 19.46 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.159e-05/0.8378, allocations: 9.719 kB / 0.9238 GB, free: 19.46 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.099e-05/0.8378, allocations: 6.828 kB / 0.9238 GB, free: 19.46 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.674e-05/0.8378, allocations: 80.55 kB / 0.9239 GB, free: 19.38 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8378, allocations: 0 / 0.9239 GB, free: 19.38 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002094/0.838, allocations: 28.09 kB / 0.9239 GB, free: 19.38 MB / 0.7325 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.0001149/0.8382, allocations: 104 kB / 0.924 GB, free: 19.29 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001708/0.8383, allocations: 110.8 kB / 0.9241 GB, free: 19.29 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.8384, allocations: 0 / 0.9241 GB, free: 19.29 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 6.33e-05/0.8384, allocations: 53.67 kB / 0.9242 GB, free: 19.29 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002134/0.8386, allocations: 13.66 kB / 0.9242 GB, free: 19.29 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007092/0.8394, allocations: 0.6239 MB / 0.9248 GB, free: 18.86 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000224/0.8396, allocations: 0.7075 MB / 0.9255 GB, free: 18.16 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001206/0.8397, allocations: 22.31 kB / 0.9255 GB, free: 18.16 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.163e-05/0.8398, allocations: 16.88 kB / 0.9255 GB, free: 18.15 MB / 0.7325 GB Notification: Performance of SimCode: time 2.11e-07/0.8398, allocations: 0 / 0.9255 GB, free: 18.15 MB / 0.7325 GB Notification: Performance of Templates: time 0.003139/0.8429, allocations: 1.021 MB / 0.9265 GB, free: 18.06 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Media.Examples.AirDerivativeCheck.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Media.Examples.AirDerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Examples.AirDerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Media.Examples.AirDerivativeCheck.sim & ./Buildings_8_Buildings.Media.Examples.AirDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Media.Examples.AirDerivativeCheck.pipe 2>&1) Environment - environmentSimulation: