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.001737/0.001737, allocations: 103.4 kB / 16.27 MB, free: 6 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.002093/0.002093, allocations: 192.2 kB / 17.2 MB, free: 5.637 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.4/1.4, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8198/0.8198, allocations: 135.1 MB / 426.2 MB, free: 4.238 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001382/0.001382, allocations: 59.91 kB / 0.506 GB, free: 8.465 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3234/0.3248, allocations: 80.92 MB / 0.585 GB, free: 25.24 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamProperties): time 0.1354/0.4602, allocations: 136.1 MB / 0.7179 GB, free: 2.023 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02764/0.4879, allocations: 22.33 MB / 0.7397 GB, free: 11.63 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001893/0.4881, allocations: 4 kB / 0.7397 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.000306/0.4884, allocations: 51.67 kB / 0.7398 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0003491/0.4888, allocations: 95.36 kB / 0.7399 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.01897/0.5078, allocations: 6.688 MB / 0.7464 GB, free: 4.812 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0004665/0.5083, allocations: 243.9 kB / 0.7466 GB, free: 4.574 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 6.741e-05/0.5084, allocations: 17.55 kB / 0.7467 GB, free: 4.551 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003644/0.5088, allocations: 135.5 kB / 0.7468 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001769/0.5089, allocations: 91.59 kB / 0.7469 GB, free: 4.328 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.978e-05/0.509, allocations: 8 kB / 0.7469 GB, free: 4.32 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.3253/0.8343, allocations: 10.67 MB / 0.7573 GB, free: 7.57 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001219/0.8345, allocations: 37.97 kB / 0.7573 GB, free: 7.57 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002025/0.8347, allocations: 85.92 kB / 0.7574 GB, free: 7.57 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01735/0.852, allocations: 6.17 MB / 0.7635 GB, free: 7.465 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.354e-06/0.8521, allocations: 0 / 0.7635 GB, free: 7.465 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.864e-06/0.8521, allocations: 0 / 0.7635 GB, free: 7.465 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.055e-05/0.8521, allocations: 0 / 0.7635 GB, free: 7.465 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.005448/0.8576, allocations: 1.187 MB / 0.7646 GB, free: 6.719 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.8576, allocations: 10.3 kB / 0.7646 GB, free: 6.719 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001261/0.8589, allocations: 86.42 kB / 0.7647 GB, free: 6.711 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002734/0.8592, allocations: 228.7 kB / 0.7649 GB, free: 6.508 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.541e-05/0.8592, allocations: 12.72 kB / 0.7649 GB, free: 6.504 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.076e-05/0.8593, allocations: 22.58 kB / 0.765 GB, free: 6.5 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001251/0.8605, allocations: 447.1 kB / 0.7654 GB, free: 6.438 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/0.8606, allocations: 0.5938 kB / 0.7654 GB, free: 6.438 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.378e-05/0.8606, allocations: 7 kB / 0.7654 GB, free: 6.438 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.758e-06/0.8606, allocations: 4.344 kB / 0.7654 GB, free: 6.438 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001277/0.8619, allocations: 0.5957 MB / 0.766 GB, free: 6.438 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001042/0.863, allocations: 0.8851 MB / 0.7668 GB, free: 5.777 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008696/0.8639, allocations: 253.8 kB / 0.7671 GB, free: 5.754 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001316/0.864, allocations: 71.92 kB / 0.7672 GB, free: 5.746 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08574/0.9497, allocations: 35.05 MB / 0.8014 GB, free: 4.535 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.581e-05/0.9498, allocations: 40.72 kB / 0.8014 GB, free: 4.492 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=25): time 2.124e-06/0.9498, allocations: 0 / 0.8014 GB, free: 4.492 MB / 0.5919 GB Notification: Performance of matching and sorting (n=25): time 0.00173/0.9516, allocations: 429.8 kB / 0.8018 GB, free: 4.355 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.278e-05/0.9516, allocations: 54.62 kB / 0.8019 GB, free: 4.293 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001235/0.9518, allocations: 136.2 kB / 0.802 GB, free: 4.188 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.194e-05/0.9518, allocations: 29.08 kB / 0.802 GB, free: 4.156 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 6.052e-05/0.9519, allocations: 116.9 kB / 0.8021 GB, free: 4.055 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.52e-05/0.9519, allocations: 88.98 kB / 0.8022 GB, free: 3.992 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001015/0.952, allocations: 72.7 kB / 0.8023 GB, free: 3.965 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001082/0.9522, allocations: 333 kB / 0.8026 GB, free: 3.641 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001605/0.9523, allocations: 84.28 kB / 0.8027 GB, free: 3.625 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001963/0.9525, allocations: 124.6 kB / 0.8028 GB, free: 3.562 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003667/0.9529, allocations: 219 kB / 0.803 GB, free: 3.496 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.9529, allocations: 0 / 0.803 GB, free: 3.496 MB / 0.5919 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006523/0.9536, allocations: 305.6 kB / 0.8033 GB, free: 3.414 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.9536, allocations: 4.469 kB / 0.8033 GB, free: 3.414 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.9536, allocations: 3.281 kB / 0.8033 GB, free: 3.414 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/0.9536, allocations: 7.375 kB / 0.8033 GB, free: 3.41 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002793/0.9539, allocations: 81.62 kB / 0.8034 GB, free: 3.395 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/0.9539, allocations: 3.094 kB / 0.8034 GB, free: 3.395 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001514/0.9541, allocations: 21.8 kB / 0.8034 GB, free: 3.383 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.747e-05/0.9541, allocations: 25.66 kB / 0.8035 GB, free: 3.375 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.0001368/0.9543, allocations: 129.3 kB / 0.8036 GB, free: 3.258 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001742/0.9544, allocations: 16.75 kB / 0.8036 GB, free: 3.25 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001944/0.9564, allocations: 2.347 MB / 0.8059 GB, free: 2.863 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.521e-05/0.9564, allocations: 10.23 kB / 0.8059 GB, free: 2.859 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.9564, allocations: 6.953 kB / 0.8059 GB, free: 2.855 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.9565, allocations: 3.656 kB / 0.8059 GB, free: 2.855 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002694/0.9592, allocations: 3.429 MB / 0.8093 GB, free: 1.965 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.873e-06/0.9592, allocations: 0 / 0.8093 GB, free: 1.965 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002596/0.9594, allocations: 61.81 kB / 0.8093 GB, free: 1.949 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.883e-06/0.9595, allocations: 0 / 0.8093 GB, free: 1.949 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.982e-05/0.9595, allocations: 8.438 kB / 0.8093 GB, free: 1.949 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.019e-06/0.9595, allocations: 3.938 kB / 0.8093 GB, free: 1.945 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.9595, allocations: 4 kB / 0.8093 GB, free: 1.941 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007011/0.9602, allocations: 0.5488 MB / 0.8099 GB, free: 1.738 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001299/0.9603, allocations: 131.7 kB / 0.81 GB, free: 1.613 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.875e-05/0.9604, allocations: 9.047 kB / 0.81 GB, free: 1.609 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000214/0.9606, allocations: 16.84 kB / 0.81 GB, free: 1.605 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.689e-05/0.9607, allocations: 22.97 kB / 0.81 GB, free: 1.598 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.645e-05/0.9607, allocations: 12.22 kB / 0.8101 GB, free: 1.598 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 7.352e-05/0.9608, allocations: 110.3 kB / 0.8102 GB, free: 1.512 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.71e-07/0.9608, allocations: 3.75 kB / 0.8102 GB, free: 1.512 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.00602/0.9668, allocations: 1.621 MB / 0.8117 GB, free: 1.137 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.01032/0.9771, allocations: 1.896 MB / 0.8136 GB, free: 15.43 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0008703/0.978, allocations: 332.8 kB / 0.8139 GB, free: 15.21 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/0.9781, allocations: 0 / 0.8139 GB, free: 15.21 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000343/0.9784, allocations: 243.8 kB / 0.8141 GB, free: 15.08 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006221/0.9791, allocations: 73.09 kB / 0.8142 GB, free: 15.03 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001121/0.9802, allocations: 0.6575 MB / 0.8149 GB, free: 14.45 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00033/0.9805, allocations: 0.7661 MB / 0.8156 GB, free: 13.66 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001544/0.9807, allocations: 50.41 kB / 0.8157 GB, free: 13.62 MB / 0.6075 GB Notification: Performance of SimCode: time 3.51e-07/0.9807, allocations: 4 kB / 0.8157 GB, free: 13.61 MB / 0.6075 GB Notification: Performance of Templates: time 0.04908/1.03, allocations: 31.48 MB / 0.8464 GB, free: 14.21 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)