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.001386/0.001386, allocations: 104.6 kB / 16.41 MB, free: 6.496 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.001171/0.001171, allocations: 183 kB / 17.34 MB, free: 5.734 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 / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7975/0.7975, allocations: 135.1 MB / 426.3 MB, free: 4.09 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 66.92 kB / 0.5863 GB, free: 21.59 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1494/0.1507, allocations: 80.92 MB / 0.6653 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamProperties): time 0.5173/0.6681, allocations: 136.1 MB / 0.7983 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02503/0.6932, allocations: 22.32 MB / 0.8201 GB, free: 7.332 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002008/0.6934, allocations: 2.625 kB / 0.8201 GB, free: 7.332 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0003025/0.6937, allocations: 47.44 kB / 0.8201 GB, free: 7.293 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0004042/0.6942, allocations: 92 kB / 0.8202 GB, free: 7.215 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.02021/0.7144, allocations: 6.686 MB / 0.8267 GB, free: 2.695 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0004565/0.7149, allocations: 249 kB / 0.827 GB, free: 2.559 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 5.996e-05/0.7149, allocations: 17.34 kB / 0.827 GB, free: 2.551 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004015/0.7153, allocations: 141.9 kB / 0.8271 GB, free: 2.473 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001991/0.7156, allocations: 89.62 kB / 0.8272 GB, free: 2.422 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 4.177e-05/0.7156, allocations: 7.781 kB / 0.8272 GB, free: 2.422 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02365/0.7393, allocations: 10.97 MB / 0.8379 GB, free: 12.65 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001288/0.7394, allocations: 38.08 kB / 0.838 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001888/0.7396, allocations: 81.88 kB / 0.838 GB, free: 12.58 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0163/0.7559, allocations: 6.151 MB / 0.844 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.643e-06/0.756, allocations: 4 kB / 0.844 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.094e-06/0.756, allocations: 0 / 0.844 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.59e-05/0.756, allocations: 0 / 0.844 GB, free: 8.117 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.003843/0.7599, allocations: 1.185 MB / 0.8452 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.7599, allocations: 13.11 kB / 0.8452 GB, free: 6.871 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001161/0.7611, allocations: 88.66 kB / 0.8453 GB, free: 6.785 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003838/0.7615, allocations: 224.1 kB / 0.8455 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.873e-05/0.7615, allocations: 16.31 kB / 0.8455 GB, free: 6.512 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.226e-05/0.7616, allocations: 15.94 kB / 0.8455 GB, free: 6.496 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001173/0.7627, allocations: 452.7 kB / 0.846 GB, free: 6.035 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.7628, allocations: 4 kB / 0.846 GB, free: 6.031 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.794e-05/0.7628, allocations: 8 kB / 0.846 GB, free: 6.023 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.7628, allocations: 6.938 kB / 0.846 GB, free: 6.02 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001194/0.764, allocations: 0.5931 MB / 0.8466 GB, free: 5.426 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001109/0.7651, allocations: 0.8821 MB / 0.8474 GB, free: 4.457 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00082/0.766, allocations: 252.5 kB / 0.8477 GB, free: 4.203 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001211/0.7661, allocations: 76.83 kB / 0.8477 GB, free: 4.125 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09053/0.8566, allocations: 35.41 MB / 0.8823 GB, free: 13.62 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.524e-05/0.8567, allocations: 38.56 kB / 0.8824 GB, free: 13.57 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=25): time 2.265e-06/0.8567, allocations: 0 / 0.8824 GB, free: 13.57 MB / 0.6544 GB Notification: Performance of matching and sorting (n=25): time 0.001943/0.8587, allocations: 421.7 kB / 0.8828 GB, free: 13.16 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.898e-05/0.8587, allocations: 55.41 kB / 0.8828 GB, free: 13.09 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001296/0.8589, allocations: 137.8 kB / 0.8829 GB, free: 12.95 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.747e-05/0.8589, allocations: 33.7 kB / 0.883 GB, free: 12.91 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 7.119e-05/0.859, allocations: 108.4 kB / 0.8831 GB, free: 12.8 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 9.004e-05/0.8591, allocations: 82.75 kB / 0.8832 GB, free: 12.71 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001259/0.8592, allocations: 77.66 kB / 0.8832 GB, free: 12.63 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001215/0.8594, allocations: 334.8 kB / 0.8836 GB, free: 12.3 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001859/0.8595, allocations: 79.95 kB / 0.8836 GB, free: 12.22 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002246/0.8598, allocations: 121.1 kB / 0.8837 GB, free: 12.08 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004233/0.8602, allocations: 233.7 kB / 0.884 GB, free: 11.84 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.8602, allocations: 0 / 0.884 GB, free: 11.84 MB / 0.6544 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007214/0.861, allocations: 293.3 kB / 0.8843 GB, free: 11.54 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.861, allocations: 5.562 kB / 0.8843 GB, free: 11.54 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.084e-06/0.861, allocations: 4.156 kB / 0.8843 GB, free: 11.54 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.048e-05/0.861, allocations: 8 kB / 0.8843 GB, free: 11.53 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002952/0.8613, allocations: 79.88 kB / 0.8843 GB, free: 11.45 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.8613, allocations: 0 / 0.8843 GB, free: 11.45 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001514/0.8615, allocations: 23.75 kB / 0.8844 GB, free: 11.43 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.491e-05/0.8615, allocations: 27.92 kB / 0.8844 GB, free: 11.4 MB / 0.6544 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.0001449/0.8617, allocations: 125.8 kB / 0.8845 GB, free: 11.27 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001805/0.8619, allocations: 19.8 kB / 0.8845 GB, free: 11.25 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00229/0.8642, allocations: 2.338 MB / 0.8868 GB, free: 8.891 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.706e-05/0.8642, allocations: 15.97 kB / 0.8868 GB, free: 8.875 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.82e-06/0.8642, allocations: 0 / 0.8868 GB, free: 8.875 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/0.8642, allocations: 4 kB / 0.8868 GB, free: 8.871 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003276/0.8675, allocations: 3.436 MB / 0.8902 GB, free: 5.328 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.09e-06/0.8675, allocations: 0 / 0.8902 GB, free: 5.328 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002757/0.8678, allocations: 63.77 kB / 0.8903 GB, free: 5.27 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.58e-06/0.8678, allocations: 3.984 kB / 0.8903 GB, free: 5.266 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.391e-05/0.8679, allocations: 15.92 kB / 0.8903 GB, free: 5.25 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.8679, allocations: 0 / 0.8903 GB, free: 5.25 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.8679, allocations: 4 kB / 0.8903 GB, free: 5.246 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007923/0.8687, allocations: 0.5349 MB / 0.8908 GB, free: 4.695 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001423/0.8688, allocations: 144.5 kB / 0.8909 GB, free: 4.535 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.88e-05/0.8689, allocations: 11.88 kB / 0.8909 GB, free: 4.523 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002245/0.8691, allocations: 15.98 kB / 0.891 GB, free: 4.508 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.845e-05/0.8692, allocations: 15.98 kB / 0.891 GB, free: 4.492 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.044e-05/0.8692, allocations: 15.98 kB / 0.891 GB, free: 4.477 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 7.868e-05/0.8693, allocations: 109.1 kB / 0.8911 GB, free: 4.371 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8693, allocations: 0 / 0.8911 GB, free: 4.371 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.004454/0.8737, allocations: 1.628 MB / 0.8927 GB, free: 2.742 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.00822/0.882, allocations: 1.88 MB / 0.8945 GB, free: 0.8555 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0007398/0.8827, allocations: 320.3 kB / 0.8948 GB, free: 0.543 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.129e-06/0.8828, allocations: 0 / 0.8948 GB, free: 0.543 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0003669/0.8831, allocations: 245.2 kB / 0.8951 GB, free: 308 kB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006169/0.8838, allocations: 74.11 kB / 0.8951 GB, free: 236 kB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00117/0.8849, allocations: 0.6638 MB / 0.8958 GB, free: 15.54 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003587/0.8853, allocations: 0.7699 MB / 0.8965 GB, free: 14.74 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001632/0.8855, allocations: 51.41 kB / 0.8966 GB, free: 14.69 MB / 0.67 GB Notification: Performance of SimCode: time 6.01e-07/0.8855, allocations: 0 / 0.8966 GB, free: 14.69 MB / 0.67 GB Notification: Performance of Templates: time 0.04708/0.9326, allocations: 31.4 MB / 0.9272 GB, free: 15.25 MB / 0.7012 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)