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.0008207/0.0008208, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.00635/0.00635, allocations: 169.9 kB / 16.26 MB, free: 6.676 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.444/1.444, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.037/1.037, allocations: 135.3 MB / 426.7 MB, free: 14.28 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003648/0.0003653, allocations: 8.781 kB / 0.5076 GB, free: 4.793 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1804/0.1808, allocations: 82.3 MB / 0.5879 GB, free: 2.66 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamProperties): time 0.501/0.6818, allocations: 132.3 MB / 0.7171 GB, free: 11.65 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.03477/0.7166, allocations: 24.25 MB / 0.7408 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002795/0.717, allocations: 1.219 kB / 0.7408 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0003367/0.7173, allocations: 40.11 kB / 0.7409 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0004076/0.7177, allocations: 82.61 kB / 0.7409 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.02325/0.741, allocations: 5.292 MB / 0.7461 GB, free: 7.988 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0004943/0.7415, allocations: 304.9 kB / 0.7464 GB, free: 7.832 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.663e-05/0.7416, allocations: 13.95 kB / 0.7464 GB, free: 7.824 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000329/0.7419, allocations: 131.7 kB / 0.7465 GB, free: 7.754 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001628/0.7421, allocations: 96.84 kB / 0.7466 GB, free: 7.699 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.022e-05/0.7421, allocations: 5.469 kB / 0.7466 GB, free: 7.699 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0228/0.7649, allocations: 10.86 MB / 0.7572 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001354/0.7651, allocations: 31.89 kB / 0.7573 GB, free: 14.63 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001826/0.7653, allocations: 109.3 kB / 0.7574 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.02018/0.7855, allocations: 6.16 MB / 0.7634 GB, free: 8.344 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 8.937e-06/0.7855, allocations: 4 kB / 0.7634 GB, free: 8.34 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.335e-06/0.7855, allocations: 3.938 kB / 0.7634 GB, free: 8.336 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.824e-06/0.7855, allocations: 0 / 0.7634 GB, free: 8.336 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.004583/0.7901, allocations: 1.149 MB / 0.7645 GB, free: 7.141 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/0.7902, allocations: 8.031 kB / 0.7645 GB, free: 7.133 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001258/0.7915, allocations: 85.11 kB / 0.7646 GB, free: 7.051 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003267/0.7918, allocations: 236 kB / 0.7648 GB, free: 6.781 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.373e-05/0.7919, allocations: 12.38 kB / 0.7648 GB, free: 6.77 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.283e-05/0.7919, allocations: 19.94 kB / 0.7649 GB, free: 6.75 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001172/0.7931, allocations: 447.3 kB / 0.7653 GB, free: 6.297 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.7931, allocations: 4 kB / 0.7653 GB, free: 6.293 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.756e-05/0.7931, allocations: 4.5 kB / 0.7653 GB, free: 6.289 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.236e-06/0.7931, allocations: 4 kB / 0.7653 GB, free: 6.285 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00117/0.7943, allocations: 0.5971 MB / 0.7659 GB, free: 5.688 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00112/0.7955, allocations: 0.8783 MB / 0.7667 GB, free: 4.723 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008055/0.7963, allocations: 256.5 kB / 0.767 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001294/0.7964, allocations: 74.58 kB / 0.7671 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08851/0.8849, allocations: 35.34 MB / 0.8016 GB, free: 13.96 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.117e-05/0.885, allocations: 36.25 kB / 0.8016 GB, free: 13.92 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=25): time 2.235e-06/0.885, allocations: 0 / 0.8016 GB, free: 13.92 MB / 0.6231 GB Notification: Performance of matching and sorting (n=25): time 0.001854/0.8869, allocations: 423.3 kB / 0.802 GB, free: 13.5 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.332e-05/0.887, allocations: 59.34 kB / 0.8021 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001354/0.8871, allocations: 133.8 kB / 0.8022 GB, free: 13.29 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.103e-05/0.8872, allocations: 33.7 kB / 0.8022 GB, free: 13.25 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 8.228e-05/0.8872, allocations: 108.3 kB / 0.8023 GB, free: 13.14 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 7.585e-05/0.8873, allocations: 86.75 kB / 0.8024 GB, free: 13.05 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.901e-05/0.8874, allocations: 25.72 kB / 0.8024 GB, free: 13.02 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001105/0.8875, allocations: 330.8 kB / 0.8027 GB, free: 12.69 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001747/0.8877, allocations: 79.94 kB / 0.8028 GB, free: 12.61 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002146/0.8879, allocations: 134.6 kB / 0.8029 GB, free: 12.46 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003939/0.8883, allocations: 228.2 kB / 0.8032 GB, free: 12.23 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.8883, allocations: 0 / 0.8032 GB, free: 12.23 MB / 0.6231 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006738/0.889, allocations: 293.4 kB / 0.8034 GB, free: 11.93 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/0.889, allocations: 12.03 kB / 0.8035 GB, free: 11.92 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.8891, allocations: 0 / 0.8035 GB, free: 11.92 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.003e-05/0.8891, allocations: 7.984 kB / 0.8035 GB, free: 11.91 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002839/0.8894, allocations: 79.88 kB / 0.8035 GB, free: 11.84 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.418e-05/0.8894, allocations: 4 kB / 0.8035 GB, free: 11.83 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001711/0.8896, allocations: 23.69 kB / 0.8036 GB, free: 11.81 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.715e-05/0.8896, allocations: 31.91 kB / 0.8036 GB, free: 11.78 MB / 0.6231 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.0001428/0.8898, allocations: 125.8 kB / 0.8037 GB, free: 11.64 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001635/0.8899, allocations: 19.81 kB / 0.8037 GB, free: 11.62 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002416/0.8924, allocations: 2.35 MB / 0.806 GB, free: 9.262 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.647e-05/0.8924, allocations: 11.98 kB / 0.806 GB, free: 9.25 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.8924, allocations: 0 / 0.806 GB, free: 9.25 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.83e-06/0.8924, allocations: 0 / 0.806 GB, free: 9.25 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003346/0.8958, allocations: 3.426 MB / 0.8094 GB, free: 5.723 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.077e-06/0.8958, allocations: 7.734 kB / 0.8094 GB, free: 5.719 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002529/0.8961, allocations: 51.95 kB / 0.8094 GB, free: 5.668 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.171e-06/0.8961, allocations: 0 / 0.8094 GB, free: 5.668 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.959e-05/0.8961, allocations: 15.94 kB / 0.8095 GB, free: 5.652 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.464e-06/0.8961, allocations: 7.938 kB / 0.8095 GB, free: 5.645 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.8961, allocations: 0 / 0.8095 GB, free: 5.645 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007736/0.8969, allocations: 0.543 MB / 0.81 GB, free: 5.082 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001489/0.8971, allocations: 140.5 kB / 0.8101 GB, free: 4.926 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.192e-05/0.8971, allocations: 11.94 kB / 0.8101 GB, free: 4.914 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002416/0.8974, allocations: 16 kB / 0.8102 GB, free: 4.898 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.379e-05/0.8974, allocations: 23.97 kB / 0.8102 GB, free: 4.875 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.01e-05/0.8975, allocations: 8 kB / 0.8102 GB, free: 4.867 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 8.299e-05/0.8975, allocations: 109.4 kB / 0.8103 GB, free: 4.762 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.1e-07/0.8975, allocations: 0 / 0.8103 GB, free: 4.762 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.005059/0.9026, allocations: 1.62 MB / 0.8119 GB, free: 3.141 MB / 0.6231 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.01/0.9126, allocations: 1.897 MB / 0.8137 GB, free: 1.238 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0009168/0.9136, allocations: 332 kB / 0.814 GB, free: 0.918 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 7.804e-06/0.9136, allocations: 0 / 0.814 GB, free: 0.918 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0004096/0.914, allocations: 237.5 kB / 0.8143 GB, free: 0.6875 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007924/0.9149, allocations: 66.95 kB / 0.8143 GB, free: 0.625 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001405/0.9163, allocations: 0.797 MB / 0.8151 GB, free: 15.79 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003184/0.9166, allocations: 0.7661 MB / 0.8159 GB, free: 15 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0006154/0.9173, allocations: 405 kB / 0.8162 GB, free: 14.61 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001523/0.9174, allocations: 47.36 kB / 0.8163 GB, free: 14.57 MB / 0.6387 GB Notification: Performance of SimCode: time 7.21e-07/0.9174, allocations: 0 / 0.8163 GB, free: 14.57 MB / 0.6387 GB Notification: Performance of Templates: time 0.4252/1.343, allocations: 56.99 MB / 0.8719 GB, free: 217.7 MB / 0.67 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)