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.0008789/0.0008789, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.0008815/0.0008816, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.207/1.207, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8405/0.8405, allocations: 135.2 MB / 426.2 MB, free: 14.27 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003126/0.0003127, allocations: 8 kB / 0.5068 GB, free: 5.305 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1538/0.1541, allocations: 82.3 MB / 0.5872 GB, free: 3.176 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamSaturationConsistencyCheck): time 0.3469/0.5011, allocations: 114.4 MB / 0.6989 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00791/0.509, allocations: 6.911 MB / 0.7057 GB, free: 6.133 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.313e-05/0.5091, allocations: 0 / 0.7057 GB, free: 6.133 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001301/0.5093, allocations: 22.34 kB / 0.7057 GB, free: 6.121 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.719e-05/0.5093, allocations: 16.77 kB / 0.7057 GB, free: 6.109 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.003682/0.513, allocations: 1.12 MB / 0.7068 GB, free: 5.617 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001079/0.5131, allocations: 56.5 kB / 0.7069 GB, free: 5.59 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.232e-05/0.5132, allocations: 2.672 kB / 0.7069 GB, free: 5.59 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001167/0.5133, allocations: 41.62 kB / 0.7069 GB, free: 5.574 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.645e-05/0.5134, allocations: 31.78 kB / 0.7069 GB, free: 5.562 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.339e-05/0.5134, allocations: 3.125 kB / 0.7069 GB, free: 5.562 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005171/0.5186, allocations: 2.554 MB / 0.7094 GB, free: 5.004 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.019e-05/0.5186, allocations: 13.59 kB / 0.7094 GB, free: 4.996 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.376e-05/0.5187, allocations: 32.95 kB / 0.7095 GB, free: 4.965 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001707/0.5204, allocations: 0.9131 MB / 0.7104 GB, free: 4.828 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.344e-06/0.5204, allocations: 4 kB / 0.7104 GB, free: 4.824 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.024e-06/0.5204, allocations: 1.125 kB / 0.7104 GB, free: 4.824 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.476e-06/0.5204, allocations: 0.9062 kB / 0.7104 GB, free: 4.824 MB / 0.5294 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.001189/0.5216, allocations: 487.6 kB / 0.7108 GB, free: 4.406 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.198e-05/0.5217, allocations: 10.3 kB / 0.7108 GB, free: 4.406 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003684/0.522, allocations: 22.16 kB / 0.7109 GB, free: 4.406 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001057/0.5221, allocations: 174.3 kB / 0.711 GB, free: 4.199 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.326e-05/0.5222, allocations: 40.41 kB / 0.7111 GB, free: 4.16 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.381e-05/0.5222, allocations: 5.062 kB / 0.7111 GB, free: 4.16 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003705/0.5226, allocations: 114.9 kB / 0.7112 GB, free: 4.109 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.5226, allocations: 0.6562 kB / 0.7112 GB, free: 4.109 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.508e-05/0.5227, allocations: 4 kB / 0.7112 GB, free: 4.105 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.336e-05/0.5227, allocations: 6.234 kB / 0.7112 GB, free: 4.102 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003027/0.523, allocations: 116.6 kB / 0.7113 GB, free: 4.074 MB / 0.5294 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.0005379/0.5235, allocations: 381.5 kB / 0.7117 GB, free: 3.703 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002594/0.5238, allocations: 129.1 kB / 0.7118 GB, free: 3.641 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01225/0.5361, allocations: 4.247 MB / 0.7159 GB, free: 1.742 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.547e-05/0.5361, allocations: 36.36 kB / 0.716 GB, free: 1.699 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=13): time 2.154e-06/0.5361, allocations: 0 / 0.716 GB, free: 1.699 MB / 0.5294 GB Notification: Performance of matching and sorting (n=13): time 0.0005312/0.5367, allocations: 169 kB / 0.7161 GB, free: 1.621 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.018e-05/0.5367, allocations: 53.33 kB / 0.7162 GB, free: 1.559 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.638e-05/0.5368, allocations: 104.3 kB / 0.7163 GB, free: 1.453 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.783e-05/0.5368, allocations: 27.91 kB / 0.7163 GB, free: 1.422 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.064e-05/0.5369, allocations: 84.89 kB / 0.7164 GB, free: 1.336 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.393e-05/0.5369, allocations: 44.97 kB / 0.7164 GB, free: 1.301 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.799e-06/0.5369, allocations: 0 / 0.7164 GB, free: 1.301 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001025/0.537, allocations: 319.3 kB / 0.7167 GB, free: 0.9844 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.464e-05/0.5371, allocations: 24.86 kB / 0.7168 GB, free: 0.9766 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.154e-05/0.5371, allocations: 24.8 kB / 0.7168 GB, free: 0.9688 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.626e-05/0.5372, allocations: 34.97 kB / 0.7168 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.5372, allocations: 5.031 kB / 0.7168 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001726/0.5374, allocations: 109.9 kB / 0.7169 GB, free: 0.8867 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.5374, allocations: 4.859 kB / 0.7169 GB, free: 0.8867 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.147e-06/0.5374, allocations: 1.094 kB / 0.7169 GB, free: 0.8867 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.5374, allocations: 5.266 kB / 0.7169 GB, free: 0.8828 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001251/0.5376, allocations: 20.75 kB / 0.717 GB, free: 0.8828 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.5376, allocations: 1.344 kB / 0.717 GB, free: 0.8828 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.513e-05/0.5376, allocations: 1.938 kB / 0.717 GB, free: 0.8828 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.606e-05/0.5377, allocations: 7.031 kB / 0.717 GB, free: 0.875 MB / 0.5294 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.971e-05/0.5378, allocations: 124.3 kB / 0.7171 GB, free: 0.75 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.04e-05/0.5378, allocations: 6.969 kB / 0.7171 GB, free: 0.7461 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004661/0.5383, allocations: 366.8 kB / 0.7174 GB, free: 0.5547 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.532e-05/0.5383, allocations: 10.06 kB / 0.7175 GB, free: 0.5508 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.5383, allocations: 7.938 kB / 0.7175 GB, free: 0.543 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.5383, allocations: 1.312 kB / 0.7175 GB, free: 0.543 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002861/0.5386, allocations: 282.3 kB / 0.7177 GB, free: 296 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.5386, allocations: 0.9375 kB / 0.7177 GB, free: 296 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001044/0.5387, allocations: 29.03 kB / 0.7178 GB, free: 288 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.528e-06/0.5387, allocations: 5.016 kB / 0.7178 GB, free: 284 kB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.207e-05/0.5388, allocations: 2.562 kB / 0.7178 GB, free: 284 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.295e-06/0.5388, allocations: 0.9375 kB / 0.7178 GB, free: 284 kB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.5388, allocations: 3.953 kB / 0.7178 GB, free: 280 kB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00034/0.5391, allocations: 335.8 kB / 0.7181 GB, free: 52 kB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 7.99e-05/0.5392, allocations: 97.67 kB / 0.7182 GB, free: 15.95 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.891e-05/0.5392, allocations: 7.875 kB / 0.7182 GB, free: 15.95 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001282/0.5394, allocations: 3.906 kB / 0.7182 GB, free: 15.95 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.459e-05/0.5394, allocations: 18.05 kB / 0.7182 GB, free: 15.94 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.409e-05/0.5394, allocations: 4.969 kB / 0.7182 GB, free: 15.94 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.891e-05/0.5395, allocations: 83.69 kB / 0.7183 GB, free: 15.86 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5395, allocations: 0 / 0.7183 GB, free: 15.86 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001367/0.5408, allocations: 302.7 kB / 0.7186 GB, free: 15.83 MB / 0.545 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 (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.001163/0.542, allocations: 398.7 kB / 0.719 GB, free: 15.68 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000195/0.5422, allocations: 125.1 kB / 0.7191 GB, free: 15.63 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.5422, allocations: 1.344 kB / 0.7191 GB, free: 15.63 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001094/0.5423, allocations: 110.5 kB / 0.7192 GB, free: 15.59 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002073/0.5426, allocations: 18.52 kB / 0.7192 GB, free: 15.58 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004912/0.5431, allocations: 389.8 kB / 0.7196 GB, free: 15.32 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002675/0.5433, allocations: 0.7229 MB / 0.7203 GB, free: 14.62 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001034/0.5434, allocations: 24.8 kB / 0.7203 GB, free: 14.62 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.907e-05/0.5435, allocations: 15.53 kB / 0.7203 GB, free: 14.61 MB / 0.545 GB Notification: Performance of SimCode: time 2.3e-07/0.5435, allocations: 0 / 0.7203 GB, free: 14.61 MB / 0.545 GB Notification: Performance of Templates: time 0.01345/0.5569, allocations: 9.97 MB / 0.7301 GB, free: 9.223 MB / 0.545 GB make -j1 -f IDEAS_dev_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: