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.007809/0.007809, allocations: 101 kB / 15.73 MB, free: 6.055 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.001486/0.001487, allocations: 196.8 kB / 16.68 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.415/1.415, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8033/0.8033, allocations: 132.2 MB / 422.7 MB, free: 6.527 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001369/0.001369, allocations: 63.31 kB / 0.5813 GB, free: 23.86 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1623/0.1636, allocations: 80.2 MB / 0.6596 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamSaturationConsistencyCheck): time 0.5437/0.7074, allocations: 135.6 MB / 0.7921 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.007313/0.7147, allocations: 7.919 MB / 0.7998 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.546e-05/0.7148, allocations: 0 / 0.7998 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0001539/0.715, allocations: 31.28 kB / 0.7998 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 4.401e-05/0.715, allocations: 19.89 kB / 0.7998 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003168/0.7182, allocations: 1.466 MB / 0.8013 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0001073/0.7183, allocations: 72.66 kB / 0.8013 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 3.611e-05/0.7184, allocations: 14.52 kB / 0.8014 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000126/0.7185, allocations: 41.97 kB / 0.8014 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 7.797e-05/0.7186, allocations: 29.53 kB / 0.8014 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.228e-05/0.7186, allocations: 6.281 kB / 0.8014 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003824/0.7224, allocations: 2.702 MB / 0.8041 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 2.944e-05/0.7225, allocations: 20.3 kB / 0.8041 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 5.033e-05/0.7225, allocations: 35.67 kB / 0.8041 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001739/0.7243, allocations: 1.379 MB / 0.8055 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.7243, allocations: 0 / 0.8055 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.382e-06/0.7243, allocations: 0 / 0.8055 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.828e-06/0.7243, allocations: 0 / 0.8055 GB, free: 11.5 MB / 0.5919 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.001037/0.7253, allocations: 0.4941 MB / 0.8059 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.752e-05/0.7254, allocations: 8.938 kB / 0.806 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003615/0.7258, allocations: 25.02 kB / 0.806 GB, free: 11.06 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001349/0.7259, allocations: 174.5 kB / 0.8061 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.064e-05/0.726, allocations: 34.7 kB / 0.8062 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.899e-05/0.726, allocations: 8.656 kB / 0.8062 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003698/0.7264, allocations: 116.8 kB / 0.8063 GB, free: 10.76 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.7264, allocations: 3.984 kB / 0.8063 GB, free: 10.76 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.346e-05/0.7264, allocations: 0 / 0.8063 GB, free: 10.76 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.7265, allocations: 2.875 kB / 0.8063 GB, free: 10.76 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002918/0.7268, allocations: 124.8 kB / 0.8064 GB, free: 10.72 MB / 0.5919 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.000508/0.7273, allocations: 379.3 kB / 0.8068 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002468/0.7275, allocations: 125 kB / 0.8069 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.403e-05/0.7276, allocations: 49.28 kB / 0.807 GB, free: 10.31 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01036/0.738, allocations: 4.227 MB / 0.8111 GB, free: 7.66 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.207e-05/0.738, allocations: 38.69 kB / 0.8111 GB, free: 7.617 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=13): time 1.462e-06/0.738, allocations: 0 / 0.8111 GB, free: 7.617 MB / 0.5919 GB Notification: Performance of matching and sorting (n=13): time 0.0004915/0.7385, allocations: 166.1 kB / 0.8113 GB, free: 7.559 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.901e-05/0.7386, allocations: 58.31 kB / 0.8113 GB, free: 7.492 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.476e-05/0.7387, allocations: 102 kB / 0.8114 GB, free: 7.391 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.544e-05/0.7387, allocations: 25.7 kB / 0.8115 GB, free: 7.359 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 4.15e-05/0.7387, allocations: 86.08 kB / 0.8115 GB, free: 7.277 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.584e-05/0.7388, allocations: 44.34 kB / 0.8116 GB, free: 7.242 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.704e-05/0.7388, allocations: 30.98 kB / 0.8116 GB, free: 7.223 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001098/0.7389, allocations: 317.6 kB / 0.8119 GB, free: 6.906 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.52e-05/0.739, allocations: 26.83 kB / 0.8119 GB, free: 6.902 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.416e-05/0.739, allocations: 33.67 kB / 0.812 GB, free: 6.891 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.649e-05/0.7392, allocations: 66.28 kB / 0.812 GB, free: 6.879 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.7392, allocations: 0 / 0.812 GB, free: 6.879 MB / 0.5919 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001686/0.7393, allocations: 109.8 kB / 0.8121 GB, free: 6.832 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.7394, allocations: 6.875 kB / 0.8121 GB, free: 6.832 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.7394, allocations: 0.875 kB / 0.8121 GB, free: 6.832 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.7394, allocations: 192 / 0.8121 GB, free: 6.832 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001218/0.7395, allocations: 29.36 kB / 0.8122 GB, free: 6.824 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.7395, allocations: 0 / 0.8122 GB, free: 6.824 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.269e-05/0.7396, allocations: 2.75 kB / 0.8122 GB, free: 6.824 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.349e-05/0.7396, allocations: 10.16 kB / 0.8122 GB, free: 6.816 MB / 0.5919 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.279e-05/0.7397, allocations: 119.2 kB / 0.8123 GB, free: 6.699 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.739e-05/0.7397, allocations: 16.52 kB / 0.8123 GB, free: 6.688 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000398/0.7401, allocations: 371.5 kB / 0.8127 GB, free: 6.574 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.548e-06/0.7402, allocations: 9.984 kB / 0.8127 GB, free: 6.57 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.7402, allocations: 3.625 kB / 0.8127 GB, free: 6.57 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.7402, allocations: 0 / 0.8127 GB, free: 6.57 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002542/0.7404, allocations: 286.8 kB / 0.813 GB, free: 6.344 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.7405, allocations: 0 / 0.813 GB, free: 6.344 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.281e-05/0.7406, allocations: 25.86 kB / 0.813 GB, free: 6.336 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.7406, allocations: 0 / 0.813 GB, free: 6.336 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/0.7406, allocations: 6.062 kB / 0.813 GB, free: 6.336 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.7406, allocations: 0 / 0.813 GB, free: 6.336 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.7406, allocations: 0 / 0.813 GB, free: 6.336 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002988/0.7409, allocations: 333.2 kB / 0.8133 GB, free: 6.164 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 6.541e-05/0.741, allocations: 103.4 kB / 0.8134 GB, free: 6.055 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.496e-05/0.741, allocations: 3.688 kB / 0.8134 GB, free: 6.055 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001277/0.7411, allocations: 10.45 kB / 0.8134 GB, free: 6.047 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.075e-05/0.7411, allocations: 8.859 kB / 0.8134 GB, free: 6.043 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.193e-05/0.7412, allocations: 5.906 kB / 0.8134 GB, free: 6.043 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 4.251e-05/0.7412, allocations: 88.17 kB / 0.8135 GB, free: 5.961 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7412, allocations: 0 / 0.8135 GB, free: 5.961 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008184/0.742, allocations: 297.1 kB / 0.8138 GB, free: 5.941 MB / 0.5919 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.001125/0.7432, allocations: 395.8 kB / 0.8142 GB, free: 5.797 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0002008/0.7434, allocations: 126.7 kB / 0.8143 GB, free: 5.781 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.7434, allocations: 0 / 0.8143 GB, free: 5.781 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.000106/0.7435, allocations: 122.5 kB / 0.8144 GB, free: 5.762 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002826/0.7438, allocations: 14.53 kB / 0.8144 GB, free: 5.758 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004325/0.7442, allocations: 310.8 kB / 0.8147 GB, free: 5.578 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002486/0.7445, allocations: 0.7211 MB / 0.8154 GB, free: 4.863 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 9.093e-05/0.7446, allocations: 25.11 kB / 0.8154 GB, free: 4.855 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.258e-05/0.7446, allocations: 18.27 kB / 0.8155 GB, free: 4.844 MB / 0.5919 GB Notification: Performance of SimCode: time 2.4e-07/0.7446, allocations: 0 / 0.8155 GB, free: 4.844 MB / 0.5919 GB Notification: Performance of Templates: time 0.01288/0.7575, allocations: 9.811 MB / 0.825 GB, free: 15.71 MB / 0.6075 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)