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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.005022/0.005022, allocations: 96.7 kB / 15.73 MB, free: 6.039 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.001243/0.001243, allocations: 193.2 kB / 16.67 MB, free: 5.969 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.375/1.375, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7878/0.7878, allocations: 132.2 MB / 422.7 MB, free: 1.695 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00137/0.00137, allocations: 65.92 kB / 0.5813 GB, free: 0.875 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1841/0.1855, allocations: 80.2 MB / 0.6597 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamSaturationConsistencyCheck): time 0.1516/0.3372, allocations: 135.6 MB / 0.7921 GB, free: 5.398 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.008525/0.3457, allocations: 7.915 MB / 0.7998 GB, free: 13.45 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.604e-05/0.3458, allocations: 0 / 0.7998 GB, free: 13.45 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.000189/0.346, allocations: 27.83 kB / 0.7998 GB, free: 13.42 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 5.002e-05/0.3461, allocations: 19.83 kB / 0.7998 GB, free: 13.4 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003409/0.3496, allocations: 1.46 MB / 0.8013 GB, free: 11.95 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0001307/0.3497, allocations: 75.66 kB / 0.8013 GB, free: 11.87 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 3.949e-05/0.3498, allocations: 8 kB / 0.8014 GB, free: 11.86 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001173/0.3499, allocations: 47.83 kB / 0.8014 GB, free: 11.82 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 8.794e-05/0.35, allocations: 27.92 kB / 0.8014 GB, free: 11.79 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 1.511e-05/0.35, allocations: 7.984 kB / 0.8014 GB, free: 11.78 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00415/0.3542, allocations: 2.7 MB / 0.8041 GB, free: 9.078 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 2.535e-05/0.3542, allocations: 15.92 kB / 0.8041 GB, free: 9.062 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 4.67e-05/0.3543, allocations: 31.86 kB / 0.8041 GB, free: 9.031 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001721/0.356, allocations: 1.388 MB / 0.8055 GB, free: 7.641 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.356, allocations: 0 / 0.8055 GB, free: 7.641 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.372e-06/0.356, allocations: 0 / 0.8055 GB, free: 7.641 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 6.301e-06/0.356, allocations: 0 / 0.8055 GB, free: 7.641 MB / 0.6387 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.0009248/0.3569, allocations: 0.4984 MB / 0.806 GB, free: 7.094 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.357, allocations: 12.03 kB / 0.806 GB, free: 7.082 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003605/0.3574, allocations: 20.88 kB / 0.806 GB, free: 7.062 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001241/0.3575, allocations: 180.2 kB / 0.8062 GB, free: 6.848 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.603e-05/0.3576, allocations: 34.27 kB / 0.8062 GB, free: 6.809 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.409e-05/0.3576, allocations: 7.938 kB / 0.8062 GB, free: 6.801 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003609/0.3579, allocations: 120.4 kB / 0.8063 GB, free: 6.68 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.204e-06/0.358, allocations: 0 / 0.8063 GB, free: 6.68 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.446e-05/0.358, allocations: 4 kB / 0.8063 GB, free: 6.676 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.358, allocations: 4 kB / 0.8063 GB, free: 6.672 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002886/0.3583, allocations: 115.9 kB / 0.8064 GB, free: 6.559 MB / 0.6387 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.0004733/0.3588, allocations: 380 kB / 0.8068 GB, free: 6.125 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002616/0.359, allocations: 130.6 kB / 0.8069 GB, free: 5.988 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.526e-05/0.3591, allocations: 52.84 kB / 0.807 GB, free: 5.934 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01128/0.3704, allocations: 4.222 MB / 0.8111 GB, free: 1.395 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.156e-05/0.3705, allocations: 38.56 kB / 0.8111 GB, free: 1.348 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=13): time 3.226e-06/0.3705, allocations: 0 / 0.8111 GB, free: 1.348 MB / 0.6387 GB Notification: Performance of matching and sorting (n=13): time 0.0005254/0.371, allocations: 175.3 kB / 0.8113 GB, free: 1.172 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.922e-05/0.3711, allocations: 55.41 kB / 0.8113 GB, free: 1.105 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.951e-05/0.3712, allocations: 97.84 kB / 0.8114 GB, free: 1 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.832e-05/0.3712, allocations: 29.7 kB / 0.8115 GB, free: 0.9648 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 4.486e-05/0.3712, allocations: 80.14 kB / 0.8115 GB, free: 0.8828 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 4.524e-05/0.3713, allocations: 55.56 kB / 0.8116 GB, free: 0.8281 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.841e-05/0.3713, allocations: 25.7 kB / 0.8116 GB, free: 0.7969 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001036/0.3714, allocations: 322.8 kB / 0.8119 GB, free: 484 kB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.727e-05/0.3715, allocations: 23.98 kB / 0.812 GB, free: 460 kB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.304e-05/0.3716, allocations: 27.98 kB / 0.812 GB, free: 432 kB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001058/0.3717, allocations: 67.47 kB / 0.812 GB, free: 364 kB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.3717, allocations: 0 / 0.812 GB, free: 364 kB / 0.6387 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001755/0.3719, allocations: 117.6 kB / 0.8122 GB, free: 240 kB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.3719, allocations: 7.938 kB / 0.8122 GB, free: 232 kB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.3719, allocations: 0 / 0.8122 GB, free: 232 kB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/0.3719, allocations: 0 / 0.8122 GB, free: 232 kB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000123/0.372, allocations: 23.98 kB / 0.8122 GB, free: 208 kB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.3721, allocations: 4 kB / 0.8122 GB, free: 204 kB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.938e-05/0.3721, allocations: 7.938 kB / 0.8122 GB, free: 196 kB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.131e-05/0.3721, allocations: 4 kB / 0.8122 GB, free: 192 kB / 0.6387 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.079e-05/0.3722, allocations: 117.8 kB / 0.8123 GB, free: 64 kB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.543e-05/0.3723, allocations: 3.953 kB / 0.8123 GB, free: 60 kB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3156/0.6879, allocations: 369.7 kB / 0.8127 GB, free: 156.3 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.232e-05/0.688, allocations: 7.234 kB / 0.8127 GB, free: 156.3 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.073e-05/0.688, allocations: 1.125 kB / 0.8127 GB, free: 156.3 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.749e-06/0.688, allocations: 4.266 kB / 0.8127 GB, free: 156.3 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004259/0.6884, allocations: 279.2 kB / 0.813 GB, free: 156.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.051e-06/0.6885, allocations: 0.5625 kB / 0.813 GB, free: 156.2 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001449/0.6886, allocations: 26.22 kB / 0.813 GB, free: 156.2 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.783e-06/0.6886, allocations: 1.547 kB / 0.813 GB, free: 156.2 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.28e-05/0.6886, allocations: 1.844 kB / 0.813 GB, free: 156.2 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.606e-06/0.6887, allocations: 3.031 kB / 0.813 GB, free: 156.2 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.6887, allocations: 0.5938 kB / 0.813 GB, free: 156.2 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003801/0.689, allocations: 335.8 kB / 0.8133 GB, free: 156 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 6.788e-05/0.6891, allocations: 110.2 kB / 0.8134 GB, free: 155.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.13e-05/0.6891, allocations: 3.922 kB / 0.8134 GB, free: 155.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001565/0.6893, allocations: 8.328 kB / 0.8134 GB, free: 155.9 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.344e-05/0.6894, allocations: 8 kB / 0.8134 GB, free: 155.9 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.669e-05/0.6894, allocations: 9.594 kB / 0.8134 GB, free: 155.9 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 2.487e-05/0.6894, allocations: 79.5 kB / 0.8135 GB, free: 155.8 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1e-07/0.6894, allocations: 0 / 0.8135 GB, free: 155.8 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0009012/0.6903, allocations: 303.7 kB / 0.8138 GB, free: 155.8 MB / 0.6387 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.001169/0.6915, allocations: 402.7 kB / 0.8142 GB, free: 155.8 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0002242/0.6917, allocations: 123.2 kB / 0.8143 GB, free: 155.7 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.6917, allocations: 0 / 0.8143 GB, free: 155.7 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001175/0.6919, allocations: 113.5 kB / 0.8144 GB, free: 155.7 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002966/0.6922, allocations: 33.2 kB / 0.8144 GB, free: 155.7 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004647/0.6926, allocations: 310 kB / 0.8147 GB, free: 155.5 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001453/0.6928, allocations: 0.7177 MB / 0.8154 GB, free: 154.8 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0001051/0.6929, allocations: 28.02 kB / 0.8155 GB, free: 154.8 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.301e-05/0.6929, allocations: 18.94 kB / 0.8155 GB, free: 154.8 MB / 0.6387 GB Notification: Performance of SimCode: time 2.31e-07/0.6929, allocations: 0 / 0.8155 GB, free: 154.8 MB / 0.6387 GB Notification: Performance of Templates: time 0.01469/0.7076, allocations: 9.808 MB / 0.8251 GB, free: 152.1 MB / 0.6387 GB make -j1 -f IDEAS_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.makefile (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)