Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.SteamProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.SteamProperties") translateModel(IDEAS.Media.Examples.SteamProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001289/0.001289, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001417/0.001417, allocations: 191.7 kB / 16.25 MB, free: 6.633 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.35/1.35, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.926/0.926, allocations: 135.6 MB / 425.6 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001843/0.001843, allocations: 72.08 kB / 0.5054 GB, free: 5.223 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.164/0.1658, allocations: 81.02 MB / 0.5845 GB, free: 4.34 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamProperties): time 0.3878/0.5537, allocations: 134.2 MB / 0.7155 GB, free: 10.96 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.03066/0.5844, allocations: 22.61 MB / 0.7376 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000204/0.5846, allocations: 1.094 kB / 0.7376 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0003022/0.5849, allocations: 42 kB / 0.7377 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0003809/0.5854, allocations: 85.11 kB / 0.7377 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0216/0.607, allocations: 5.916 MB / 0.7435 GB, free: 7.965 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003907/0.6074, allocations: 249.1 kB / 0.7438 GB, free: 7.832 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.833e-05/0.6074, allocations: 9.5 kB / 0.7438 GB, free: 7.824 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000297/0.6077, allocations: 136.8 kB / 0.7439 GB, free: 7.754 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001497/0.6079, allocations: 93.59 kB / 0.744 GB, free: 7.699 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.197e-05/0.6079, allocations: 9.406 kB / 0.744 GB, free: 7.699 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02012/0.628, allocations: 10.82 MB / 0.7546 GB, free: 14.26 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001763/0.6283, allocations: 43.83 kB / 0.7546 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002384/0.6285, allocations: 79.66 kB / 0.7547 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01664/0.6452, allocations: 6.195 MB / 0.7607 GB, free: 7.93 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.264e-06/0.6452, allocations: 4 kB / 0.7607 GB, free: 7.926 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.444e-06/0.6452, allocations: 0 / 0.7607 GB, free: 7.926 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.149e-05/0.6453, allocations: 0 / 0.7607 GB, free: 7.926 MB / 0.5762 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.003856/0.6491, allocations: 1.188 MB / 0.7619 GB, free: 6.691 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.584e-05/0.6492, allocations: 8.031 kB / 0.7619 GB, free: 6.684 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001221/0.6504, allocations: 84.77 kB / 0.762 GB, free: 6.602 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000301/0.6507, allocations: 236 kB / 0.7622 GB, free: 6.332 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.327e-05/0.6508, allocations: 12.38 kB / 0.7622 GB, free: 6.32 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.456e-05/0.6508, allocations: 15.94 kB / 0.7622 GB, free: 6.305 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001253/0.6521, allocations: 455.2 kB / 0.7627 GB, free: 5.844 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.6521, allocations: 0 / 0.7627 GB, free: 5.844 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.042e-05/0.6521, allocations: 5.25 kB / 0.7627 GB, free: 5.84 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.6521, allocations: 8 kB / 0.7627 GB, free: 5.832 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001275/0.6534, allocations: 0.5932 MB / 0.7633 GB, free: 5.238 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001186/0.6546, allocations: 0.8745 MB / 0.7641 GB, free: 4.277 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008812/0.6555, allocations: 252.1 kB / 0.7643 GB, free: 4.023 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001329/0.6557, allocations: 82.34 kB / 0.7644 GB, free: 3.941 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0857/0.7414, allocations: 35.04 MB / 0.7986 GB, free: 13.82 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.14e-05/0.7415, allocations: 38.5 kB / 0.7987 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=25): time 1.704e-06/0.7415, allocations: 3.938 kB / 0.7987 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of matching and sorting (n=25): time 0.001829/0.7433, allocations: 414.5 kB / 0.7991 GB, free: 13.36 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.999e-05/0.7434, allocations: 59.41 kB / 0.7991 GB, free: 13.29 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001499/0.7435, allocations: 143.9 kB / 0.7993 GB, free: 13.14 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.817e-05/0.7436, allocations: 33.7 kB / 0.7993 GB, free: 13.1 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 8.049e-05/0.7437, allocations: 108.4 kB / 0.7994 GB, free: 12.99 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 7.998e-05/0.7438, allocations: 74.77 kB / 0.7995 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001466/0.7439, allocations: 81.66 kB / 0.7996 GB, free: 12.83 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.7441, allocations: 330.8 kB / 0.7999 GB, free: 12.5 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001857/0.7442, allocations: 79.95 kB / 0.8 GB, free: 12.42 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002607/0.7445, allocations: 133 kB / 0.8001 GB, free: 12.27 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004531/0.745, allocations: 228.2 kB / 0.8003 GB, free: 12.03 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.745, allocations: 0 / 0.8003 GB, free: 12.03 MB / 0.6231 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007353/0.7457, allocations: 302.1 kB / 0.8006 GB, free: 11.73 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.432e-05/0.7458, allocations: 11.94 kB / 0.8006 GB, free: 11.72 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/0.7458, allocations: 0 / 0.8006 GB, free: 11.72 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.906e-05/0.7458, allocations: 4 kB / 0.8006 GB, free: 11.72 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000306/0.7461, allocations: 79.88 kB / 0.8007 GB, free: 11.64 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.708e-06/0.7461, allocations: 3.984 kB / 0.8007 GB, free: 11.64 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001774/0.7463, allocations: 27.91 kB / 0.8007 GB, free: 11.61 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.234e-05/0.7464, allocations: 31.92 kB / 0.8007 GB, free: 11.58 MB / 0.6231 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.0001516/0.7465, allocations: 125.8 kB / 0.8009 GB, free: 11.45 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000168/0.7467, allocations: 15.91 kB / 0.8009 GB, free: 11.43 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00258/0.7493, allocations: 2.342 MB / 0.8032 GB, free: 9.078 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.939e-05/0.7493, allocations: 15.98 kB / 0.8032 GB, free: 9.062 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.7493, allocations: 0 / 0.8032 GB, free: 9.062 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/0.7493, allocations: 0 / 0.8032 GB, free: 9.062 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003558/0.7529, allocations: 3.423 MB / 0.8065 GB, free: 5.539 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.442e-06/0.7529, allocations: 0 / 0.8065 GB, free: 5.539 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000278/0.7532, allocations: 59.89 kB / 0.8066 GB, free: 5.48 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.945e-06/0.7532, allocations: 3.984 kB / 0.8066 GB, free: 5.477 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.695e-05/0.7533, allocations: 11.94 kB / 0.8066 GB, free: 5.465 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.7533, allocations: 0 / 0.8066 GB, free: 5.465 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.7533, allocations: 0 / 0.8066 GB, free: 5.465 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008158/0.7541, allocations: 0.5507 MB / 0.8071 GB, free: 4.898 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001504/0.7543, allocations: 144.4 kB / 0.8073 GB, free: 4.738 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.167e-05/0.7543, allocations: 11.94 kB / 0.8073 GB, free: 4.727 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000229/0.7545, allocations: 11.98 kB / 0.8073 GB, free: 4.715 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.292e-05/0.7546, allocations: 23.97 kB / 0.8073 GB, free: 4.691 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.799e-05/0.7546, allocations: 8 kB / 0.8073 GB, free: 4.684 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 9.23e-05/0.7547, allocations: 109.4 kB / 0.8074 GB, free: 4.578 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7547, allocations: 3.938 kB / 0.8074 GB, free: 4.574 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.004439/0.7592, allocations: 1.628 MB / 0.809 GB, free: 2.945 MB / 0.6231 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.008519/0.7677, allocations: 1.905 MB / 0.8109 GB, free: 1.039 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0008453/0.7686, allocations: 340.3 kB / 0.8112 GB, free: 0.7031 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.7686, allocations: 0 / 0.8112 GB, free: 0.7031 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003584/0.769, allocations: 241.2 kB / 0.8114 GB, free: 480 kB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000558/0.7695, allocations: 58.66 kB / 0.8115 GB, free: 424 kB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001205/0.7708, allocations: 0.7595 MB / 0.8122 GB, free: 15.62 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003896/0.7712, allocations: 0.7661 MB / 0.813 GB, free: 14.83 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0005874/0.7718, allocations: 409 kB / 0.8134 GB, free: 14.43 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001438/0.7719, allocations: 47.42 kB / 0.8134 GB, free: 14.39 MB / 0.6387 GB Notification: Performance of SimCode: time 4.1e-07/0.7719, allocations: 0 / 0.8134 GB, free: 14.39 MB / 0.6387 GB Notification: Performance of Templates: time 0.299/1.071, allocations: 57.26 MB / 0.8693 GB, free: 220.8 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.Media.Examples.SteamProperties.makefile (rm -f IDEAS_dev_IDEAS.Media.Examples.SteamProperties.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.SteamProperties.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.SteamProperties.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.SteamProperties.sim & ./IDEAS_dev_IDEAS.Media.Examples.SteamProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.SteamProperties.pipe 2>&1)