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.007726/0.007726, allocations: 98.36 kB / 15.73 MB, free: 5.551 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.001991/0.001991, allocations: 196.2 kB / 16.68 MB, free: 5.48 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.386/1.386, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.001/1.001, allocations: 135.1 MB / 425.7 MB, free: 11.84 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 63.91 kB / 0.5856 GB, free: 3.375 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4656/0.4669, allocations: 80.92 MB / 0.6647 GB, free: 7.582 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamProperties): time 0.1537/0.6206, allocations: 136.1 MB / 0.7976 GB, free: 9.008 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.0259/0.6466, allocations: 22.33 MB / 0.8194 GB, free: 2.602 MB / 0.6388 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002086/0.6468, allocations: 0 / 0.8194 GB, free: 2.602 MB / 0.6388 GB Notification: Performance of NFTyping.typeComponents: time 0.0003342/0.6472, allocations: 55.55 kB / 0.8195 GB, free: 2.547 MB / 0.6388 GB Notification: Performance of NFTyping.typeBindings: time 0.0003271/0.6476, allocations: 91.36 kB / 0.8196 GB, free: 2.457 MB / 0.6388 GB Notification: Performance of NFTyping.typeClassSections: time 0.01707/0.6646, allocations: 6.677 MB / 0.8261 GB, free: 11.79 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0004108/0.6651, allocations: 251.9 kB / 0.8263 GB, free: 11.54 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 5.284e-05/0.6651, allocations: 13.55 kB / 0.8263 GB, free: 11.53 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000305/0.6654, allocations: 135.5 kB / 0.8265 GB, free: 11.4 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001552/0.6656, allocations: 87.67 kB / 0.8265 GB, free: 11.31 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.544e-05/0.6656, allocations: 8 kB / 0.8265 GB, free: 11.3 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02086/0.6865, allocations: 10.97 MB / 0.8373 GB, free: 332 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001347/0.6867, allocations: 43.83 kB / 0.8373 GB, free: 288 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.000151/0.6868, allocations: 83.59 kB / 0.8374 GB, free: 204 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01688/0.7037, allocations: 6.154 MB / 0.8434 GB, free: 10.03 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.852e-06/0.7038, allocations: 0 / 0.8434 GB, free: 10.03 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.964e-06/0.7038, allocations: 0 / 0.8434 GB, free: 10.03 MB / 0.67 GB Notification: Performance of Transformations before backend: time 9.378e-06/0.7038, allocations: 4 kB / 0.8434 GB, free: 10.03 MB / 0.67 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.00408/0.7079, allocations: 1.234 MB / 0.8446 GB, free: 8.738 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.486e-05/0.7079, allocations: 8.031 kB / 0.8446 GB, free: 8.73 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001157/0.7091, allocations: 88.75 kB / 0.8447 GB, free: 8.645 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002621/0.7094, allocations: 224.2 kB / 0.8449 GB, free: 8.387 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.719e-05/0.7094, allocations: 12.12 kB / 0.8449 GB, free: 8.375 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.763e-05/0.7095, allocations: 19.94 kB / 0.8449 GB, free: 8.355 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001145/0.7106, allocations: 444.8 kB / 0.8454 GB, free: 7.902 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.7106, allocations: 7.938 kB / 0.8454 GB, free: 7.895 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.697e-05/0.7107, allocations: 4 kB / 0.8454 GB, free: 7.891 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.707e-06/0.7107, allocations: 4 kB / 0.8454 GB, free: 7.887 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001171/0.7119, allocations: 0.6009 MB / 0.846 GB, free: 7.285 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001089/0.713, allocations: 0.89 MB / 0.8468 GB, free: 6.309 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007745/0.7137, allocations: 250.3 kB / 0.8471 GB, free: 6.055 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001234/0.7139, allocations: 82.3 kB / 0.8471 GB, free: 5.973 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5712/1.285, allocations: 35.41 MB / 0.8817 GB, free: 35.35 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.689e-05/1.285, allocations: 39.89 kB / 0.8818 GB, free: 35.31 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=25): time 1.923e-06/1.285, allocations: 0 / 0.8818 GB, free: 35.31 MB / 0.6856 GB Notification: Performance of matching and sorting (n=25): time 0.001648/1.287, allocations: 423.4 kB / 0.8822 GB, free: 35.27 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.082e-05/1.287, allocations: 65.34 kB / 0.8822 GB, free: 35.21 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001165/1.287, allocations: 135.6 kB / 0.8824 GB, free: 35.11 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 2.707e-05/1.287, allocations: 35.33 kB / 0.8824 GB, free: 35.08 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 4.855e-05/1.287, allocations: 109.1 kB / 0.8825 GB, free: 34.98 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 5.592e-05/1.287, allocations: 93.27 kB / 0.8826 GB, free: 34.94 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001261/1.287, allocations: 77.28 kB / 0.8827 GB, free: 34.92 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 5.218e-05/1.287, allocations: 320.3 kB / 0.883 GB, free: 34.61 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000168/1.287, allocations: 81.14 kB / 0.883 GB, free: 34.61 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002082/1.288, allocations: 132.9 kB / 0.8832 GB, free: 34.56 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000388/1.288, allocations: 215.5 kB / 0.8834 GB, free: 34.51 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/1.288, allocations: 0.8438 kB / 0.8834 GB, free: 34.51 MB / 0.6856 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006844/1.289, allocations: 298.9 kB / 0.8837 GB, free: 34.46 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/1.289, allocations: 5.906 kB / 0.8837 GB, free: 34.46 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/1.289, allocations: 1.281 kB / 0.8837 GB, free: 34.46 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/1.289, allocations: 6.562 kB / 0.8837 GB, free: 34.46 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002823/1.289, allocations: 85 kB / 0.8838 GB, free: 34.46 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/1.289, allocations: 5 kB / 0.8838 GB, free: 34.46 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001374/1.289, allocations: 22.84 kB / 0.8838 GB, free: 34.45 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.62e-05/1.289, allocations: 27.56 kB / 0.8838 GB, free: 34.45 MB / 0.6856 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.0001099/1.289, allocations: 126.2 kB / 0.8839 GB, free: 34.34 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001702/1.29, allocations: 21.06 kB / 0.8839 GB, free: 34.33 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002419/1.292, allocations: 2.339 MB / 0.8862 GB, free: 34.22 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.596e-05/1.292, allocations: 10.36 kB / 0.8862 GB, free: 34.22 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/1.292, allocations: 0.7812 kB / 0.8862 GB, free: 34.22 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/1.292, allocations: 2.719 kB / 0.8862 GB, free: 34.22 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003167/1.295, allocations: 3.435 MB / 0.8896 GB, free: 33.68 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.662e-06/1.295, allocations: 3.922 kB / 0.8896 GB, free: 33.68 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002458/1.296, allocations: 56.42 kB / 0.8897 GB, free: 33.68 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.61e-06/1.296, allocations: 1 kB / 0.8897 GB, free: 33.68 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.226e-05/1.296, allocations: 9.938 kB / 0.8897 GB, free: 33.68 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/1.296, allocations: 0.8438 kB / 0.8897 GB, free: 33.68 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/1.296, allocations: 0.6875 kB / 0.8897 GB, free: 33.68 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000756/1.296, allocations: 0.5536 MB / 0.8902 GB, free: 33.52 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001116/1.296, allocations: 141.8 kB / 0.8903 GB, free: 33.41 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.388e-05/1.297, allocations: 4.938 kB / 0.8903 GB, free: 33.41 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002039/1.297, allocations: 15.28 kB / 0.8904 GB, free: 33.41 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.919e-05/1.297, allocations: 14.3 kB / 0.8904 GB, free: 33.41 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.885e-05/1.297, allocations: 13.38 kB / 0.8904 GB, free: 33.41 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 6.916e-05/1.297, allocations: 110.1 kB / 0.8905 GB, free: 33.33 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.1e-07/1.297, allocations: 0 / 0.8905 GB, free: 33.33 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.004466/1.301, allocations: 1.647 MB / 0.8921 GB, free: 33.3 MB / 0.6856 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.007262/1.309, allocations: 1.916 MB / 0.894 GB, free: 32.89 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0006418/1.309, allocations: 331.8 kB / 0.8943 GB, free: 32.89 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/1.309, allocations: 0 / 0.8943 GB, free: 32.89 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0002446/1.31, allocations: 237.9 kB / 0.8945 GB, free: 32.89 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000569/1.31, allocations: 66.95 kB / 0.8946 GB, free: 32.88 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008817/1.311, allocations: 0.6439 MB / 0.8952 GB, free: 32.64 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000155/1.311, allocations: 0.766 MB / 0.896 GB, free: 31.93 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0004171/1.312, allocations: 405.2 kB / 0.8963 GB, free: 31.91 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001242/1.312, allocations: 49.27 kB / 0.8964 GB, free: 31.9 MB / 0.6856 GB Notification: Performance of SimCode: time 9.72e-07/1.312, allocations: 3.094 kB / 0.8964 GB, free: 31.9 MB / 0.6856 GB Notification: Performance of Templates: time 0.05411/1.366, allocations: 57.05 MB / 0.9521 GB, free: 13.45 MB / 0.7013 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)