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/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00131/0.00131, allocations: 104 kB / 16.27 MB, free: 6.418 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.001269/0.001269, allocations: 190.1 kB / 17.2 MB, free: 5.949 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.346/1.346, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8219/0.8219, allocations: 135.2 MB / 426.2 MB, free: 4.102 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001906/0.001906, allocations: 63.89 kB / 0.506 GB, free: 8.332 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3419/0.3438, allocations: 80.91 MB / 0.585 GB, free: 25.29 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamSaturationConsistencyCheck): time 0.1504/0.4943, allocations: 135.6 MB / 0.7175 GB, free: 2.453 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00939/0.5037, allocations: 7.915 MB / 0.7252 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.542e-05/0.5038, allocations: 0 / 0.7252 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001622/0.504, allocations: 23.89 kB / 0.7252 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.63e-05/0.5041, allocations: 15.84 kB / 0.7252 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00348/0.5076, allocations: 1.467 MB / 0.7267 GB, free: 9.012 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001306/0.5077, allocations: 71.7 kB / 0.7267 GB, free: 8.941 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.305e-05/0.5078, allocations: 8 kB / 0.7267 GB, free: 8.934 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001342/0.5079, allocations: 51.83 kB / 0.7268 GB, free: 8.883 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.925e-05/0.508, allocations: 31.86 kB / 0.7268 GB, free: 8.852 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.306e-05/0.508, allocations: 0 / 0.7268 GB, free: 8.852 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004181/0.5122, allocations: 2.657 MB / 0.7294 GB, free: 6.191 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.559e-05/0.5122, allocations: 11.92 kB / 0.7294 GB, free: 6.18 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 5.113e-05/0.5123, allocations: 35.84 kB / 0.7295 GB, free: 6.145 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001897/0.5142, allocations: 1.369 MB / 0.7308 GB, free: 4.773 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.5142, allocations: 0 / 0.7308 GB, free: 4.773 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.473e-06/0.5142, allocations: 0 / 0.7308 GB, free: 4.773 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.11e-06/0.5142, allocations: 4 kB / 0.7308 GB, free: 4.77 MB / 0.5606 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.0009981/0.5152, allocations: 0.4951 MB / 0.7313 GB, free: 4.227 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.468e-05/0.5153, allocations: 13.11 kB / 0.7313 GB, free: 4.215 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003576/0.5156, allocations: 20.91 kB / 0.7313 GB, free: 4.195 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001528/0.5158, allocations: 176.2 kB / 0.7315 GB, free: 3.984 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.437e-05/0.5159, allocations: 38.25 kB / 0.7315 GB, free: 3.941 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.616e-05/0.5159, allocations: 7.938 kB / 0.7315 GB, free: 3.934 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003574/0.5163, allocations: 117.6 kB / 0.7316 GB, free: 3.812 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.5163, allocations: 4 kB / 0.7316 GB, free: 3.809 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.349e-05/0.5163, allocations: 0 / 0.7316 GB, free: 3.809 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.5163, allocations: 0 / 0.7316 GB, free: 3.809 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002962/0.5166, allocations: 115.9 kB / 0.7317 GB, free: 3.695 MB / 0.5606 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.0005344/0.5172, allocations: 388 kB / 0.7321 GB, free: 3.254 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002773/0.5174, allocations: 128 kB / 0.7322 GB, free: 3.121 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.423e-05/0.5175, allocations: 60.78 kB / 0.7323 GB, free: 3.059 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01216/0.5297, allocations: 4.203 MB / 0.7364 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.3e-05/0.5298, allocations: 34.56 kB / 0.7364 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=13): time 1.914e-06/0.5298, allocations: 4 kB / 0.7364 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13): time 0.0005574/0.5304, allocations: 161.6 kB / 0.7366 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.014e-05/0.5304, allocations: 51.41 kB / 0.7366 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.613e-05/0.5305, allocations: 105.8 kB / 0.7367 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.091e-05/0.5305, allocations: 25.7 kB / 0.7368 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.28e-05/0.5306, allocations: 88.05 kB / 0.7369 GB, free: 14.03 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.173e-05/0.5306, allocations: 39.53 kB / 0.7369 GB, free: 13.99 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.519e-05/0.5307, allocations: 29.7 kB / 0.7369 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001448/0.5309, allocations: 326.8 kB / 0.7372 GB, free: 13.63 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.737e-05/0.5309, allocations: 23.98 kB / 0.7373 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.191e-05/0.531, allocations: 30.98 kB / 0.7373 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001215/0.5311, allocations: 72.78 kB / 0.7373 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.5311, allocations: 0 / 0.7373 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000216/0.5313, allocations: 105.6 kB / 0.7375 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.5314, allocations: 9.875 kB / 0.7375 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.5314, allocations: 0 / 0.7375 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.846e-05/0.5314, allocations: 0 / 0.7375 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001262/0.5315, allocations: 19.98 kB / 0.7375 GB, free: 13.37 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.5315, allocations: 4 kB / 0.7375 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.342e-05/0.5316, allocations: 19.78 kB / 0.7375 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.205e-05/0.5316, allocations: 4 kB / 0.7375 GB, free: 13.34 MB / 0.5762 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.629e-05/0.5317, allocations: 113.8 kB / 0.7376 GB, free: 13.22 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.859e-05/0.5318, allocations: 4 kB / 0.7376 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005109/0.5323, allocations: 363.8 kB / 0.738 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.319e-05/0.5323, allocations: 11.98 kB / 0.738 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.194e-06/0.5323, allocations: 0 / 0.738 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.5323, allocations: 7.875 kB / 0.738 GB, free: 12.83 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003221/0.5327, allocations: 281.3 kB / 0.7383 GB, free: 12.51 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.5327, allocations: 192 / 0.7383 GB, free: 12.51 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001028/0.5328, allocations: 23.92 kB / 0.7383 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.821e-06/0.5328, allocations: 4 kB / 0.7383 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.105e-05/0.5328, allocations: 11.98 kB / 0.7383 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.5328, allocations: 3.984 kB / 0.7383 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.5328, allocations: 0 / 0.7383 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003889/0.5332, allocations: 334.8 kB / 0.7386 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.949e-05/0.5333, allocations: 100.9 kB / 0.7387 GB, free: 12 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.844e-05/0.5334, allocations: 3.984 kB / 0.7387 GB, free: 12 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001419/0.5335, allocations: 8 kB / 0.7387 GB, free: 11.99 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.454e-05/0.5335, allocations: 7.984 kB / 0.7387 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.69e-05/0.5336, allocations: 15.94 kB / 0.7387 GB, free: 11.97 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.753e-05/0.5336, allocations: 87.2 kB / 0.7388 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5336, allocations: 0 / 0.7388 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009992/0.5346, allocations: 303.8 kB / 0.7391 GB, free: 11.59 MB / 0.5762 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.001305/0.5359, allocations: 394.9 kB / 0.7395 GB, free: 11.19 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002904/0.5362, allocations: 132.8 kB / 0.7396 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.5362, allocations: 0 / 0.7396 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001418/0.5364, allocations: 111.9 kB / 0.7397 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003184/0.5367, allocations: 27.91 kB / 0.7398 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005829/0.5373, allocations: 337.4 kB / 0.7401 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000358/0.5377, allocations: 0.7127 MB / 0.7408 GB, free: 9.832 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.524e-05/0.5377, allocations: 19.44 kB / 0.7408 GB, free: 9.812 MB / 0.5762 GB Notification: Performance of SimCode: time 4.61e-07/0.5377, allocations: 0 / 0.7408 GB, free: 9.812 MB / 0.5762 GB Notification: Performance of Templates: time 0.01134/0.5491, allocations: 6.763 MB / 0.7474 GB, free: 3.047 MB / 0.5762 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)