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.001252/0.001252, allocations: 179.4 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4628/0.4628, allocations: 90.81 MB / 104.5 MB, free: 9.793 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.256/1.256, allocations: 221.3 MB / 348.3 MB, free: 460 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008002/0.0008002, allocations: 95.89 kB / 421.2 MB, free: 5.48 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.991e-05/2.992e-05, allocations: 4 kB / 0.4896 GB, free: 5.379 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3756/0.3756, allocations: 72.31 MB / 0.5602 GB, free: 40.45 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.758/4.133, allocations: 1.698 GB / 2.258 GB, free: 49.31 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002221/4.134, allocations: 73.39 kB / 2.258 GB, free: 49.27 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.05563/4.189, allocations: 29.72 MB / 2.287 GB, free: 24.4 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.272e-06/4.189, allocations: 0 / 2.287 GB, free: 24.4 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.961e-06/4.189, allocations: 0 / 2.287 GB, free: 24.4 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.0003152/4.19, allocations: 374.8 kB / 2.287 GB, free: 23.99 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/4.19, allocations: 15.98 kB / 2.287 GB, free: 23.98 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003589/4.19, allocations: 34.47 kB / 2.287 GB, free: 23.95 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.255e-05/4.19, allocations: 171.9 kB / 2.288 GB, free: 23.74 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.536e-05/4.19, allocations: 7.5 kB / 2.288 GB, free: 23.73 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.132e-05/4.19, allocations: 14.66 kB / 2.288 GB, free: 23.72 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001534/4.19, allocations: 74.09 kB / 2.288 GB, free: 23.66 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/4.19, allocations: 0 / 2.288 GB, free: 23.66 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.568e-05/4.19, allocations: 3 kB / 2.288 GB, free: 23.66 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/4.19, allocations: 0 / 2.288 GB, free: 23.66 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.708e-05/4.19, allocations: 46.16 kB / 2.288 GB, free: 23.62 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001595/4.191, allocations: 180.4 kB / 2.288 GB, free: 23.4 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001368/4.191, allocations: 87.22 kB / 2.288 GB, free: 23.32 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.257e-05/4.191, allocations: 27.95 kB / 2.288 GB, free: 23.3 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001887/4.191, allocations: 178.2 kB / 2.288 GB, free: 23.09 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.316e-05/4.191, allocations: 40.94 kB / 2.288 GB, free: 23.04 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=12): time 1.183e-06/4.191, allocations: 0 / 2.288 GB, free: 23.04 MB / 0.6042 GB Notification: Performance of matching and sorting (n=19): time 0.001091/4.192, allocations: 0.5151 MB / 2.289 GB, free: 22.54 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.256e-05/4.192, allocations: 55.41 kB / 2.289 GB, free: 22.47 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.335e-05/4.192, allocations: 99.67 kB / 2.289 GB, free: 22.37 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.623e-05/4.192, allocations: 30.48 kB / 2.289 GB, free: 22.34 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.742e-05/4.192, allocations: 80.52 kB / 2.289 GB, free: 22.25 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.755e-05/4.192, allocations: 70.94 kB / 2.289 GB, free: 22.2 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.911e-06/4.192, allocations: 0 / 2.289 GB, free: 22.2 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.547e-05/4.192, allocations: 323.8 kB / 2.289 GB, free: 21.88 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.332e-05/4.192, allocations: 34.12 kB / 2.289 GB, free: 21.85 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.409e-05/4.193, allocations: 71.05 kB / 2.289 GB, free: 21.78 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.174e-05/4.193, allocations: 43.84 kB / 2.289 GB, free: 21.75 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/4.193, allocations: 0 / 2.289 GB, free: 21.75 MB / 0.6042 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001905/4.193, allocations: 145 kB / 2.29 GB, free: 21.63 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/4.193, allocations: 11.98 kB / 2.29 GB, free: 21.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/4.193, allocations: 3.953 kB / 2.29 GB, free: 21.61 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/4.193, allocations: 0 / 2.29 GB, free: 21.61 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001651/4.193, allocations: 42.48 kB / 2.29 GB, free: 21.57 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.976e-06/4.193, allocations: 8.141 kB / 2.29 GB, free: 21.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.529e-05/4.193, allocations: 6.609 kB / 2.29 GB, free: 21.56 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.103e-05/4.193, allocations: 12 kB / 2.29 GB, free: 21.55 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.531e-05/4.193, allocations: 116.4 kB / 2.29 GB, free: 21.44 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.753e-05/4.193, allocations: 11.91 kB / 2.29 GB, free: 21.43 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.023e-05/4.193, allocations: 16.09 kB / 2.29 GB, free: 21.43 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/4.193, allocations: 4.078 kB / 2.29 GB, free: 21.42 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/4.193, allocations: 4 kB / 2.29 GB, free: 21.42 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/4.193, allocations: 7.984 kB / 2.29 GB, free: 21.41 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001102/4.193, allocations: 189 kB / 2.29 GB, free: 21.19 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/4.193, allocations: 0 / 2.29 GB, free: 21.19 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001779/4.194, allocations: 44.95 kB / 2.29 GB, free: 21.15 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/4.194, allocations: 0 / 2.29 GB, free: 21.15 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.271e-05/4.194, allocations: 5.938 kB / 2.29 GB, free: 21.14 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/4.194, allocations: 3.953 kB / 2.29 GB, free: 21.14 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/4.194, allocations: 3.938 kB / 2.29 GB, free: 21.14 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002519/4.194, allocations: 201.4 kB / 2.29 GB, free: 20.96 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.478e-05/4.194, allocations: 92.62 kB / 2.29 GB, free: 20.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.807e-05/4.194, allocations: 4 kB / 2.29 GB, free: 20.85 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001168/4.194, allocations: 11.25 kB / 2.29 GB, free: 20.84 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.139e-05/4.194, allocations: 15.19 kB / 2.29 GB, free: 20.83 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.034e-05/4.194, allocations: 4 kB / 2.29 GB, free: 20.83 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.799e-05/4.194, allocations: 81.81 kB / 2.29 GB, free: 20.75 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.31e-07/4.194, allocations: 0 / 2.29 GB, free: 20.75 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003043/4.195, allocations: 61.67 kB / 2.291 GB, free: 20.71 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.0005715/4.195, allocations: 0.5523 MB / 2.291 GB, free: 20.18 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001729/4.195, allocations: 103.6 kB / 2.291 GB, free: 20.08 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/4.195, allocations: 0 / 2.291 GB, free: 20.08 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 5.764e-05/4.195, allocations: 51.92 kB / 2.291 GB, free: 20.03 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001585/4.196, allocations: 16.11 kB / 2.291 GB, free: 20.02 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005796/4.196, allocations: 458.5 kB / 2.292 GB, free: 19.54 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001189/4.196, allocations: 0.705 MB / 2.292 GB, free: 18.8 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001207/4.196, allocations: 24.75 kB / 2.292 GB, free: 18.78 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.16e-05/4.196, allocations: 15.44 kB / 2.292 GB, free: 18.77 MB / 0.6042 GB Notification: Performance of SimCode: time 7.71e-07/4.196, allocations: 0 / 2.292 GB, free: 18.77 MB / 0.6042 GB Notification: Performance of Templates: time 0.01048/4.207, allocations: 9.793 MB / 2.302 GB, free: 8.961 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)