Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Media.Examples.SteamProperties") translateModel(IDEAS.Media.Examples.SteamProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001407/0.001407, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0015/0.001501, allocations: 192.9 kB / 16.53 MB, free: 6.391 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.329/1.329, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.726/0.726, allocations: 132.2 MB / 422.6 MB, free: 1.773 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00134/0.00134, allocations: 68.14 kB / 0.5018 GB, free: 3.875 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4168/0.4182, allocations: 80.2 MB / 0.5801 GB, free: 4.539 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamProperties): time 0.1595/0.5777, allocations: 136.1 MB / 0.713 GB, free: 8.906 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02729/0.6051, allocations: 22.33 MB / 0.7348 GB, free: 2.504 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000232/0.6053, allocations: 4 kB / 0.7348 GB, free: 2.5 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0003791/0.6057, allocations: 43.69 kB / 0.7349 GB, free: 2.457 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0004683/0.6063, allocations: 91.41 kB / 0.735 GB, free: 2.367 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.02103/0.6273, allocations: 6.683 MB / 0.7415 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0004684/0.6278, allocations: 251.9 kB / 0.7417 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 7.476e-05/0.6279, allocations: 17.55 kB / 0.7417 GB, free: 11.44 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003902/0.6283, allocations: 135.5 kB / 0.7419 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000231/0.6285, allocations: 91.59 kB / 0.742 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.497e-05/0.6286, allocations: 8 kB / 0.742 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01998/0.6485, allocations: 10.68 MB / 0.7524 GB, free: 0.5 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000102/0.6487, allocations: 31.89 kB / 0.7524 GB, free: 480 kB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001359/0.6488, allocations: 79.66 kB / 0.7525 GB, free: 400 kB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01433/0.6632, allocations: 6.168 MB / 0.7585 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.6632, allocations: 0 / 0.7585 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.806e-06/0.6632, allocations: 4 kB / 0.7585 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.005e-06/0.6632, allocations: 3.938 kB / 0.7585 GB, free: 10.2 MB / 0.5919 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.00346/0.6667, allocations: 1.185 MB / 0.7597 GB, free: 8.969 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.671e-05/0.6668, allocations: 8.031 kB / 0.7597 GB, free: 8.961 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001194/0.668, allocations: 80.67 kB / 0.7598 GB, free: 8.883 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002798/0.6683, allocations: 236 kB / 0.76 GB, free: 8.613 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.595e-05/0.6683, allocations: 16.06 kB / 0.76 GB, free: 8.598 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.677e-05/0.6683, allocations: 20 kB / 0.76 GB, free: 8.578 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001149/0.6695, allocations: 452.5 kB / 0.7605 GB, free: 8.117 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.6695, allocations: 0 / 0.7605 GB, free: 8.117 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.604e-05/0.6695, allocations: 8 kB / 0.7605 GB, free: 8.109 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/0.6696, allocations: 4 kB / 0.7605 GB, free: 8.105 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001199/0.6708, allocations: 0.5969 MB / 0.7611 GB, free: 7.508 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001159/0.6719, allocations: 0.8861 MB / 0.7619 GB, free: 6.535 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008492/0.6728, allocations: 249.9 kB / 0.7622 GB, free: 6.285 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001225/0.6729, allocations: 80.83 kB / 0.7623 GB, free: 6.203 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08654/0.7595, allocations: 35.05 MB / 0.7965 GB, free: 64 kB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.14e-05/0.7596, allocations: 34.56 kB / 0.7965 GB, free: 20 kB / 0.6231 GB Notification: Performance of pre-optimization done (n=25): time 3.236e-06/0.7596, allocations: 0 / 0.7965 GB, free: 20 kB / 0.6231 GB Notification: Performance of matching and sorting (n=25): time 0.001848/0.7614, allocations: 422.8 kB / 0.7969 GB, free: 15.6 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.297e-05/0.7615, allocations: 59.39 kB / 0.797 GB, free: 15.53 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001375/0.7616, allocations: 140.2 kB / 0.7971 GB, free: 15.39 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 4.755e-05/0.7617, allocations: 33.7 kB / 0.7971 GB, free: 15.35 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 8.738e-05/0.7618, allocations: 112.4 kB / 0.7972 GB, free: 15.23 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 6.722e-05/0.7619, allocations: 74.77 kB / 0.7973 GB, free: 15.16 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000123/0.762, allocations: 81.66 kB / 0.7974 GB, free: 15.07 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001274/0.7621, allocations: 330.8 kB / 0.7977 GB, free: 14.74 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001774/0.7623, allocations: 79.95 kB / 0.7978 GB, free: 14.66 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002303/0.7625, allocations: 133.6 kB / 0.7979 GB, free: 14.52 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000421/0.763, allocations: 220.3 kB / 0.7981 GB, free: 14.29 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.763, allocations: 0 / 0.7981 GB, free: 14.29 MB / 0.6387 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007175/0.7637, allocations: 301.2 kB / 0.7984 GB, free: 13.98 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.304e-05/0.7637, allocations: 8 kB / 0.7984 GB, free: 13.98 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.824e-06/0.7638, allocations: 3.938 kB / 0.7984 GB, free: 13.97 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.141e-05/0.7638, allocations: 4 kB / 0.7984 GB, free: 13.97 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002889/0.7641, allocations: 75.94 kB / 0.7985 GB, free: 13.89 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.186e-05/0.7641, allocations: 3.938 kB / 0.7985 GB, free: 13.89 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000171/0.7643, allocations: 27.69 kB / 0.7985 GB, free: 13.86 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.237e-05/0.7643, allocations: 19.98 kB / 0.7985 GB, free: 13.84 MB / 0.6387 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.0001557/0.7645, allocations: 137.9 kB / 0.7987 GB, free: 13.7 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001692/0.7647, allocations: 11.91 kB / 0.7987 GB, free: 13.69 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002277/0.7669, allocations: 2.346 MB / 0.801 GB, free: 11.34 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-05/0.767, allocations: 11.98 kB / 0.801 GB, free: 11.32 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.767, allocations: 0 / 0.801 GB, free: 11.32 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.767, allocations: 7.938 kB / 0.801 GB, free: 11.32 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003168/0.7702, allocations: 3.423 MB / 0.8043 GB, free: 7.789 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/0.7702, allocations: 4 kB / 0.8043 GB, free: 7.785 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002559/0.7705, allocations: 59.89 kB / 0.8044 GB, free: 7.727 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.7705, allocations: 7.984 kB / 0.8044 GB, free: 7.719 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.023e-05/0.7705, allocations: 11.94 kB / 0.8044 GB, free: 7.707 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/0.7705, allocations: 0 / 0.8044 GB, free: 7.707 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.7705, allocations: 0 / 0.8044 GB, free: 7.707 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007669/0.7713, allocations: 0.5418 MB / 0.8049 GB, free: 7.145 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001283/0.7714, allocations: 136.6 kB / 0.8051 GB, free: 6.992 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.698e-05/0.7715, allocations: 11.88 kB / 0.8051 GB, free: 6.98 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002175/0.7717, allocations: 19.98 kB / 0.8051 GB, free: 6.961 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.261e-05/0.7717, allocations: 23.95 kB / 0.8051 GB, free: 6.938 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.676e-05/0.7718, allocations: 8 kB / 0.8051 GB, free: 6.93 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 7.211e-05/0.7719, allocations: 107.2 kB / 0.8052 GB, free: 6.824 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7719, allocations: 0 / 0.8052 GB, free: 6.824 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.004453/0.7763, allocations: 1.628 MB / 0.8068 GB, free: 5.195 MB / 0.6387 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.008167/0.7845, allocations: 1.895 MB / 0.8087 GB, free: 3.293 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0007499/0.7853, allocations: 335.5 kB / 0.809 GB, free: 2.969 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.7853, allocations: 4 kB / 0.809 GB, free: 2.965 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0003123/0.7856, allocations: 244.8 kB / 0.8092 GB, free: 2.727 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005695/0.7862, allocations: 67.88 kB / 0.8093 GB, free: 2.66 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001053/0.7872, allocations: 0.6384 MB / 0.8099 GB, free: 1.992 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002989/0.7876, allocations: 0.7699 MB / 0.8107 GB, free: 1.195 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0005287/0.7881, allocations: 409 kB / 0.8111 GB, free: 0.7969 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000129/0.7882, allocations: 39.42 kB / 0.8111 GB, free: 0.7578 MB / 0.6387 GB Notification: Performance of SimCode: time 3.5e-07/0.7882, allocations: 0 / 0.8111 GB, free: 0.7578 MB / 0.6387 GB Notification: Performance of Templates: time 0.312/1.1, allocations: 57.22 MB / 0.867 GB, free: 178 MB / 0.6387 GB make -j1 -f IDEAS_IDEAS.Media.Examples.SteamProperties.makefile (rm -f IDEAS_IDEAS.Media.Examples.SteamProperties.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.SteamProperties.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.SteamProperties.pipe >> ../files/IDEAS_IDEAS.Media.Examples.SteamProperties.sim & ./IDEAS_IDEAS.Media.Examples.SteamProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.SteamProperties.pipe 2>&1)