Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS.Media.Examples.SteamSaturationConsistencyCheck") translateModel(IDEAS.Media.Examples.SteamSaturationConsistencyCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.0008495/0.0008495, allocations: 99.55 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.0009228/0.0009228, allocations: 177.3 kB / 15.94 MB, free: 228 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.227/1.227, allocations: 223.2 MB / 239.9 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.851/0.851, allocations: 135.2 MB / 426.2 MB, free: 14.23 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003355/0.0003357, allocations: 8 kB / 0.5068 GB, free: 5.266 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1419/0.1422, allocations: 82.3 MB / 0.5872 GB, free: 3.133 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamSaturationConsistencyCheck): time 0.3786/0.5208, allocations: 114.4 MB / 0.6989 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.009619/0.5305, allocations: 6.92 MB / 0.7057 GB, free: 6.145 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.697e-05/0.5306, allocations: 1 kB / 0.7057 GB, free: 6.145 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001786/0.5308, allocations: 21.92 kB / 0.7057 GB, free: 6.133 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.752e-05/0.5308, allocations: 16.86 kB / 0.7057 GB, free: 6.121 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.004702/0.5356, allocations: 1.111 MB / 0.7068 GB, free: 5.637 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001361/0.5357, allocations: 49.25 kB / 0.7068 GB, free: 5.617 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.979e-05/0.5358, allocations: 11.03 kB / 0.7069 GB, free: 5.609 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001528/0.5359, allocations: 42.36 kB / 0.7069 GB, free: 5.594 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001099/0.536, allocations: 31.03 kB / 0.7069 GB, free: 5.582 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.932e-05/0.5361, allocations: 2.875 kB / 0.7069 GB, free: 5.582 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007196/0.5433, allocations: 2.554 MB / 0.7094 GB, free: 5.023 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.123e-05/0.5433, allocations: 18.59 kB / 0.7094 GB, free: 5.012 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.986e-05/0.5434, allocations: 32.61 kB / 0.7095 GB, free: 4.98 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002301/0.5457, allocations: 0.9066 MB / 0.7104 GB, free: 4.852 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.5457, allocations: 3.938 kB / 0.7104 GB, free: 4.848 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.515e-06/0.5457, allocations: 0 / 0.7104 GB, free: 4.848 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.629e-06/0.5457, allocations: 7.938 kB / 0.7104 GB, free: 4.84 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.001741/0.5475, allocations: 484.3 kB / 0.7108 GB, free: 4.426 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.5475, allocations: 9.438 kB / 0.7108 GB, free: 4.426 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004661/0.548, allocations: 22.45 kB / 0.7109 GB, free: 4.426 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001328/0.5482, allocations: 170.7 kB / 0.711 GB, free: 4.223 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.89e-05/0.5483, allocations: 36.31 kB / 0.7111 GB, free: 4.188 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.566e-05/0.5483, allocations: 3.75 kB / 0.7111 GB, free: 4.188 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003639/0.5486, allocations: 123.1 kB / 0.7112 GB, free: 4.129 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.283e-06/0.5487, allocations: 4.969 kB / 0.7112 GB, free: 4.125 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.498e-05/0.5487, allocations: 0 / 0.7112 GB, free: 4.125 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.635e-06/0.5487, allocations: 6.734 kB / 0.7112 GB, free: 4.121 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002924/0.549, allocations: 118 kB / 0.7113 GB, free: 4.094 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.0005266/0.5495, allocations: 380.3 kB / 0.7117 GB, free: 3.723 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000254/0.5498, allocations: 125 kB / 0.7118 GB, free: 3.66 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01192/0.5617, allocations: 4.247 MB / 0.7159 GB, free: 1.762 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.545e-05/0.5618, allocations: 36.34 kB / 0.716 GB, free: 1.719 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=13): time 2.314e-06/0.5618, allocations: 0 / 0.716 GB, free: 1.719 MB / 0.5294 GB Notification: Performance of matching and sorting (n=13): time 0.0005731/0.5624, allocations: 172 kB / 0.7161 GB, free: 1.637 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.179e-05/0.5625, allocations: 53.69 kB / 0.7162 GB, free: 1.574 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.713e-05/0.5625, allocations: 101 kB / 0.7163 GB, free: 1.473 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.483e-05/0.5626, allocations: 30.95 kB / 0.7163 GB, free: 1.438 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.265e-05/0.5626, allocations: 85.81 kB / 0.7164 GB, free: 1.352 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001009/0.5627, allocations: 43.83 kB / 0.7164 GB, free: 1.316 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.352e-06/0.5627, allocations: 5.031 kB / 0.7164 GB, free: 1.312 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001044/0.5629, allocations: 315.1 kB / 0.7167 GB, free: 1 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.978e-05/0.5629, allocations: 23.97 kB / 0.7168 GB, free: 0.9922 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.689e-05/0.563, allocations: 25.34 kB / 0.7168 GB, free: 0.9844 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.023e-05/0.563, allocations: 31.55 kB / 0.7168 GB, free: 0.9727 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.563, allocations: 1.281 kB / 0.7168 GB, free: 0.9727 MB / 0.5294 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001914/0.5632, allocations: 113.5 kB / 0.7169 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.5633, allocations: 9.312 kB / 0.7169 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.5633, allocations: 0.7969 kB / 0.7169 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.5633, allocations: 5.328 kB / 0.7169 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001262/0.5634, allocations: 19.91 kB / 0.717 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.5634, allocations: 0.8438 kB / 0.717 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.789e-05/0.5635, allocations: 11.11 kB / 0.717 GB, free: 0.8906 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.127e-05/0.5635, allocations: 3.188 kB / 0.717 GB, free: 0.8906 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 9.119e-05/0.5636, allocations: 119.7 kB / 0.7171 GB, free: 0.7695 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.542e-05/0.5637, allocations: 7.531 kB / 0.7171 GB, free: 0.7656 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005207/0.5642, allocations: 366.6 kB / 0.7174 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.655e-05/0.5642, allocations: 13.92 kB / 0.7175 GB, free: 0.5664 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/0.5642, allocations: 0 / 0.7175 GB, free: 0.5664 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.5642, allocations: 1.172 kB / 0.7175 GB, free: 0.5664 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003659/0.5646, allocations: 283.2 kB / 0.7177 GB, free: 320 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.5646, allocations: 4 kB / 0.7177 GB, free: 316 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001003/0.5647, allocations: 26.61 kB / 0.7178 GB, free: 312 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.918e-06/0.5648, allocations: 1.031 kB / 0.7178 GB, free: 312 kB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.352e-05/0.5648, allocations: 6.312 kB / 0.7178 GB, free: 308 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.5648, allocations: 1.031 kB / 0.7178 GB, free: 308 kB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.5648, allocations: 5.75 kB / 0.7178 GB, free: 304 kB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003886/0.5652, allocations: 326.1 kB / 0.7181 GB, free: 84 kB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 8.167e-05/0.5653, allocations: 102 kB / 0.7182 GB, free: 15.98 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.767e-05/0.5653, allocations: 5.578 kB / 0.7182 GB, free: 15.97 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001351/0.5654, allocations: 10.66 kB / 0.7182 GB, free: 15.97 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.633e-05/0.5655, allocations: 11.83 kB / 0.7182 GB, free: 15.96 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.45e-05/0.5655, allocations: 5.062 kB / 0.7182 GB, free: 15.96 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.886e-05/0.5655, allocations: 83.83 kB / 0.7183 GB, free: 15.89 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5655, allocations: 0 / 0.7183 GB, free: 15.89 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001403/0.567, allocations: 295.6 kB / 0.7186 GB, free: 15.86 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.002255/0.5692, allocations: 416.5 kB / 0.719 GB, free: 15.7 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002224/0.5694, allocations: 126.6 kB / 0.7191 GB, free: 15.66 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.5695, allocations: 1.469 kB / 0.7191 GB, free: 15.66 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001178/0.5696, allocations: 109.9 kB / 0.7192 GB, free: 15.61 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002185/0.5698, allocations: 13.92 kB / 0.7192 GB, free: 15.61 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005701/0.5704, allocations: 392.9 kB / 0.7196 GB, free: 15.34 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002754/0.5707, allocations: 0.7178 MB / 0.7203 GB, free: 14.64 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001145/0.5708, allocations: 28.92 kB / 0.7203 GB, free: 14.64 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.705e-05/0.5708, allocations: 19.53 kB / 0.7203 GB, free: 14.63 MB / 0.545 GB Notification: Performance of SimCode: time 3.8e-07/0.5708, allocations: 0 / 0.7203 GB, free: 14.63 MB / 0.545 GB Notification: Performance of Templates: time 0.0157/0.5865, allocations: 9.971 MB / 0.7301 GB, free: 9.184 MB / 0.545 GB make -j1 -f IDEAS_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.makefile Environment - environmentSimulation: (rm -f IDEAS_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.pipe >> ../files/IDEAS_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.sim & ./IDEAS_IDEAS.Media.Examples.SteamSaturationConsistencyCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1) Environment - environmentSimulation: