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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.00209/0.00209, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5609/0.5609, allocations: 90.91 MB / 99.34 MB, free: 2.234 MB / 74.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: 221.5 MB / 343.2 MB, free: 1.574 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001159/0.001159, allocations: 105.4 kB / 416 MB, free: 11.09 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.857e-05/1.867e-05, allocations: 4 kB / 494.5 MB, free: 52.4 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1358/0.1358, allocations: 72.32 MB / 0.5535 GB, free: 12.27 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.228/4.364, allocations: 1.697 GB / 2.251 GB, free: 180.1 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001871/4.364, allocations: 68.62 kB / 2.251 GB, free: 180.1 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.05383/4.418, allocations: 29.17 MB / 2.279 GB, free: 172.9 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.293e-06/4.418, allocations: 0 / 2.279 GB, free: 172.9 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.073e-06/4.418, allocations: 7.125 kB / 2.279 GB, free: 172.9 MB / 0.6042 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.0003321/4.418, allocations: 374.1 kB / 2.28 GB, free: 172.5 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/4.418, allocations: 11.47 kB / 2.28 GB, free: 172.5 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003525/4.419, allocations: 31.06 kB / 2.28 GB, free: 172.5 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.441e-05/4.419, allocations: 170.9 kB / 2.28 GB, free: 172.3 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.448e-05/4.419, allocations: 4 kB / 2.28 GB, free: 172.3 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.353e-05/4.419, allocations: 11.78 kB / 2.28 GB, free: 172.3 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001171/4.419, allocations: 46.02 kB / 2.28 GB, free: 172.2 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001036/4.419, allocations: 60.55 kB / 2.28 GB, free: 172.2 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.714e-06/4.419, allocations: 0 / 2.28 GB, free: 172.2 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.48e-05/4.419, allocations: 4 kB / 2.28 GB, free: 172.2 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/4.419, allocations: 0 / 2.28 GB, free: 172.2 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001474/4.419, allocations: 153.1 kB / 2.28 GB, free: 172 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001257/4.42, allocations: 92.17 kB / 2.28 GB, free: 172 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.578e-05/4.42, allocations: 23.86 kB / 2.28 GB, free: 172 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002108/4.42, allocations: 177.1 kB / 2.28 GB, free: 171.8 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.054e-05/4.42, allocations: 34.44 kB / 2.28 GB, free: 171.8 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=12): time 1.523e-06/4.42, allocations: 0 / 2.28 GB, free: 171.8 MB / 0.6042 GB Notification: Performance of matching and sorting (n=19): time 0.00107/4.421, allocations: 490.5 kB / 2.281 GB, free: 171.4 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.125e-05/4.421, allocations: 62.91 kB / 2.281 GB, free: 171.4 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.746e-05/4.421, allocations: 88.98 kB / 2.281 GB, free: 171.3 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.479e-05/4.421, allocations: 33.7 kB / 2.281 GB, free: 171.2 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.553e-05/4.421, allocations: 80.52 kB / 2.281 GB, free: 171.1 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.228e-05/4.421, allocations: 62.45 kB / 2.281 GB, free: 171.1 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.861e-06/4.421, allocations: 0 / 2.281 GB, free: 171.1 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.918e-05/4.421, allocations: 318.5 kB / 2.281 GB, free: 170.8 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.015e-05/4.421, allocations: 29.78 kB / 2.281 GB, free: 170.8 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.3e-05/4.421, allocations: 68.48 kB / 2.281 GB, free: 170.7 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.116e-05/4.421, allocations: 42.06 kB / 2.282 GB, free: 170.7 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/4.421, allocations: 0 / 2.282 GB, free: 170.7 MB / 0.6042 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001552/4.422, allocations: 128.5 kB / 2.282 GB, free: 170.7 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/4.422, allocations: 3.875 kB / 2.282 GB, free: 170.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/4.422, allocations: 3.875 kB / 2.282 GB, free: 170.7 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/4.422, allocations: 3.938 kB / 2.282 GB, free: 170.7 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001547/4.422, allocations: 38.8 kB / 2.282 GB, free: 170.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.645e-06/4.422, allocations: 11.81 kB / 2.282 GB, free: 170.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.209e-05/4.422, allocations: 0 / 2.282 GB, free: 170.7 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.538e-06/4.422, allocations: 7.406 kB / 2.282 GB, free: 170.7 MB / 0.6042 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 () * 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 5.583e-05/4.422, allocations: 112.4 kB / 2.282 GB, free: 170.5 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.799e-05/4.422, allocations: 7.531 kB / 2.282 GB, free: 170.5 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.287e-05/4.422, allocations: 19.59 kB / 2.282 GB, free: 170.5 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/4.422, allocations: 0 / 2.282 GB, free: 170.5 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/4.422, allocations: 0 / 2.282 GB, free: 170.5 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/4.422, allocations: 3.953 kB / 2.282 GB, free: 170.5 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001029/4.422, allocations: 171.9 kB / 2.282 GB, free: 170.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/4.422, allocations: 0 / 2.282 GB, free: 170.4 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001781/4.422, allocations: 34.05 kB / 2.282 GB, free: 170.4 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/4.422, allocations: 4 kB / 2.282 GB, free: 170.4 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.119e-05/4.422, allocations: 128 / 2.282 GB, free: 170.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/4.422, allocations: 7.75 kB / 2.282 GB, free: 170.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/4.422, allocations: 0 / 2.282 GB, free: 170.3 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002177/4.423, allocations: 195.4 kB / 2.282 GB, free: 170.3 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.374e-05/4.423, allocations: 88.25 kB / 2.282 GB, free: 170.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.785e-05/4.423, allocations: 3.156 kB / 2.282 GB, free: 170.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001146/4.423, allocations: 7.219 kB / 2.282 GB, free: 170.1 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.844e-05/4.423, allocations: 11.08 kB / 2.282 GB, free: 170.1 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.213e-05/4.423, allocations: 13.64 kB / 2.282 GB, free: 170.1 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.649e-05/4.423, allocations: 75.28 kB / 2.282 GB, free: 170.1 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/4.423, allocations: 0 / 2.282 GB, free: 170.1 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002689/4.423, allocations: 51.45 kB / 2.282 GB, free: 170.1 MB / 0.6042 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 () * 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.0006574/4.424, allocations: 0.6324 MB / 2.283 GB, free: 169.7 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001528/4.424, allocations: 96.09 kB / 2.283 GB, free: 169.7 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/4.424, allocations: 0 / 2.283 GB, free: 169.7 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 4.97e-05/4.424, allocations: 59.97 kB / 2.283 GB, free: 169.7 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001554/4.424, allocations: 3.906 kB / 2.283 GB, free: 169.7 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005793/4.425, allocations: 449.5 kB / 2.284 GB, free: 169.3 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001138/4.425, allocations: 0.7005 MB / 2.284 GB, free: 168.6 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001274/4.425, allocations: 28.45 kB / 2.284 GB, free: 168.6 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.952e-05/4.425, allocations: 23.19 kB / 2.284 GB, free: 168.6 MB / 0.6042 GB Notification: Performance of SimCode: time 3.2e-07/4.425, allocations: 0 / 2.284 GB, free: 168.6 MB / 0.6042 GB Notification: Performance of Templates: time 0.006148/4.431, allocations: 4.131 MB / 2.288 GB, free: 166.5 MB / 0.6042 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)