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/Complex 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) 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/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.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/Complex 4.0.0+maint.om/package.mo): time 0.001325/0.001325, allocations: 182.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.778/0.778, allocations: 132.2 MB / 148.9 MB, free: 12.15 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.402/1.402, allocations: 222.9 MB / 403.3 MB, free: 7.047 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001045/0.001045, allocations: 109.2 kB / 484.3 MB, free: 8.699 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001085/0.001085, allocations: 55.92 kB / 0.5618 GB, free: 71.07 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1381/0.1392, allocations: 80.21 MB / 0.6402 GB, free: 6.797 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamSaturationConsistencyCheck): time 0.491/0.6303, allocations: 133.5 MB / 0.7705 GB, free: 10.21 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.009897/0.6402, allocations: 8.493 MB / 0.7788 GB, free: 3.648 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.923e-05/0.6403, allocations: 0 / 0.7788 GB, free: 3.648 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0002009/0.6406, allocations: 16.62 kB / 0.7788 GB, free: 3.637 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 5.937e-05/0.6406, allocations: 17.88 kB / 0.7789 GB, free: 3.621 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.003557/0.6442, allocations: 1.164 MB / 0.78 GB, free: 2.738 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0001392/0.6444, allocations: 73.06 kB / 0.7801 GB, free: 2.703 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 5.009e-05/0.6444, allocations: 6.906 kB / 0.7801 GB, free: 2.699 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001421/0.6446, allocations: 47.91 kB / 0.7801 GB, free: 2.672 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 9.735e-05/0.6447, allocations: 36.02 kB / 0.7801 GB, free: 2.648 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.744e-05/0.6447, allocations: 4.75 kB / 0.7802 GB, free: 2.648 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004554/0.6493, allocations: 2.654 MB / 0.7827 GB, free: 1.09 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 4.133e-05/0.6493, allocations: 15.97 kB / 0.7828 GB, free: 1.074 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 6.707e-05/0.6494, allocations: 31.8 kB / 0.7828 GB, free: 1.043 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.002173/0.6516, allocations: 1.376 MB / 0.7841 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.6516, allocations: 8 kB / 0.7841 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of FrontEnd: time 7.91e-07/0.6516, allocations: 0 / 0.7841 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.127e-06/0.6516, allocations: 0 / 0.7841 GB, free: 15.66 MB / 0.5261 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.0009418/0.6526, allocations: 0.4991 MB / 0.7846 GB, free: 15.11 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.6526, allocations: 8.031 kB / 0.7846 GB, free: 15.1 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003354/0.653, allocations: 16.92 kB / 0.7846 GB, free: 15.09 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001328/0.6531, allocations: 176.7 kB / 0.7848 GB, free: 14.88 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.234e-05/0.6532, allocations: 38.44 kB / 0.7849 GB, free: 14.83 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.759e-05/0.6532, allocations: 7.938 kB / 0.7849 GB, free: 14.82 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003335/0.6536, allocations: 117.6 kB / 0.785 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.6536, allocations: 4 kB / 0.785 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.372e-05/0.6536, allocations: 0 / 0.785 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.6536, allocations: 0 / 0.785 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002732/0.6539, allocations: 123.9 kB / 0.7851 GB, free: 14.58 MB / 0.5261 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.0004687/0.6544, allocations: 381.1 kB / 0.7855 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002446/0.6546, allocations: 126.6 kB / 0.7856 GB, free: 14.01 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.65e-05/0.6547, allocations: 49.59 kB / 0.7856 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0116/0.6663, allocations: 4.199 MB / 0.7897 GB, free: 9.445 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.788e-05/0.6664, allocations: 34.56 kB / 0.7898 GB, free: 9.402 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=13): time 2.204e-06/0.6664, allocations: 0 / 0.7898 GB, free: 9.402 MB / 0.5261 GB Notification: Performance of matching and sorting (n=13): time 0.0005334/0.6669, allocations: 162.4 kB / 0.7899 GB, free: 9.238 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.869e-05/0.667, allocations: 55.41 kB / 0.79 GB, free: 9.172 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.252e-05/0.6671, allocations: 101.8 kB / 0.7901 GB, free: 9.062 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.981e-05/0.6671, allocations: 29.7 kB / 0.7901 GB, free: 9.027 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.043e-05/0.6672, allocations: 88.03 kB / 0.7902 GB, free: 8.938 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.164e-05/0.6672, allocations: 39.59 kB / 0.7902 GB, free: 8.898 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.173e-05/0.6673, allocations: 29.7 kB / 0.7902 GB, free: 8.863 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001211/0.6674, allocations: 322.7 kB / 0.7906 GB, free: 8.539 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.236e-05/0.6675, allocations: 31.98 kB / 0.7906 GB, free: 8.508 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.965e-05/0.6675, allocations: 28.61 kB / 0.7906 GB, free: 8.48 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001099/0.6676, allocations: 72.72 kB / 0.7907 GB, free: 8.41 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.6676, allocations: 0 / 0.7907 GB, free: 8.41 MB / 0.5261 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001852/0.6678, allocations: 109.6 kB / 0.7908 GB, free: 8.297 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.6678, allocations: 4.625 kB / 0.7908 GB, free: 8.293 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-06/0.6679, allocations: 0 / 0.7908 GB, free: 8.293 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.6679, allocations: 3.938 kB / 0.7908 GB, free: 8.289 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001265/0.668, allocations: 19.98 kB / 0.7908 GB, free: 8.27 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.668, allocations: 4 kB / 0.7908 GB, free: 8.266 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.616e-05/0.6681, allocations: 19.28 kB / 0.7908 GB, free: 8.25 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.359e-05/0.6681, allocations: 7.938 kB / 0.7908 GB, free: 8.242 MB / 0.5261 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 9.221e-05/0.6682, allocations: 119.1 kB / 0.791 GB, free: 8.117 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.433e-05/0.6683, allocations: 3.984 kB / 0.791 GB, free: 8.113 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004513/0.6687, allocations: 374.5 kB / 0.7913 GB, free: 7.742 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.191e-05/0.6687, allocations: 11.98 kB / 0.7913 GB, free: 7.73 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.6688, allocations: 0 / 0.7913 GB, free: 7.73 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.838e-06/0.6688, allocations: 192 / 0.7913 GB, free: 7.73 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002767/0.669, allocations: 281.3 kB / 0.7916 GB, free: 7.406 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.6691, allocations: 0 / 0.7916 GB, free: 7.406 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.972e-05/0.6692, allocations: 27.92 kB / 0.7916 GB, free: 7.379 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.6692, allocations: 3.984 kB / 0.7916 GB, free: 7.375 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.322e-05/0.6692, allocations: 7.984 kB / 0.7916 GB, free: 7.367 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.6692, allocations: 0 / 0.7916 GB, free: 7.367 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.6692, allocations: 4 kB / 0.7916 GB, free: 7.363 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000736/0.67, allocations: 0.9773 MB / 0.7926 GB, free: 6.328 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 7.679e-05/0.67, allocations: 96.84 kB / 0.7927 GB, free: 6.215 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.047e-05/0.6701, allocations: 15.92 kB / 0.7927 GB, free: 6.199 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00013/0.6702, allocations: 0 / 0.7927 GB, free: 6.199 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.845e-05/0.6702, allocations: 15.98 kB / 0.7927 GB, free: 6.184 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.096e-05/0.6703, allocations: 4 kB / 0.7927 GB, free: 6.18 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.345e-05/0.6703, allocations: 83.27 kB / 0.7928 GB, free: 6.098 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1e-07/0.6703, allocations: 0 / 0.7928 GB, free: 6.098 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0009714/0.6713, allocations: 311.9 kB / 0.7931 GB, free: 5.793 MB / 0.5261 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.001217/0.6725, allocations: 388.6 kB / 0.7935 GB, free: 5.406 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001986/0.6727, allocations: 131.9 kB / 0.7936 GB, free: 5.277 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.6727, allocations: 0 / 0.7936 GB, free: 5.277 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001199/0.6728, allocations: 111.9 kB / 0.7937 GB, free: 5.168 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003029/0.6732, allocations: 19.98 kB / 0.7937 GB, free: 5.148 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007187/0.6739, allocations: 0.5868 MB / 0.7943 GB, free: 4.527 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000287/0.6742, allocations: 0.7208 MB / 0.795 GB, free: 3.781 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0001053/0.6743, allocations: 44.2 kB / 0.795 GB, free: 3.738 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.286e-05/0.6743, allocations: 19.44 kB / 0.7951 GB, free: 3.719 MB / 0.5261 GB Notification: Performance of SimCode: time 2.3e-07/0.6743, allocations: 0 / 0.7951 GB, free: 3.719 MB / 0.5261 GB Notification: Performance of Templates: time 0.01396/0.6883, allocations: 9.769 MB / 0.8046 GB, free: 9.945 MB / 0.5417 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)