Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.SteamProperties.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.SteamProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.SteamProperties") translateModel(IDEAS.Media.Examples.SteamProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.SteamProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007108/0.007108, allocations: 100.6 kB / 15.73 MB, free: 5.492 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.00136/0.00136, allocations: 186.6 kB / 16.67 MB, free: 5.422 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.433/1.433, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8617/0.8617, allocations: 132.2 MB / 422.7 MB, free: 6.59 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001188/0.001188, allocations: 68.17 kB / 0.5814 GB, free: 23.65 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1717/0.1729, allocations: 80.21 MB / 0.6597 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamProperties): time 0.5848/0.7578, allocations: 136.1 MB / 0.7926 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02434/0.7822, allocations: 22.32 MB / 0.8144 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002088/0.7824, allocations: 5.312 kB / 0.8144 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0002904/0.7827, allocations: 52.38 kB / 0.8145 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0003183/0.7831, allocations: 90.17 kB / 0.8146 GB, free: 10.49 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.01731/0.8004, allocations: 6.695 MB / 0.8211 GB, free: 6.582 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0004371/0.8008, allocations: 248.1 kB / 0.8213 GB, free: 6.457 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 5.292e-05/0.8009, allocations: 9.406 kB / 0.8214 GB, free: 6.457 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003207/0.8012, allocations: 150.5 kB / 0.8215 GB, free: 6.383 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001515/0.8014, allocations: 90.33 kB / 0.8216 GB, free: 6.34 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 2.137e-05/0.8014, allocations: 11.84 kB / 0.8216 GB, free: 6.336 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02067/0.8221, allocations: 10.97 MB / 0.8323 GB, free: 0.6562 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000119/0.8222, allocations: 36.33 kB / 0.8323 GB, free: 0.6328 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001587/0.8224, allocations: 80.7 kB / 0.8324 GB, free: 0.5938 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01768/0.8401, allocations: 6.155 MB / 0.8384 GB, free: 12.95 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.8401, allocations: 0 / 0.8384 GB, free: 12.95 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.683e-06/0.8402, allocations: 0 / 0.8384 GB, free: 12.95 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.073e-06/0.8402, allocations: 0 / 0.8384 GB, free: 12.95 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0036/0.8438, allocations: 1.19 MB / 0.8396 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.8438, allocations: 10.06 kB / 0.8396 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001107/0.8449, allocations: 84.02 kB / 0.8397 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000342/0.8453, allocations: 232.7 kB / 0.8399 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.365e-05/0.8453, allocations: 9.188 kB / 0.8399 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.914e-05/0.8453, allocations: 17.84 kB / 0.8399 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001174/0.8465, allocations: 465.9 kB / 0.8404 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.8466, allocations: 0 / 0.8404 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.792e-05/0.8466, allocations: 4 kB / 0.8404 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.707e-06/0.8466, allocations: 4 kB / 0.8404 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001241/0.8478, allocations: 0.597 MB / 0.841 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001072/0.8489, allocations: 0.8824 MB / 0.8418 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008337/0.8498, allocations: 249.3 kB / 0.8421 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001219/0.8499, allocations: 72.84 kB / 0.8421 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09476/0.9447, allocations: 35.42 MB / 0.8767 GB, free: 2.961 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.182e-05/0.9447, allocations: 46.31 kB / 0.8768 GB, free: 2.91 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=25): time 1.793e-06/0.9448, allocations: 3.938 kB / 0.8768 GB, free: 2.906 MB / 0.6387 GB Notification: Performance of matching and sorting (n=25): time 0.002059/0.9468, allocations: 421.3 kB / 0.8772 GB, free: 2.488 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.763e-05/0.9469, allocations: 55.41 kB / 0.8772 GB, free: 2.422 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002036/0.9471, allocations: 135.5 kB / 0.8774 GB, free: 2.281 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 5.869e-05/0.9472, allocations: 33.7 kB / 0.8774 GB, free: 2.242 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001167/0.9473, allocations: 112.3 kB / 0.8775 GB, free: 2.129 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001071/0.9474, allocations: 90.03 kB / 0.8776 GB, free: 2.043 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001669/0.9476, allocations: 73.67 kB / 0.8776 GB, free: 1.965 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001984/0.9478, allocations: 334.8 kB / 0.878 GB, free: 1.629 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002155/0.948, allocations: 75.95 kB / 0.878 GB, free: 1.555 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002642/0.9483, allocations: 133.5 kB / 0.8782 GB, free: 1.406 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004815/0.9488, allocations: 221 kB / 0.8784 GB, free: 1.172 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.287e-06/0.9488, allocations: 0 / 0.8784 GB, free: 1.172 MB / 0.6387 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008225/0.9496, allocations: 302.2 kB / 0.8787 GB, free: 0.8711 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.808e-05/0.9497, allocations: 8 kB / 0.8787 GB, free: 0.8633 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.517e-05/0.9497, allocations: 4 kB / 0.8787 GB, free: 0.8594 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.081e-05/0.9497, allocations: 0 / 0.8787 GB, free: 0.8594 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003311/0.9501, allocations: 83.88 kB / 0.8788 GB, free: 0.7773 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.006e-05/0.9501, allocations: 0 / 0.8788 GB, free: 0.7773 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001819/0.9503, allocations: 19.84 kB / 0.8788 GB, free: 0.7578 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.046e-05/0.9503, allocations: 31.91 kB / 0.8788 GB, free: 0.7266 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (30): * Single equations (assignments): 30 * 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 0.0001729/0.9505, allocations: 125.8 kB / 0.8789 GB, free: 0.5938 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001879/0.9507, allocations: 19.81 kB / 0.8789 GB, free: 0.5742 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002713/0.9534, allocations: 2.334 MB / 0.8812 GB, free: 14.23 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.602e-05/0.9535, allocations: 11.98 kB / 0.8812 GB, free: 14.21 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.9535, allocations: 3.938 kB / 0.8812 GB, free: 14.21 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.712e-06/0.9535, allocations: 3.984 kB / 0.8812 GB, free: 14.21 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003392/0.9569, allocations: 3.433 MB / 0.8846 GB, free: 10.67 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.74e-06/0.9569, allocations: 0 / 0.8846 GB, free: 10.67 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002579/0.9572, allocations: 55.89 kB / 0.8847 GB, free: 10.61 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.716e-06/0.9572, allocations: 8 kB / 0.8847 GB, free: 10.61 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.422e-05/0.9572, allocations: 15.88 kB / 0.8847 GB, free: 10.59 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.9572, allocations: 0 / 0.8847 GB, free: 10.59 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.9572, allocations: 0 / 0.8847 GB, free: 10.59 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008182/0.9581, allocations: 0.5431 MB / 0.8852 GB, free: 10.03 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001417/0.9582, allocations: 144.5 kB / 0.8853 GB, free: 9.867 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.669e-05/0.9583, allocations: 7.938 kB / 0.8854 GB, free: 9.859 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002227/0.9585, allocations: 12 kB / 0.8854 GB, free: 9.848 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.595e-05/0.9586, allocations: 27.95 kB / 0.8854 GB, free: 9.82 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.028e-05/0.9586, allocations: 12 kB / 0.8854 GB, free: 9.809 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 8.518e-05/0.9587, allocations: 109.3 kB / 0.8855 GB, free: 9.703 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9587, allocations: 0 / 0.8855 GB, free: 9.703 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.005956/0.9646, allocations: 1.624 MB / 0.8871 GB, free: 8.078 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.01127/0.9759, allocations: 1.886 MB / 0.8889 GB, free: 6.328 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0008252/0.9768, allocations: 316.6 kB / 0.8892 GB, free: 6.02 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.979e-06/0.9768, allocations: 0 / 0.8892 GB, free: 6.02 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0003827/0.9772, allocations: 248.4 kB / 0.8895 GB, free: 5.777 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006574/0.9779, allocations: 69.25 kB / 0.8895 GB, free: 5.711 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001168/0.9791, allocations: 0.6434 MB / 0.8902 GB, free: 5.047 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003456/0.9794, allocations: 0.7661 MB / 0.8909 GB, free: 4.254 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0005389/0.98, allocations: 405.1 kB / 0.8913 GB, free: 3.855 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001413/0.9801, allocations: 39.42 kB / 0.8913 GB, free: 3.816 MB / 0.6544 GB Notification: Performance of SimCode: time 4.11e-07/0.9801, allocations: 4 kB / 0.8913 GB, free: 3.812 MB / 0.6544 GB Notification: Performance of Templates: time 0.08142/1.062, allocations: 57.05 MB / 0.9471 GB, free: 10.75 MB / 0.7169 GB make -j1 -f IDEAS_IDEAS.Media.Examples.SteamProperties.makefile (rm -f IDEAS_IDEAS.Media.Examples.SteamProperties.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.SteamProperties.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.SteamProperties.pipe >> ../files/IDEAS_IDEAS.Media.Examples.SteamProperties.sim & ./IDEAS_IDEAS.Media.Examples.SteamProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.SteamProperties.pipe 2>&1)