Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.SteamDerivativeCheck.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.SteamDerivativeCheck,tolerance=1e-10,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.SteamDerivativeCheck") translateModel(IBPSA.Media.Examples.SteamDerivativeCheck,tolerance=1e-10,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.SteamDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001378/0.001378, allocations: 183.1 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.5651/0.5651, allocations: 91.99 MB / 108.5 MB, free: 13.04 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.663/1.663, allocations: 223.2 MB / 354.3 MB, free: 12.2 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.001032/0.001032, allocations: 100.1 kB / 427.4 MB, free: 3.934 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003808/0.0003808, allocations: 12 kB / 0.4982 GB, free: 42.32 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1918/0.1922, allocations: 72.31 MB / 0.5688 GB, free: 1.945 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.347/1.539, allocations: 409.4 MB / 0.9686 GB, free: 56 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003266/1.539, allocations: 74.72 kB / 0.9687 GB, free: 55.96 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.08555/1.625, allocations: 36.82 MB / 1.005 GB, free: 21.12 MB / 0.5886 GB Notification: Performance of FrontEnd: time 3.176e-06/1.625, allocations: 4 kB / 1.005 GB, free: 21.12 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 7.164e-06/1.625, allocations: 0 / 1.005 GB, free: 21.12 MB / 0.5886 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.0007442/1.626, allocations: 371.8 kB / 1.005 GB, free: 20.71 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.69e-05/1.626, allocations: 8.031 kB / 1.005 GB, free: 20.7 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000206/1.626, allocations: 11.98 kB / 1.005 GB, free: 20.69 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.479e-05/1.626, allocations: 159.1 kB / 1.005 GB, free: 20.49 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.986e-05/1.626, allocations: 4 kB / 1.005 GB, free: 20.49 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.01e-05/1.626, allocations: 8 kB / 1.005 GB, free: 20.48 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001761/1.627, allocations: 57.66 kB / 1.005 GB, free: 20.42 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/1.627, allocations: 3.953 kB / 1.005 GB, free: 20.41 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.702e-05/1.627, allocations: 4 kB / 1.005 GB, free: 20.41 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/1.627, allocations: 0 / 1.005 GB, free: 20.41 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.694e-05/1.627, allocations: 23.86 kB / 1.005 GB, free: 20.39 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001788/1.627, allocations: 161.7 kB / 1.005 GB, free: 20.18 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001061/1.627, allocations: 54.61 kB / 1.005 GB, free: 20.12 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009738/1.637, allocations: 3.131 MB / 1.009 GB, free: 16.89 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.666e-05/1.637, allocations: 30.56 kB / 1.009 GB, free: 16.85 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=7): time 2.394e-06/1.637, allocations: 0 / 1.009 GB, free: 16.85 MB / 0.5886 GB Notification: Performance of matching and sorting (n=11): time 0.028/1.665, allocations: 13.45 MB / 1.022 GB, free: 3.254 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.317e-05/1.665, allocations: 51.41 kB / 1.022 GB, free: 3.191 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.361e-05/1.665, allocations: 96.98 kB / 1.022 GB, free: 3.09 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.082e-05/1.665, allocations: 25.7 kB / 1.022 GB, free: 3.059 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 1.955e-05/1.665, allocations: 80.14 kB / 1.022 GB, free: 2.977 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 4.798e-05/1.665, allocations: 43.36 kB / 1.022 GB, free: 2.934 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.184e-06/1.665, allocations: 4 kB / 1.022 GB, free: 2.93 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.158e-05/1.665, allocations: 315 kB / 1.022 GB, free: 2.613 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.018e-05/1.665, allocations: 23.98 kB / 1.022 GB, free: 2.59 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.382e-05/1.665, allocations: 23.98 kB / 1.022 GB, free: 2.566 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.826e-05/1.665, allocations: 25 kB / 1.022 GB, free: 2.543 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/1.665, allocations: 0 / 1.022 GB, free: 2.543 MB / 0.5886 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002095/1.666, allocations: 101.7 kB / 1.022 GB, free: 2.438 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.024e-05/1.666, allocations: 11.89 kB / 1.022 GB, free: 2.426 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/1.666, allocations: 0 / 1.022 GB, free: 2.426 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.191e-05/1.666, allocations: 7.984 kB / 1.022 GB, free: 2.418 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001202/1.666, allocations: 27.92 kB / 1.023 GB, free: 2.391 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.227e-06/1.666, allocations: 7.984 kB / 1.023 GB, free: 2.383 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.127e-05/1.666, allocations: 4 kB / 1.023 GB, free: 2.379 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.285e-05/1.666, allocations: 11.98 kB / 1.023 GB, free: 2.367 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 7.573e-05/1.666, allocations: 113.8 kB / 1.023 GB, free: 2.246 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.687e-05/1.666, allocations: 7.906 kB / 1.023 GB, free: 2.238 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002779/1.666, allocations: 133.4 kB / 1.023 GB, free: 2.098 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/1.666, allocations: 0 / 1.023 GB, free: 2.098 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.645e-06/1.666, allocations: 4 kB / 1.023 GB, free: 2.094 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/1.666, allocations: 0 / 1.023 GB, free: 2.094 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001214/1.666, allocations: 173.6 kB / 1.023 GB, free: 1.875 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/1.666, allocations: 0 / 1.023 GB, free: 1.875 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001231/1.667, allocations: 27.98 kB / 1.023 GB, free: 1.848 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/1.667, allocations: 0 / 1.023 GB, free: 1.848 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.104e-05/1.667, allocations: 0 / 1.023 GB, free: 1.848 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/1.667, allocations: 7.953 kB / 1.023 GB, free: 1.84 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.077e-06/1.667, allocations: 7.984 kB / 1.023 GB, free: 1.832 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000262/1.667, allocations: 151.8 kB / 1.023 GB, free: 1.668 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 6.271e-05/1.667, allocations: 97.03 kB / 1.023 GB, free: 1.555 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.041e-05/1.667, allocations: 8 kB / 1.023 GB, free: 1.547 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001346/1.667, allocations: 12 kB / 1.023 GB, free: 1.535 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.241e-05/1.667, allocations: 11.94 kB / 1.023 GB, free: 1.523 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.203e-05/1.667, allocations: 7.984 kB / 1.023 GB, free: 1.516 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.085e-05/1.667, allocations: 79.28 kB / 1.023 GB, free: 1.438 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.01e-07/1.667, allocations: 3.938 kB / 1.023 GB, free: 1.434 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.002661/1.67, allocations: 0.5975 MB / 1.024 GB, free: 0.8359 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hVapSym,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 (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.004872/1.675, allocations: 0.7548 MB / 1.025 GB, free: 80 kB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002757/1.675, allocations: 60.3 kB / 1.025 GB, free: 20 kB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/1.675, allocations: 0 / 1.025 GB, free: 20 kB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001078/1.675, allocations: 36.34 kB / 1.025 GB, free: 15.98 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002228/1.675, allocations: 11.88 kB / 1.025 GB, free: 15.97 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008369/1.676, allocations: 407 kB / 1.025 GB, free: 15.54 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003474/1.677, allocations: 0.6926 MB / 1.026 GB, free: 14.82 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001306/1.677, allocations: 28.53 kB / 1.026 GB, free: 14.79 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.4e-05/1.677, allocations: 11.44 kB / 1.026 GB, free: 14.78 MB / 0.6042 GB Notification: Performance of SimCode: time 7.41e-07/1.677, allocations: 4 kB / 1.026 GB, free: 14.78 MB / 0.6042 GB Notification: Performance of Templates: time 0.5307/2.208, allocations: 27.26 MB / 1.052 GB, free: 155.3 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.Media.Examples.SteamDerivativeCheck.makefile (rm -f IBPSA_latest_IBPSA.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.SteamDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.SteamDerivativeCheck.sim & ./IBPSA_latest_IBPSA.Media.Examples.SteamDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Examples.SteamDerivativeCheck.pipe 2>&1)