Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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(IDEAS.Media.Examples.SteamDerivativeCheck,tolerance=1e-10,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheck") translateModel(IDEAS.Media.Examples.SteamDerivativeCheck,tolerance=1e-10,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007978/0.007978, allocations: 171.1 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7902/0.7902, allocations: 135.2 MB / 151.1 MB, free: 13.82 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.661/1.661, allocations: 223.2 MB / 406.9 MB, free: 3.219 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001245/0.001245, allocations: 103.2 kB / 490 MB, free: 10.93 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003869/0.0003873, allocations: 8 kB / 0.5691 GB, free: 14.2 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5544/0.5548, allocations: 82.31 MB / 0.6495 GB, free: 36.16 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.573/2.128, allocations: 419.2 MB / 1.059 GB, free: 161.7 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004363/2.128, allocations: 74.16 kB / 1.059 GB, free: 161.7 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.08419/2.212, allocations: 36.81 MB / 1.095 GB, free: 158.3 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.306e-06/2.212, allocations: 0 / 1.095 GB, free: 158.3 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.326e-06/2.212, allocations: 0 / 1.095 GB, free: 158.3 MB / 0.6823 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.0006642/2.213, allocations: 369.5 kB / 1.095 GB, free: 157.9 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.783e-05/2.213, allocations: 15.66 kB / 1.095 GB, free: 157.9 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001786/2.213, allocations: 23.38 kB / 1.095 GB, free: 157.9 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001108/2.214, allocations: 163 kB / 1.095 GB, free: 157.7 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.345e-05/2.214, allocations: 7.781 kB / 1.095 GB, free: 157.7 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.647e-05/2.214, allocations: 0 / 1.095 GB, free: 157.7 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001465/2.214, allocations: 55.8 kB / 1.095 GB, free: 157.7 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/2.214, allocations: 3.984 kB / 1.095 GB, free: 157.7 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.465e-05/2.214, allocations: 0 / 1.095 GB, free: 157.7 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/2.214, allocations: 0 / 1.095 GB, free: 157.7 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.72e-05/2.214, allocations: 22.72 kB / 1.095 GB, free: 157.7 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001632/2.214, allocations: 171.6 kB / 1.096 GB, free: 157.5 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 9.777e-05/2.214, allocations: 56.61 kB / 1.096 GB, free: 157.4 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008925/2.223, allocations: 3.132 MB / 1.099 GB, free: 156.7 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.29e-05/2.223, allocations: 34.56 kB / 1.099 GB, free: 156.7 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 2.215e-06/2.223, allocations: 0 / 1.099 GB, free: 156.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11): time 0.02749/2.251, allocations: 13.44 MB / 1.112 GB, free: 155.3 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.473e-05/2.251, allocations: 55.36 kB / 1.112 GB, free: 155.2 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.607e-05/2.251, allocations: 88.91 kB / 1.112 GB, free: 155.1 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.639e-05/2.251, allocations: 25.7 kB / 1.112 GB, free: 155.1 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 2.824e-05/2.251, allocations: 87.83 kB / 1.112 GB, free: 155 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 5.053e-05/2.251, allocations: 39 kB / 1.112 GB, free: 155 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.135e-06/2.251, allocations: 7.719 kB / 1.112 GB, free: 155 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.329e-05/2.251, allocations: 314.7 kB / 1.112 GB, free: 154.7 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.954e-05/2.251, allocations: 23.12 kB / 1.112 GB, free: 154.7 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.877e-05/2.251, allocations: 26.53 kB / 1.113 GB, free: 154.7 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.989e-05/2.251, allocations: 26.62 kB / 1.113 GB, free: 154.7 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/2.251, allocations: 0 / 1.113 GB, free: 154.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001959/2.251, allocations: 102.8 kB / 1.113 GB, free: 154.6 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.546e-05/2.251, allocations: 13.06 kB / 1.113 GB, free: 154.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/2.252, allocations: 0 / 1.113 GB, free: 154.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/2.252, allocations: 0 / 1.113 GB, free: 154.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001239/2.252, allocations: 27.17 kB / 1.113 GB, free: 154.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/2.252, allocations: 0 / 1.113 GB, free: 154.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.849e-05/2.252, allocations: 3.953 kB / 1.113 GB, free: 154.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.107e-05/2.252, allocations: 7.844 kB / 1.113 GB, free: 154.6 MB / 0.6823 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 8.549e-05/2.252, allocations: 117.1 kB / 1.113 GB, free: 154.5 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.306e-05/2.252, allocations: 11.66 kB / 1.113 GB, free: 154.5 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002775/2.252, allocations: 130 kB / 1.113 GB, free: 154.4 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/2.252, allocations: 0 / 1.113 GB, free: 154.4 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/2.252, allocations: 0 / 1.113 GB, free: 154.4 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/2.252, allocations: 3.906 kB / 1.113 GB, free: 154.4 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001445/2.252, allocations: 183.6 kB / 1.113 GB, free: 154.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/2.252, allocations: 0 / 1.113 GB, free: 154.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001188/2.252, allocations: 23.09 kB / 1.113 GB, free: 154.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/2.252, allocations: 4 kB / 1.113 GB, free: 154.2 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.29e-05/2.252, allocations: 2.625 kB / 1.113 GB, free: 154.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/2.253, allocations: 7.844 kB / 1.113 GB, free: 154.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/2.253, allocations: 0 / 1.113 GB, free: 154.2 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002728/2.253, allocations: 158.6 kB / 1.113 GB, free: 154.2 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.608e-05/2.253, allocations: 96.33 kB / 1.113 GB, free: 154.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.929e-05/2.253, allocations: 3.312 kB / 1.113 GB, free: 154.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001351/2.253, allocations: 11.75 kB / 1.113 GB, free: 154.1 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.044e-05/2.253, allocations: 11.19 kB / 1.113 GB, free: 154.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.222e-05/2.253, allocations: 7.656 kB / 1.113 GB, free: 154.1 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 2.851e-05/2.253, allocations: 75.28 kB / 1.114 GB, free: 154 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.1e-07/2.253, allocations: 0 / 1.114 GB, free: 154 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.00262/2.256, allocations: 0.6002 MB / 1.114 GB, free: 154 MB / 0.6823 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.003284/2.259, allocations: 0.7498 MB / 1.115 GB, free: 153.6 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.000222/2.259, allocations: 75.41 kB / 1.115 GB, free: 153.6 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/2.259, allocations: 3.938 kB / 1.115 GB, free: 153.6 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 5.145e-05/2.259, allocations: 34.11 kB / 1.115 GB, free: 153.6 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001645/2.26, allocations: 11.11 kB / 1.115 GB, free: 153.6 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006052/2.26, allocations: 407.6 kB / 1.115 GB, free: 153.3 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001649/2.26, allocations: 0.6951 MB / 1.116 GB, free: 152.6 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 9.858e-05/2.26, allocations: 27.91 kB / 1.116 GB, free: 152.6 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.686e-05/2.26, allocations: 15.12 kB / 1.116 GB, free: 152.6 MB / 0.6823 GB Notification: Performance of SimCode: time 2.2e-07/2.26, allocations: 0 / 1.116 GB, free: 152.6 MB / 0.6823 GB Notification: Performance of Templates: time 0.04756/2.308, allocations: 27.26 MB / 1.143 GB, free: 151 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheck.makefile (rm -f IDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheck.sim & ./IDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheck.pipe 2>&1)