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.0009418/0.0009419, allocations: 177.6 kB / 8.005 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.4901/0.4901, allocations: 90.91 MB / 99.34 MB, free: 2.191 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.496/1.496, allocations: 221.5 MB / 343.2 MB, free: 1.602 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.001052/0.001052, allocations: 91.89 kB / 415.9 MB, free: 11.16 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.194e-05/1.195e-05, allocations: 0 / 494.5 MB, free: 52.44 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1532/0.1533, allocations: 72.32 MB / 0.5535 GB, free: 12.3 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.207/1.36, allocations: 408.6 MB / 0.9526 GB, free: 70.47 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002746/1.361, allocations: 71.53 kB / 0.9527 GB, free: 70.44 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.07769/1.438, allocations: 36.18 MB / 0.988 GB, free: 38.68 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.423e-06/1.438, allocations: 0 / 0.988 GB, free: 38.68 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 7.133e-06/1.438, allocations: 4 kB / 0.988 GB, free: 38.67 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.0004492/1.439, allocations: 363 kB / 0.9883 GB, free: 38.27 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.716e-05/1.439, allocations: 12.03 kB / 0.9883 GB, free: 38.26 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001651/1.439, allocations: 19.89 kB / 0.9884 GB, free: 38.24 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.137e-05/1.439, allocations: 159.1 kB / 0.9885 GB, free: 38.05 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/1.439, allocations: 0 / 0.9885 GB, free: 38.05 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.917e-05/1.439, allocations: 4 kB / 0.9885 GB, free: 38.04 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.388e-05/1.439, allocations: 19.91 kB / 0.9885 GB, free: 38.02 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.837e-05/1.439, allocations: 53.62 kB / 0.9886 GB, free: 37.96 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/1.439, allocations: 0 / 0.9886 GB, free: 37.96 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.397e-05/1.439, allocations: 4 kB / 0.9886 GB, free: 37.96 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/1.439, allocations: 4 kB / 0.9886 GB, free: 37.96 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001464/1.44, allocations: 134.2 kB / 0.9887 GB, free: 37.79 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 7.333e-05/1.44, allocations: 46.56 kB / 0.9888 GB, free: 37.73 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.422e-05/1.44, allocations: 16.86 kB / 0.9888 GB, free: 37.71 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008996/1.449, allocations: 3.143 MB / 0.9919 GB, free: 34.48 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.759e-05/1.449, allocations: 38.5 kB / 0.9919 GB, free: 34.43 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=7): time 1.994e-06/1.449, allocations: 0 / 0.9919 GB, free: 34.43 MB / 0.5886 GB Notification: Performance of matching and sorting (n=11): time 0.02634/1.475, allocations: 13.4 MB / 1.005 GB, free: 20.88 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.018e-05/1.475, allocations: 51.41 kB / 1.005 GB, free: 20.82 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.967e-05/1.475, allocations: 92.98 kB / 1.005 GB, free: 20.72 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.191e-05/1.475, allocations: 25.7 kB / 1.005 GB, free: 20.69 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 1.728e-05/1.475, allocations: 80.14 kB / 1.005 GB, free: 20.61 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.303e-05/1.475, allocations: 35.45 kB / 1.005 GB, free: 20.57 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.559e-06/1.475, allocations: 0 / 1.005 GB, free: 20.57 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 5.364e-05/1.475, allocations: 318.8 kB / 1.006 GB, free: 20.25 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.676e-05/1.475, allocations: 16.12 kB / 1.006 GB, free: 20.24 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.546e-05/1.475, allocations: 20 kB / 1.006 GB, free: 20.22 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.802e-05/1.476, allocations: 23.98 kB / 1.006 GB, free: 20.2 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.103e-06/1.476, allocations: 0 / 1.006 GB, free: 20.2 MB / 0.5886 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001626/1.476, allocations: 94.52 kB / 1.006 GB, free: 20.1 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/1.476, allocations: 4 kB / 1.006 GB, free: 20.09 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/1.476, allocations: 0 / 1.006 GB, free: 20.09 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/1.476, allocations: 11.94 kB / 1.006 GB, free: 20.08 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001049/1.476, allocations: 27.92 kB / 1.006 GB, free: 20.05 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/1.476, allocations: 3.984 kB / 1.006 GB, free: 20.05 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.336e-05/1.476, allocations: 4 kB / 1.006 GB, free: 20.05 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.115e-05/1.476, allocations: 8 kB / 1.006 GB, free: 20.04 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 () * 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 5.255e-05/1.476, allocations: 101 kB / 1.006 GB, free: 19.93 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.221e-05/1.476, allocations: 4 kB / 1.006 GB, free: 19.93 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002307/1.476, allocations: 125.8 kB / 1.006 GB, free: 19.8 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/1.476, allocations: 7.953 kB / 1.006 GB, free: 19.79 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/1.476, allocations: 0 / 1.006 GB, free: 19.79 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/1.476, allocations: 0 / 1.006 GB, free: 19.79 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.649e-05/1.476, allocations: 150.2 kB / 1.006 GB, free: 19.61 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/1.476, allocations: 0 / 1.006 GB, free: 19.61 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001202/1.477, allocations: 23.98 kB / 1.006 GB, free: 19.59 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.073e-06/1.477, allocations: 0 / 1.006 GB, free: 19.59 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.258e-06/1.477, allocations: 4 kB / 1.006 GB, free: 19.58 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/1.477, allocations: 0 / 1.006 GB, free: 19.58 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/1.477, allocations: 4 kB / 1.006 GB, free: 19.58 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002166/1.477, allocations: 148.8 kB / 1.006 GB, free: 19.41 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.077e-05/1.477, allocations: 93.12 kB / 1.006 GB, free: 19.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.604e-05/1.477, allocations: 0 / 1.006 GB, free: 19.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001258/1.477, allocations: 19.98 kB / 1.006 GB, free: 19.29 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.215e-05/1.477, allocations: 15.98 kB / 1.006 GB, free: 19.27 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.014e-05/1.477, allocations: 4 kB / 1.006 GB, free: 19.27 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 1.538e-05/1.477, allocations: 75.28 kB / 1.007 GB, free: 19.19 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.31e-07/1.477, allocations: 0 / 1.007 GB, free: 19.19 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.001787/1.479, allocations: 0.6013 MB / 1.007 GB, free: 18.59 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 () * 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.002927/1.482, allocations: 0.8168 MB / 1.008 GB, free: 17.77 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001058/1.482, allocations: 59.94 kB / 1.008 GB, free: 17.71 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/1.482, allocations: 0 / 1.008 GB, free: 17.71 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 3.274e-05/1.482, allocations: 35.86 kB / 1.008 GB, free: 17.67 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001257/1.482, allocations: 4.234 kB / 1.008 GB, free: 17.67 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003857/1.482, allocations: 288.1 kB / 1.008 GB, free: 17.36 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001033/1.483, allocations: 0.6885 MB / 1.009 GB, free: 16.64 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 8.632e-05/1.483, allocations: 20.55 kB / 1.009 GB, free: 16.62 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.205e-05/1.483, allocations: 15.44 kB / 1.009 GB, free: 16.61 MB / 0.5886 GB Notification: Performance of SimCode: time 2.2e-07/1.483, allocations: 0 / 1.009 GB, free: 16.61 MB / 0.5886 GB Notification: Performance of Templates: time 0.03528/1.518, allocations: 23.63 MB / 1.032 GB, free: 8.941 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)