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.001568/0.001575, allocations: 109.3 kB / 16.27 MB, free: 6.41 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.001536/0.001537, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.365/1.365, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8457/0.8457, allocations: 135.2 MB / 426.2 MB, free: 4.094 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001886/0.001886, allocations: 63.89 kB / 0.506 GB, free: 8.316 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3379/0.3398, allocations: 80.92 MB / 0.585 GB, free: 25.09 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamProperties): time 0.1494/0.4892, allocations: 136.1 MB / 0.718 GB, free: 1.934 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02848/0.5178, allocations: 22.34 MB / 0.7398 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001583/0.518, allocations: 4 kB / 0.7398 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0002595/0.5183, allocations: 43.69 kB / 0.7398 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0003017/0.5186, allocations: 95.41 kB / 0.7399 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.01654/0.5351, allocations: 6.681 MB / 0.7465 GB, free: 4.727 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.000415/0.5356, allocations: 251.9 kB / 0.7467 GB, free: 4.48 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 5.712e-05/0.5356, allocations: 13.55 kB / 0.7467 GB, free: 4.461 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003146/0.5359, allocations: 135.5 kB / 0.7468 GB, free: 4.328 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001572/0.5361, allocations: 91.59 kB / 0.7469 GB, free: 4.238 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.488e-05/0.5361, allocations: 8 kB / 0.7469 GB, free: 4.23 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.3321/0.8682, allocations: 10.68 MB / 0.7574 GB, free: 7.473 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000106/0.8684, allocations: 34.28 kB / 0.7574 GB, free: 7.473 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001584/0.8686, allocations: 84.52 kB / 0.7575 GB, free: 7.473 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01434/0.8829, allocations: 6.165 MB / 0.7635 GB, free: 7.367 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.463e-06/0.883, allocations: 4.219 kB / 0.7635 GB, free: 7.367 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.873e-06/0.883, allocations: 0 / 0.7635 GB, free: 7.367 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.015e-06/0.883, allocations: 0 / 0.7635 GB, free: 7.367 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.005135/0.8881, allocations: 1.189 MB / 0.7647 GB, free: 6.621 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/0.8882, allocations: 12.97 kB / 0.7647 GB, free: 6.621 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001175/0.8894, allocations: 86.42 kB / 0.7648 GB, free: 6.613 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001943/0.8896, allocations: 219.9 kB / 0.765 GB, free: 6.41 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.106e-05/0.8896, allocations: 21.47 kB / 0.765 GB, free: 6.406 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.794e-05/0.8896, allocations: 17.16 kB / 0.765 GB, free: 6.402 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001124/0.8908, allocations: 451.1 kB / 0.7654 GB, free: 6.34 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.8908, allocations: 4.516 kB / 0.7654 GB, free: 6.34 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.63e-05/0.8908, allocations: 6.562 kB / 0.7654 GB, free: 6.34 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.8908, allocations: 4.812 kB / 0.7655 GB, free: 6.34 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001138/0.892, allocations: 0.5938 MB / 0.766 GB, free: 6.34 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008979/0.8929, allocations: 0.8865 MB / 0.7669 GB, free: 5.68 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007774/0.8937, allocations: 250.5 kB / 0.7671 GB, free: 5.656 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001143/0.8938, allocations: 74.86 kB / 0.7672 GB, free: 5.648 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08387/0.9777, allocations: 35.04 MB / 0.8014 GB, free: 4.375 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.554e-05/0.9777, allocations: 44.33 kB / 0.8015 GB, free: 4.328 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=25): time 1.443e-06/0.9777, allocations: 0 / 0.8015 GB, free: 4.328 MB / 0.5919 GB Notification: Performance of matching and sorting (n=25): time 0.001599/0.9794, allocations: 422 kB / 0.8019 GB, free: 4.195 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.37e-05/0.9794, allocations: 57.53 kB / 0.8019 GB, free: 4.133 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001121/0.9795, allocations: 137.3 kB / 0.8021 GB, free: 4.027 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.913e-05/0.9796, allocations: 32.42 kB / 0.8021 GB, free: 3.996 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 6.341e-05/0.9797, allocations: 116 kB / 0.8022 GB, free: 3.895 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.977e-05/0.9797, allocations: 82.09 kB / 0.8023 GB, free: 3.832 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.906e-05/0.9798, allocations: 75.98 kB / 0.8023 GB, free: 3.805 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001362/0.98, allocations: 329.6 kB / 0.8027 GB, free: 3.48 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001512/0.9801, allocations: 87.66 kB / 0.8027 GB, free: 3.461 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001846/0.9803, allocations: 125.4 kB / 0.8029 GB, free: 3.398 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003527/0.9807, allocations: 221.3 kB / 0.8031 GB, free: 3.332 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.9807, allocations: 3.469 kB / 0.8031 GB, free: 3.332 MB / 0.5919 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.00062/0.9813, allocations: 300 kB / 0.8034 GB, free: 3.254 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.9813, allocations: 6.781 kB / 0.8034 GB, free: 3.254 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.9813, allocations: 160 / 0.8034 GB, free: 3.254 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.9813, allocations: 7.5 kB / 0.8034 GB, free: 3.25 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002598/0.9816, allocations: 80.41 kB / 0.8035 GB, free: 3.234 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.9816, allocations: 0 / 0.8035 GB, free: 3.234 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000137/0.9818, allocations: 21.88 kB / 0.8035 GB, free: 3.223 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.64e-05/0.9818, allocations: 30 kB / 0.8035 GB, free: 3.215 MB / 0.5919 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.000136/0.982, allocations: 130.1 kB / 0.8036 GB, free: 3.098 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000164/0.9821, allocations: 18.78 kB / 0.8036 GB, free: 3.09 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001767/0.9839, allocations: 2.349 MB / 0.8059 GB, free: 2.703 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.266e-05/0.9839, allocations: 13.81 kB / 0.806 GB, free: 2.699 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.9839, allocations: 4 kB / 0.806 GB, free: 2.695 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.9839, allocations: 0 / 0.806 GB, free: 2.695 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002369/0.9863, allocations: 3.428 MB / 0.8093 GB, free: 1.805 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.9863, allocations: 0 / 0.8093 GB, free: 1.805 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002353/0.9866, allocations: 58.56 kB / 0.8094 GB, free: 1.789 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.9866, allocations: 0 / 0.8094 GB, free: 1.789 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.858e-05/0.9866, allocations: 7.438 kB / 0.8094 GB, free: 1.789 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.9866, allocations: 7.031 kB / 0.8094 GB, free: 1.785 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.9866, allocations: 7.844 kB / 0.8094 GB, free: 1.781 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006491/0.9873, allocations: 0.5484 MB / 0.8099 GB, free: 1.578 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001265/0.9874, allocations: 138.3 kB / 0.8101 GB, free: 1.449 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.369e-05/0.9874, allocations: 3.375 kB / 0.8101 GB, free: 1.449 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002031/0.9877, allocations: 15.41 kB / 0.8101 GB, free: 1.445 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.433e-05/0.9877, allocations: 14.91 kB / 0.8101 GB, free: 1.438 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.372e-05/0.9877, allocations: 14.47 kB / 0.8101 GB, free: 1.438 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 7.58e-05/0.9878, allocations: 115.1 kB / 0.8102 GB, free: 1.352 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9878, allocations: 0 / 0.8102 GB, free: 1.352 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.005207/0.993, allocations: 1.62 MB / 0.8118 GB, free: 0.9336 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: 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.009624/1.003, allocations: 1.901 MB / 0.8136 GB, free: 15.22 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0007989/1.003, allocations: 338.4 kB / 0.814 GB, free: 15 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/1.004, allocations: 0 / 0.814 GB, free: 15 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002901/1.004, allocations: 244.2 kB / 0.8142 GB, free: 14.88 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005566/1.004, allocations: 74.98 kB / 0.8143 GB, free: 14.81 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001077/1.005, allocations: 0.654 MB / 0.8149 GB, free: 14.24 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003643/1.006, allocations: 0.7661 MB / 0.8157 GB, free: 13.45 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001439/1.006, allocations: 51.61 kB / 0.8157 GB, free: 13.41 MB / 0.6075 GB Notification: Performance of SimCode: time 4.2e-07/1.006, allocations: 4 kB / 0.8157 GB, free: 13.4 MB / 0.6075 GB Notification: Performance of Templates: time 0.04903/1.055, allocations: 31.48 MB / 0.8465 GB, free: 14.01 MB / 0.6387 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)