Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.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.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") translateModel(IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002111/0.002111, allocations: 182.9 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6694/0.6694, allocations: 92 MB / 108.5 MB, free: 13.07 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.513/1.513, allocations: 223.2 MB / 354.3 MB, free: 12.24 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.000904/0.000904, allocations: 103.2 kB / 427.4 MB, free: 3.949 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003177/0.0003177, allocations: 8 kB / 0.4982 GB, free: 42.35 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.172/0.1723, allocations: 72.31 MB / 0.5689 GB, free: 1.969 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.17/10.34, allocations: 4.142 GB / 4.711 GB, free: 100.5 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003647/10.34, allocations: 87.95 kB / 4.711 GB, free: 100.4 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.06845/10.41, allocations: 36.68 MB / 4.747 GB, free: 63.27 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.843e-06/10.41, allocations: 0 / 4.747 GB, free: 63.27 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.472e-06/10.41, allocations: 4 kB / 4.747 GB, free: 63.27 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003159/10.41, allocations: 355.8 kB / 4.747 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.622e-05/10.41, allocations: 8.031 kB / 4.747 GB, free: 62.87 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00019/10.41, allocations: 11.98 kB / 4.747 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.323e-05/10.41, allocations: 167 kB / 4.747 GB, free: 62.65 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.631e-05/10.41, allocations: 3.953 kB / 4.747 GB, free: 62.65 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.917e-05/10.41, allocations: 8 kB / 4.747 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001306/10.41, allocations: 57.66 kB / 4.747 GB, free: 62.58 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/10.41, allocations: 0 / 4.747 GB, free: 62.58 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/10.41, allocations: 0 / 4.747 GB, free: 62.58 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/10.41, allocations: 0 / 4.747 GB, free: 62.58 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.249e-05/10.41, allocations: 19.92 kB / 4.747 GB, free: 62.56 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001471/10.41, allocations: 161.7 kB / 4.747 GB, free: 62.35 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 7.051e-05/10.41, allocations: 46.56 kB / 4.747 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.455e-05/10.41, allocations: 11.94 kB / 4.747 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.794e-05/10.41, allocations: 38.55 kB / 4.747 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.412e-06/10.41, allocations: 3.938 kB / 4.747 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11): time 0.0006957/10.41, allocations: 378.1 kB / 4.748 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.768e-05/10.41, allocations: 51.41 kB / 4.748 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.055e-05/10.41, allocations: 85 kB / 4.748 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.267e-05/10.41, allocations: 37.83 kB / 4.748 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.976e-05/10.41, allocations: 80.14 kB / 4.748 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.982e-05/10.41, allocations: 39.45 kB / 4.748 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.608e-06/10.41, allocations: 0 / 4.748 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.06e-05/10.41, allocations: 322.8 kB / 4.748 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.946e-05/10.41, allocations: 12 kB / 4.748 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.254e-05/10.41, allocations: 37.7 kB / 4.748 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.3e-05/10.41, allocations: 20 kB / 4.748 GB, free: 61.1 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/10.41, allocations: 4 kB / 4.748 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001127/10.41, allocations: 101.5 kB / 4.749 GB, free: 60.99 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/10.41, allocations: 10.03 kB / 4.749 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/10.41, allocations: 0 / 4.749 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/10.41, allocations: 0 / 4.749 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001156/10.41, allocations: 23.98 kB / 4.749 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.154e-06/10.41, allocations: 0.7031 kB / 4.749 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.548e-05/10.41, allocations: 4 kB / 4.749 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.775e-06/10.41, allocations: 7.938 kB / 4.749 GB, free: 60.95 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (14): * Single equations (assignments): 14 * 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 6.934e-05/10.41, allocations: 117.8 kB / 4.749 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.637e-05/10.41, allocations: 7.953 kB / 4.749 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.813e-05/10.41, allocations: 11.97 kB / 4.749 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/10.41, allocations: 0 / 4.749 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/10.41, allocations: 4 kB / 4.749 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/10.41, allocations: 0 / 4.749 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.667e-05/10.41, allocations: 173.6 kB / 4.749 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-06/10.41, allocations: 0 / 4.749 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001201/10.41, allocations: 23.98 kB / 4.749 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/10.41, allocations: 3.953 kB / 4.749 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.217e-06/10.41, allocations: 4 kB / 4.749 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.479e-06/10.41, allocations: 0 / 4.749 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/10.41, allocations: 7.875 kB / 4.749 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001772/10.41, allocations: 129 kB / 4.749 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.81e-05/10.41, allocations: 89.05 kB / 4.749 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.698e-05/10.41, allocations: 7.953 kB / 4.749 GB, free: 60.28 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.578e-05/10.41, allocations: 0 / 4.749 GB, free: 60.28 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.965e-05/10.41, allocations: 7.984 kB / 4.749 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.866e-06/10.41, allocations: 12 kB / 4.749 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.184e-05/10.41, allocations: 75.28 kB / 4.749 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/10.41, allocations: 0 / 4.749 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003347/10.41, allocations: 55.92 kB / 4.749 GB, free: 60.13 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,hSteSym,hAirSym) * 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 (11): * Single equations (assignments): 11 * 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.0006922/10.41, allocations: 0.5669 MB / 4.75 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001394/10.41, allocations: 55.97 kB / 4.75 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/10.41, allocations: 0 / 4.75 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 3.539e-05/10.41, allocations: 23.94 kB / 4.75 GB, free: 59.49 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001389/10.41, allocations: 11.98 kB / 4.75 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005509/10.41, allocations: 387 kB / 4.75 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000133/10.41, allocations: 0.6965 MB / 4.751 GB, free: 58.35 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 7.213e-05/10.41, allocations: 8.672 kB / 4.751 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.183e-05/10.41, allocations: 11.44 kB / 4.751 GB, free: 58.33 MB / 0.6042 GB Notification: Performance of SimCode: time 3.2e-07/10.41, allocations: 0 / 4.751 GB, free: 58.33 MB / 0.6042 GB Notification: Performance of Templates: time 0.009796/10.42, allocations: 8.037 MB / 4.759 GB, free: 50.29 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.makefile (rm -f IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.sim & ./IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1)