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 3.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 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.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.001365/0.001365, allocations: 171.7 kB / 16.76 MB, free: 5.023 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4561/0.4561, allocations: 86.28 MB / 103.8 MB, free: 14.56 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.395/1.395, allocations: 223.3 MB / 348.4 MB, free: 5.012 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000843/0.0008429, allocations: 99.28 kB / 420.2 MB, free: 9.637 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003967/0.0003967, allocations: 16 kB / 0.4901 GB, free: 7.996 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3679/0.3683, allocations: 71.01 MB / 0.5594 GB, free: 43.79 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.725/4.094, allocations: 1.696 GB / 2.256 GB, free: 112.7 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003377/4.094, allocations: 76.45 kB / 2.256 GB, free: 112.6 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.05769/4.152, allocations: 29.76 MB / 2.285 GB, free: 82.62 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.314e-06/4.152, allocations: 0 / 2.285 GB, free: 82.62 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.244e-06/4.152, allocations: 0 / 2.285 GB, free: 82.62 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.0003863/4.152, allocations: 383.4 kB / 2.285 GB, free: 82.2 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/4.152, allocations: 12.03 kB / 2.285 GB, free: 82.19 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003575/4.153, allocations: 36.83 kB / 2.285 GB, free: 82.15 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.283e-05/4.153, allocations: 168.3 kB / 2.286 GB, free: 81.95 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.465e-05/4.153, allocations: 4.375 kB / 2.286 GB, free: 81.95 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.341e-05/4.153, allocations: 16.28 kB / 2.286 GB, free: 81.93 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001679/4.153, allocations: 74.09 kB / 2.286 GB, free: 81.85 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.196e-06/4.153, allocations: 192 / 2.286 GB, free: 81.85 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.614e-05/4.153, allocations: 15.94 kB / 2.286 GB, free: 81.84 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/4.153, allocations: 0 / 2.286 GB, free: 81.84 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.189e-05/4.153, allocations: 43.95 kB / 2.286 GB, free: 81.79 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001698/4.153, allocations: 177.6 kB / 2.286 GB, free: 81.57 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001465/4.153, allocations: 90.62 kB / 2.286 GB, free: 81.47 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.251e-05/4.153, allocations: 24.84 kB / 2.286 GB, free: 81.45 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001958/4.154, allocations: 182.5 kB / 2.286 GB, free: 81.23 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.042e-05/4.154, allocations: 30.56 kB / 2.286 GB, free: 81.19 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=12): time 1.352e-06/4.154, allocations: 7.938 kB / 2.286 GB, free: 81.18 MB / 0.6042 GB Notification: Performance of matching and sorting (n=19): time 0.001161/4.155, allocations: 0.5358 MB / 2.287 GB, free: 80.6 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.461e-05/4.155, allocations: 59.41 kB / 2.287 GB, free: 80.53 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.802e-05/4.155, allocations: 89.86 kB / 2.287 GB, free: 80.43 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.566e-05/4.155, allocations: 37.64 kB / 2.287 GB, free: 80.39 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.991e-05/4.155, allocations: 84.5 kB / 2.287 GB, free: 80.3 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.855e-05/4.155, allocations: 71 kB / 2.287 GB, free: 80.23 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.41e-06/4.155, allocations: 0 / 2.287 GB, free: 80.23 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.441e-05/4.155, allocations: 323 kB / 2.287 GB, free: 79.9 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.568e-05/4.155, allocations: 39.97 kB / 2.287 GB, free: 79.86 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.979e-05/4.155, allocations: 70.11 kB / 2.288 GB, free: 79.79 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000136/4.155, allocations: 111.4 kB / 2.288 GB, free: 79.66 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/4.155, allocations: 3.938 kB / 2.288 GB, free: 79.66 MB / 0.6042 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001901/4.156, allocations: 157.5 kB / 2.288 GB, free: 79.5 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/4.156, allocations: 12 kB / 2.288 GB, free: 79.49 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/4.156, allocations: 0 / 2.288 GB, free: 79.49 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/4.156, allocations: 4 kB / 2.288 GB, free: 79.48 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001559/4.156, allocations: 35.92 kB / 2.288 GB, free: 79.45 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.716e-06/4.156, allocations: 4 kB / 2.288 GB, free: 79.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.102e-05/4.156, allocations: 4 kB / 2.288 GB, free: 79.44 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.111e-05/4.156, allocations: 8 kB / 2.288 GB, free: 79.43 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 () * 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.526e-05/4.156, allocations: 129.7 kB / 2.288 GB, free: 79.3 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.592e-05/4.156, allocations: 11.91 kB / 2.288 GB, free: 79.29 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.082e-05/4.156, allocations: 16.44 kB / 2.288 GB, free: 79.27 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/4.156, allocations: 4 kB / 2.288 GB, free: 79.27 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.441e-06/4.156, allocations: 0 / 2.288 GB, free: 79.27 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/4.156, allocations: 0 / 2.288 GB, free: 79.27 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001147/4.156, allocations: 197.6 kB / 2.288 GB, free: 79.03 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/4.156, allocations: 0 / 2.288 GB, free: 79.03 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000178/4.156, allocations: 35.98 kB / 2.288 GB, free: 78.99 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/4.156, allocations: 0 / 2.288 GB, free: 78.99 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.142e-05/4.156, allocations: 3.984 kB / 2.288 GB, free: 78.99 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.624e-06/4.156, allocations: 7.875 kB / 2.288 GB, free: 78.98 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/4.156, allocations: 8 kB / 2.288 GB, free: 78.97 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002624/4.157, allocations: 200.9 kB / 2.288 GB, free: 78.76 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.774e-05/4.157, allocations: 93 kB / 2.289 GB, free: 78.65 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.976e-05/4.157, allocations: 4.062 kB / 2.289 GB, free: 78.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001079/4.157, allocations: 15.92 kB / 2.289 GB, free: 78.63 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.323e-05/4.157, allocations: 7.984 kB / 2.289 GB, free: 78.62 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.156e-05/4.157, allocations: 8 kB / 2.289 GB, free: 78.61 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.041e-05/4.157, allocations: 83.28 kB / 2.289 GB, free: 78.53 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2e-07/4.157, allocations: 0 / 2.289 GB, free: 78.53 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003307/4.157, allocations: 59.98 kB / 2.289 GB, free: 78.47 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 () * 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.0006262/4.158, allocations: 0.5589 MB / 2.289 GB, free: 77.91 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000228/4.158, allocations: 102 kB / 2.289 GB, free: 77.81 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/4.158, allocations: 0 / 2.289 GB, free: 77.81 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 5.978e-05/4.158, allocations: 51.92 kB / 2.289 GB, free: 77.76 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002006/4.158, allocations: 24.48 kB / 2.289 GB, free: 77.73 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007372/4.159, allocations: 0.6006 MB / 2.29 GB, free: 77.1 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001539/4.159, allocations: 0.7011 MB / 2.291 GB, free: 76.37 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001464/4.16, allocations: 28.62 kB / 2.291 GB, free: 76.34 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.979e-05/4.16, allocations: 19.38 kB / 2.291 GB, free: 76.32 MB / 0.6042 GB Notification: Performance of SimCode: time 3.4e-07/4.16, allocations: 0 / 2.291 GB, free: 76.32 MB / 0.6042 GB Notification: Performance of Templates: time 0.01029/4.17, allocations: 8.173 MB / 2.299 GB, free: 68.15 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)