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/Complex 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) 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-master/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_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/Complex 4.0.0+maint.om/package.mo): time 0.001138/0.001138, allocations: 183.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-master/package.mo): time 0.6886/0.6886, allocations: 133.3 MB / 150.1 MB, free: 11.19 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.441/1.441, allocations: 222.9 MB / 404.7 MB, free: 6.078 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.00117/0.00117, allocations: 99.77 kB / 485.9 MB, free: 7.172 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009892/0.0009893, allocations: 47.92 kB / 0.5636 GB, free: 69.95 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1573/0.1583, allocations: 80.43 MB / 0.6421 GB, free: 5.449 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamSaturationConsistencyCheck): time 0.4853/0.6436, allocations: 133.5 MB / 0.7725 GB, free: 8.477 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.008821/0.6525, allocations: 8.496 MB / 0.7808 GB, free: 1.906 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.42e-05/0.6526, allocations: 3 kB / 0.7808 GB, free: 1.906 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0001787/0.6528, allocations: 18.17 kB / 0.7808 GB, free: 1.891 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 4.962e-05/0.6529, allocations: 22.19 kB / 0.7808 GB, free: 1.871 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.003314/0.6562, allocations: 1.157 MB / 0.782 GB, free: 0.9961 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0001214/0.6563, allocations: 70.84 kB / 0.782 GB, free: 0.9609 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 4.18e-05/0.6564, allocations: 4.875 kB / 0.782 GB, free: 0.9609 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001224/0.6565, allocations: 40 kB / 0.7821 GB, free: 0.9414 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 9.016e-05/0.6566, allocations: 44.61 kB / 0.7821 GB, free: 0.9102 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.58e-05/0.6566, allocations: 4.906 kB / 0.7821 GB, free: 0.9102 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00414/0.6608, allocations: 2.659 MB / 0.7847 GB, free: 15.11 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 2.843e-05/0.6608, allocations: 11.98 kB / 0.7847 GB, free: 15.1 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 6.298e-05/0.6609, allocations: 31.84 kB / 0.7848 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.001949/0.6628, allocations: 1.376 MB / 0.7861 GB, free: 13.69 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.6629, allocations: 0 / 0.7861 GB, free: 13.69 MB / 0.5261 GB Notification: Performance of FrontEnd: time 7.61e-07/0.6629, allocations: 0 / 0.7861 GB, free: 13.69 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.06e-06/0.6629, allocations: 0 / 0.7861 GB, free: 13.69 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.0009238/0.6638, allocations: 0.4991 MB / 0.7866 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.6639, allocations: 12.03 kB / 0.7866 GB, free: 13.13 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003281/0.6642, allocations: 20.92 kB / 0.7866 GB, free: 13.11 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001124/0.6643, allocations: 172.2 kB / 0.7868 GB, free: 12.9 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.812e-05/0.6644, allocations: 38.44 kB / 0.7868 GB, free: 12.86 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.695e-05/0.6644, allocations: 7.938 kB / 0.7868 GB, free: 12.85 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003342/0.6648, allocations: 117.6 kB / 0.7869 GB, free: 12.73 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.6648, allocations: 0 / 0.7869 GB, free: 12.73 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.387e-05/0.6648, allocations: 0 / 0.7869 GB, free: 12.73 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.326e-06/0.6648, allocations: 4 kB / 0.7869 GB, free: 12.73 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002797/0.6651, allocations: 123.8 kB / 0.7871 GB, free: 12.61 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.0005044/0.6656, allocations: 382 kB / 0.7874 GB, free: 12.17 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002457/0.6659, allocations: 122.6 kB / 0.7875 GB, free: 12.04 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.532e-05/0.666, allocations: 53.47 kB / 0.7876 GB, free: 11.99 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01146/0.6774, allocations: 4.199 MB / 0.7917 GB, free: 7.473 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.019e-05/0.6775, allocations: 34.56 kB / 0.7917 GB, free: 7.43 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=13): time 3.156e-06/0.6775, allocations: 7.922 kB / 0.7917 GB, free: 7.422 MB / 0.5261 GB Notification: Performance of matching and sorting (n=13): time 0.0005272/0.678, allocations: 154.6 kB / 0.7919 GB, free: 7.266 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.802e-05/0.6781, allocations: 55.41 kB / 0.7919 GB, free: 7.199 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.602e-05/0.6782, allocations: 105.8 kB / 0.792 GB, free: 7.086 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.939e-05/0.6782, allocations: 25.7 kB / 0.7921 GB, free: 7.055 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.379e-05/0.6783, allocations: 92.05 kB / 0.7922 GB, free: 6.961 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.145e-05/0.6783, allocations: 35.59 kB / 0.7922 GB, free: 6.926 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.334e-05/0.6784, allocations: 29.7 kB / 0.7922 GB, free: 6.891 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001247/0.6785, allocations: 318.8 kB / 0.7925 GB, free: 6.57 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.047e-05/0.6786, allocations: 31.98 kB / 0.7925 GB, free: 6.539 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.067e-05/0.6786, allocations: 29.55 kB / 0.7926 GB, free: 6.512 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001114/0.6787, allocations: 72.78 kB / 0.7926 GB, free: 6.438 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.6788, allocations: 7.938 kB / 0.7927 GB, free: 6.43 MB / 0.5261 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001817/0.6789, allocations: 106.8 kB / 0.7928 GB, free: 6.32 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.679, allocations: 4 kB / 0.7928 GB, free: 6.316 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.679, allocations: 0 / 0.7928 GB, free: 6.316 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.679, allocations: 0 / 0.7928 GB, free: 6.316 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001329/0.6791, allocations: 23.98 kB / 0.7928 GB, free: 6.293 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/0.6792, allocations: 3.938 kB / 0.7928 GB, free: 6.289 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.609e-05/0.6792, allocations: 10.84 kB / 0.7928 GB, free: 6.281 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.704e-05/0.6793, allocations: 11.94 kB / 0.7928 GB, free: 6.27 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 8.894e-05/0.6794, allocations: 117.8 kB / 0.7929 GB, free: 6.145 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.344e-05/0.6794, allocations: 4 kB / 0.7929 GB, free: 6.141 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004516/0.6799, allocations: 367.7 kB / 0.7933 GB, free: 5.773 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.11e-05/0.6799, allocations: 7.984 kB / 0.7933 GB, free: 5.766 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.6799, allocations: 4 kB / 0.7933 GB, free: 5.762 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.259e-06/0.6799, allocations: 0 / 0.7933 GB, free: 5.762 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002766/0.6802, allocations: 289.2 kB / 0.7936 GB, free: 5.43 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.6802, allocations: 0 / 0.7936 GB, free: 5.43 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.447e-05/0.6803, allocations: 19.98 kB / 0.7936 GB, free: 5.41 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.6803, allocations: 0 / 0.7936 GB, free: 5.41 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.327e-05/0.6803, allocations: 7.984 kB / 0.7936 GB, free: 5.402 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.6803, allocations: 4 kB / 0.7936 GB, free: 5.398 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.6803, allocations: 0 / 0.7936 GB, free: 5.398 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006709/0.681, allocations: 0.9811 MB / 0.7946 GB, free: 4.359 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 7.106e-05/0.6811, allocations: 100.8 kB / 0.7946 GB, free: 4.242 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.932e-05/0.6811, allocations: 7.938 kB / 0.7947 GB, free: 4.234 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001316/0.6813, allocations: 11.98 kB / 0.7947 GB, free: 4.223 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.432e-05/0.6813, allocations: 11.98 kB / 0.7947 GB, free: 4.211 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.175e-05/0.6813, allocations: 4 kB / 0.7947 GB, free: 4.207 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.34e-05/0.6813, allocations: 87.2 kB / 0.7948 GB, free: 4.121 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6814, allocations: 4 kB / 0.7948 GB, free: 4.117 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0009265/0.6823, allocations: 307.9 kB / 0.7951 GB, free: 3.816 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.001216/0.6835, allocations: 397.6 kB / 0.7954 GB, free: 3.422 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002121/0.6837, allocations: 124 kB / 0.7956 GB, free: 3.301 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.6837, allocations: 0 / 0.7956 GB, free: 3.301 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001205/0.6839, allocations: 113.7 kB / 0.7957 GB, free: 3.191 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002986/0.6842, allocations: 19.98 kB / 0.7957 GB, free: 3.172 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006493/0.6848, allocations: 0.5945 MB / 0.7963 GB, free: 2.543 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002323/0.6851, allocations: 0.7247 MB / 0.797 GB, free: 1.793 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0001041/0.6852, allocations: 28.34 kB / 0.797 GB, free: 1.766 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.179e-05/0.6852, allocations: 15.44 kB / 0.797 GB, free: 1.75 MB / 0.5261 GB Notification: Performance of SimCode: time 2.51e-07/0.6852, allocations: 3.938 kB / 0.797 GB, free: 1.746 MB / 0.5261 GB Notification: Performance of Templates: time 0.01295/0.6982, allocations: 9.778 MB / 0.8066 GB, free: 7.969 MB / 0.5417 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)