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.00788/0.00788, allocations: 102 kB / 15.73 MB, free: 6.051 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.001594/0.001594, allocations: 191.4 kB / 16.67 MB, free: 5.965 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.463/1.463, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.868/0.868, allocations: 132.2 MB / 422.7 MB, free: 6.527 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001414/0.001414, allocations: 67.09 kB / 0.5813 GB, free: 23.86 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1776/0.179, allocations: 80.22 MB / 0.6597 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamSaturationConsistencyCheck): time 0.5895/0.7686, allocations: 135.6 MB / 0.7921 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.008762/0.7774, allocations: 7.916 MB / 0.7998 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.02e-05/0.7775, allocations: 1.375 kB / 0.7998 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0002244/0.7778, allocations: 31.67 kB / 0.7998 GB, free: 12.56 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 6.526e-05/0.7779, allocations: 24.77 kB / 0.7998 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00468/0.7826, allocations: 1.469 MB / 0.8013 GB, free: 12.37 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0001356/0.7827, allocations: 75.64 kB / 0.8013 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 4.922e-05/0.7828, allocations: 10.12 kB / 0.8014 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001431/0.7829, allocations: 45.58 kB / 0.8014 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001/0.7831, allocations: 33.78 kB / 0.8014 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.535e-05/0.7831, allocations: 2.719 kB / 0.8014 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00522/0.7883, allocations: 2.705 MB / 0.8041 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 4.02e-05/0.7884, allocations: 16.23 kB / 0.8041 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 5.775e-05/0.7884, allocations: 30.61 kB / 0.8041 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002585/0.791, allocations: 1.381 MB / 0.8055 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.791, allocations: 4 kB / 0.8055 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.623e-06/0.791, allocations: 0 / 0.8055 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.444e-06/0.7911, allocations: 0 / 0.8055 GB, free: 11.54 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.000971/0.792, allocations: 0.4899 MB / 0.806 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.7921, allocations: 11.98 kB / 0.806 GB, free: 11.1 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000353/0.7924, allocations: 22.14 kB / 0.806 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001377/0.7926, allocations: 167 kB / 0.8061 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.719e-05/0.7927, allocations: 39.39 kB / 0.8062 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.672e-05/0.7927, allocations: 10.62 kB / 0.8062 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003603/0.7931, allocations: 118.1 kB / 0.8063 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.113e-06/0.7931, allocations: 0 / 0.8063 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.546e-05/0.7931, allocations: 3.375 kB / 0.8063 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.765e-06/0.7931, allocations: 6.141 kB / 0.8063 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002813/0.7934, allocations: 115.8 kB / 0.8064 GB, free: 10.76 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.0005902/0.794, allocations: 383 kB / 0.8068 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003063/0.7943, allocations: 128.9 kB / 0.8069 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.958e-05/0.7944, allocations: 51.44 kB / 0.807 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01171/0.8061, allocations: 4.225 MB / 0.8111 GB, free: 7.691 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.184e-05/0.8062, allocations: 36.22 kB / 0.8111 GB, free: 7.652 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=13): time 1.623e-06/0.8062, allocations: 0 / 0.8111 GB, free: 7.652 MB / 0.5919 GB Notification: Performance of matching and sorting (n=13): time 0.0004915/0.8067, allocations: 174.9 kB / 0.8113 GB, free: 7.586 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.742e-05/0.8067, allocations: 51.41 kB / 0.8113 GB, free: 7.523 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.512e-05/0.8068, allocations: 97.86 kB / 0.8114 GB, free: 7.426 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.724e-05/0.8068, allocations: 32.36 kB / 0.8115 GB, free: 7.391 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 4.772e-05/0.8069, allocations: 87.81 kB / 0.8115 GB, free: 7.305 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.912e-05/0.8069, allocations: 42.02 kB / 0.8116 GB, free: 7.273 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.048e-05/0.807, allocations: 27.92 kB / 0.8116 GB, free: 7.254 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001156/0.8071, allocations: 322.5 kB / 0.8119 GB, free: 6.934 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.607e-05/0.8072, allocations: 26.58 kB / 0.8119 GB, free: 6.93 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.401e-05/0.8072, allocations: 26.17 kB / 0.812 GB, free: 6.926 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001011/0.8073, allocations: 64.2 kB / 0.812 GB, free: 6.918 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.8073, allocations: 7.938 kB / 0.812 GB, free: 6.91 MB / 0.5919 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001703/0.8075, allocations: 114.8 kB / 0.8121 GB, free: 6.859 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.8075, allocations: 5.062 kB / 0.8122 GB, free: 6.859 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.8075, allocations: 0 / 0.8122 GB, free: 6.859 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/0.8076, allocations: 0 / 0.8122 GB, free: 6.859 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001236/0.8077, allocations: 21.36 kB / 0.8122 GB, free: 6.855 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.8077, allocations: 0 / 0.8122 GB, free: 6.855 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.002e-05/0.8078, allocations: 6.938 kB / 0.8122 GB, free: 6.855 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.414e-05/0.8078, allocations: 10.05 kB / 0.8122 GB, free: 6.848 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.378e-05/0.8079, allocations: 119.6 kB / 0.8123 GB, free: 6.727 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.926e-05/0.8079, allocations: 13.56 kB / 0.8123 GB, free: 6.719 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003954/0.8083, allocations: 370 kB / 0.8127 GB, free: 6.609 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-06/0.8084, allocations: 2.375 kB / 0.8127 GB, free: 6.609 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.8084, allocations: 0 / 0.8127 GB, free: 6.609 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.501e-06/0.8084, allocations: 3.984 kB / 0.8127 GB, free: 6.605 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002624/0.8086, allocations: 290.6 kB / 0.813 GB, free: 6.379 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.8087, allocations: 1.688 kB / 0.813 GB, free: 6.379 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.919e-05/0.8088, allocations: 21.42 kB / 0.813 GB, free: 6.375 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.8088, allocations: 3.938 kB / 0.813 GB, free: 6.371 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/0.8088, allocations: 10.06 kB / 0.813 GB, free: 6.367 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.8088, allocations: 0 / 0.813 GB, free: 6.367 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.8088, allocations: 0 / 0.813 GB, free: 6.367 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003083/0.8091, allocations: 324.9 kB / 0.8133 GB, free: 6.203 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 8.759e-05/0.8092, allocations: 105.6 kB / 0.8134 GB, free: 6.09 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.754e-05/0.8092, allocations: 2.375 kB / 0.8134 GB, free: 6.09 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000142/0.8094, allocations: 10.2 kB / 0.8134 GB, free: 6.086 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.446e-05/0.8094, allocations: 12.77 kB / 0.8134 GB, free: 6.078 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.169e-05/0.8094, allocations: 6.094 kB / 0.8134 GB, free: 6.078 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 3.685e-05/0.8095, allocations: 88.19 kB / 0.8135 GB, free: 5.996 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8095, allocations: 0 / 0.8135 GB, free: 5.996 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008584/0.8103, allocations: 296.9 kB / 0.8138 GB, free: 5.977 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.001261/0.8116, allocations: 404.9 kB / 0.8142 GB, free: 5.824 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0002206/0.8118, allocations: 124.3 kB / 0.8143 GB, free: 5.809 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.8119, allocations: 0 / 0.8143 GB, free: 5.809 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001256/0.812, allocations: 115.4 kB / 0.8144 GB, free: 5.797 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003185/0.8123, allocations: 20.67 kB / 0.8144 GB, free: 5.789 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005063/0.8128, allocations: 314.2 kB / 0.8147 GB, free: 5.602 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002884/0.8131, allocations: 0.717 MB / 0.8154 GB, free: 4.891 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001037/0.8132, allocations: 31.77 kB / 0.8155 GB, free: 4.875 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.212e-05/0.8133, allocations: 15.38 kB / 0.8155 GB, free: 4.867 MB / 0.5919 GB Notification: Performance of SimCode: time 2.6e-07/0.8133, allocations: 2.125 kB / 0.8155 GB, free: 4.867 MB / 0.5919 GB Notification: Performance of Templates: time 0.01486/0.8282, allocations: 9.797 MB / 0.825 GB, free: 15.75 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)