Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Media.Examples.SteamSaturationConsistencyCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.SteamSaturationConsistencyCheck") translateModel(IDEAS.Media.Examples.SteamSaturationConsistencyCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.SteamSaturationConsistencyCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001106/0.001106, allocations: 107.9 kB / 16.41 MB, free: 6.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001063/0.001063, allocations: 185.5 kB / 17.34 MB, free: 5.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.353/1.353, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8156/0.8156, allocations: 135.1 MB / 426.3 MB, free: 4.121 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002415/0.002415, allocations: 70.77 kB / 0.5862 GB, free: 21.54 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2093/0.2117, allocations: 80.92 MB / 0.6653 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamSaturationConsistencyCheck): time 0.5028/0.7146, allocations: 135.6 MB / 0.7977 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.009024/0.7236, allocations: 7.919 MB / 0.8054 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.967e-05/0.7237, allocations: 4 kB / 0.8054 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0001981/0.7239, allocations: 25.06 kB / 0.8054 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 6.635e-05/0.7241, allocations: 21.47 kB / 0.8055 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004731/0.7288, allocations: 1.468 MB / 0.8069 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0001729/0.729, allocations: 76.97 kB / 0.807 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 4.391e-05/0.729, allocations: 3.219 kB / 0.807 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001557/0.7292, allocations: 41.94 kB / 0.807 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001012/0.7293, allocations: 33.05 kB / 0.807 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.835e-05/0.7293, allocations: 3.188 kB / 0.807 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00533/0.7347, allocations: 2.707 MB / 0.8097 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 4.325e-05/0.7347, allocations: 19.23 kB / 0.8097 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 6.183e-05/0.7348, allocations: 32.81 kB / 0.8097 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003016/0.7378, allocations: 1.374 MB / 0.8111 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.7378, allocations: 3.938 kB / 0.8111 GB, free: 10.87 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.423e-06/0.7378, allocations: 0 / 0.8111 GB, free: 10.87 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.74e-06/0.7379, allocations: 1.375 kB / 0.8111 GB, free: 10.87 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.001529/0.7394, allocations: 498.5 kB / 0.8116 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.692e-05/0.7395, allocations: 15.61 kB / 0.8116 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004322/0.7399, allocations: 21.23 kB / 0.8116 GB, free: 10.42 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001415/0.7401, allocations: 174.3 kB / 0.8118 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.37e-05/0.7401, allocations: 36.14 kB / 0.8118 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.588e-05/0.7402, allocations: 9.969 kB / 0.8118 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003821/0.7405, allocations: 116.9 kB / 0.8119 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.7406, allocations: 4.859 kB / 0.8119 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.705e-05/0.7406, allocations: 2.094 kB / 0.8119 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.7406, allocations: 6.844 kB / 0.8119 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003095/0.7409, allocations: 119.2 kB / 0.812 GB, free: 10.02 MB / 0.5919 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005496/0.7415, allocations: 374.9 kB / 0.8124 GB, free: 9.633 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002874/0.7418, allocations: 123.7 kB / 0.8125 GB, free: 9.559 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.571e-05/0.7419, allocations: 49.88 kB / 0.8126 GB, free: 9.531 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01187/0.7538, allocations: 4.237 MB / 0.8167 GB, free: 6.797 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.477e-05/0.7538, allocations: 44.22 kB / 0.8167 GB, free: 6.75 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=13): time 1.884e-06/0.7538, allocations: 4 kB / 0.8168 GB, free: 6.746 MB / 0.5919 GB Notification: Performance of matching and sorting (n=13): time 0.0005422/0.7544, allocations: 167 kB / 0.8169 GB, free: 6.652 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.527e-05/0.7544, allocations: 54.28 kB / 0.817 GB, free: 6.59 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.343e-05/0.7545, allocations: 96.56 kB / 0.8171 GB, free: 6.488 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/0.7546, allocations: 31.92 kB / 0.8171 GB, free: 6.453 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 4.355e-05/0.7546, allocations: 80.14 kB / 0.8172 GB, free: 6.371 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.031e-05/0.7547, allocations: 40.12 kB / 0.8172 GB, free: 6.336 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.825e-05/0.7547, allocations: 32.2 kB / 0.8172 GB, free: 6.309 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000142/0.7549, allocations: 322.8 kB / 0.8175 GB, free: 5.984 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.916e-05/0.7549, allocations: 27.2 kB / 0.8176 GB, free: 5.973 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.425e-05/0.755, allocations: 24.14 kB / 0.8176 GB, free: 5.961 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001133/0.7551, allocations: 71.97 kB / 0.8177 GB, free: 5.922 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.7551, allocations: 0 / 0.8177 GB, free: 5.922 MB / 0.5919 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001889/0.7553, allocations: 107.1 kB / 0.8178 GB, free: 5.855 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.7553, allocations: 5.344 kB / 0.8178 GB, free: 5.855 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.7553, allocations: 2.562 kB / 0.8178 GB, free: 5.855 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.7554, allocations: 4.125 kB / 0.8178 GB, free: 5.852 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001427/0.7555, allocations: 24.98 kB / 0.8178 GB, free: 5.844 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.7555, allocations: 3.938 kB / 0.8178 GB, free: 5.84 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.951e-05/0.7556, allocations: 14.66 kB / 0.8178 GB, free: 5.828 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.174e-05/0.7556, allocations: 10.73 kB / 0.8178 GB, free: 5.82 MB / 0.5919 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 (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.802e-05/0.7557, allocations: 112 kB / 0.8179 GB, free: 5.703 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.302e-05/0.7558, allocations: 9.156 kB / 0.8179 GB, free: 5.699 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004386/0.7562, allocations: 363.4 kB / 0.8183 GB, free: 5.484 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-05/0.7562, allocations: 6.672 kB / 0.8183 GB, free: 5.48 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.275e-06/0.7562, allocations: 2.125 kB / 0.8183 GB, free: 5.48 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.9e-06/0.7563, allocations: 11.88 kB / 0.8183 GB, free: 5.469 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002933/0.7566, allocations: 287 kB / 0.8186 GB, free: 5.195 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.337e-06/0.7566, allocations: 0 / 0.8186 GB, free: 5.195 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.748e-05/0.7567, allocations: 25.77 kB / 0.8186 GB, free: 5.188 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.7567, allocations: 0 / 0.8186 GB, free: 5.188 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.112e-05/0.7567, allocations: 2.625 kB / 0.8186 GB, free: 5.188 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.7567, allocations: 0 / 0.8186 GB, free: 5.188 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.7567, allocations: 0 / 0.8186 GB, free: 5.188 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00035/0.7571, allocations: 338.7 kB / 0.8189 GB, free: 4.941 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 8.348e-05/0.7572, allocations: 103.5 kB / 0.819 GB, free: 4.828 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.92e-05/0.7572, allocations: 6.656 kB / 0.819 GB, free: 4.824 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001418/0.7573, allocations: 6.797 kB / 0.819 GB, free: 4.82 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.843e-05/0.7574, allocations: 9.859 kB / 0.819 GB, free: 4.816 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.563e-05/0.7574, allocations: 6.625 kB / 0.8191 GB, free: 4.812 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 4.619e-05/0.7574, allocations: 85.92 kB / 0.8191 GB, free: 4.73 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7574, allocations: 0 / 0.8191 GB, free: 4.73 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001243/0.7587, allocations: 301 kB / 0.8194 GB, free: 4.699 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($cse1.region3boundary,$cse2.region3boundary) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001856/0.7606, allocations: 394.3 kB / 0.8198 GB, free: 4.547 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0002357/0.7608, allocations: 126.2 kB / 0.8199 GB, free: 4.492 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.7608, allocations: 0 / 0.8199 GB, free: 4.492 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001332/0.761, allocations: 118.9 kB / 0.82 GB, free: 4.43 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003383/0.7613, allocations: 14.47 kB / 0.82 GB, free: 4.422 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005476/0.7619, allocations: 327.4 kB / 0.8204 GB, free: 4.176 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002973/0.7622, allocations: 0.7154 MB / 0.8211 GB, free: 3.465 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.403e-05/0.7622, allocations: 22.95 kB / 0.8211 GB, free: 3.449 MB / 0.5919 GB Notification: Performance of SimCode: time 3.51e-07/0.7622, allocations: 0 / 0.8211 GB, free: 3.449 MB / 0.5919 GB Notification: Performance of Templates: time 0.01183/0.7741, allocations: 6.743 MB / 0.8277 GB, free: 15.95 MB / 0.6075 GB make -j1 -f IDEAS_dev_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.makefile (rm -f IDEAS_dev_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.sim & ./IDEAS_dev_IDEAS.Media.Examples.SteamSaturationConsistencyCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1)