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.001451/0.00145, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001265/0.001265, allocations: 195 kB / 16.14 MB, free: 6.648 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.361/1.361, allocations: 222.9 MB / 239.8 MB, free: 4.52 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.1 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 68.83 kB / 0.5047 GB, free: 5.809 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1913/0.1926, allocations: 80.93 MB / 0.5837 GB, free: 5.047 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamProperties): time 0.4524/0.645, allocations: 134 MB / 0.7146 GB, free: 12.04 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.03136/0.6764, allocations: 24.62 MB / 0.7386 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002763/0.6768, allocations: 5.969 kB / 0.7386 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000314/0.6771, allocations: 35.16 kB / 0.7387 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0003541/0.6775, allocations: 89.05 kB / 0.7388 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.02201/0.6995, allocations: 5.283 MB / 0.7439 GB, free: 7.68 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0005597/0.7001, allocations: 307 kB / 0.7442 GB, free: 7.52 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 6.709e-05/0.7001, allocations: 15.7 kB / 0.7442 GB, free: 7.512 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003665/0.7005, allocations: 123.9 kB / 0.7444 GB, free: 7.449 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001687/0.7007, allocations: 99.41 kB / 0.7444 GB, free: 7.391 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.504e-05/0.7007, allocations: 9.531 kB / 0.7445 GB, free: 7.387 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0227/0.7234, allocations: 10.85 MB / 0.7551 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001248/0.7236, allocations: 35.89 kB / 0.7551 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001899/0.7238, allocations: 79.64 kB / 0.7552 GB, free: 13.83 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01955/0.7434, allocations: 6.199 MB / 0.7612 GB, free: 7.621 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 8.075e-06/0.7434, allocations: 0 / 0.7612 GB, free: 7.621 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.344e-06/0.7434, allocations: 4 kB / 0.7612 GB, free: 7.617 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.085e-05/0.7435, allocations: 0 / 0.7612 GB, free: 7.617 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.005388/0.7489, allocations: 1.181 MB / 0.7624 GB, free: 6.391 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.183e-05/0.7489, allocations: 8.031 kB / 0.7624 GB, free: 6.383 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001367/0.7503, allocations: 84.66 kB / 0.7625 GB, free: 6.301 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003131/0.7506, allocations: 228 kB / 0.7627 GB, free: 6.039 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.321e-05/0.7507, allocations: 8.375 kB / 0.7627 GB, free: 6.031 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.306e-05/0.7507, allocations: 31.88 kB / 0.7627 GB, free: 6 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001232/0.752, allocations: 455.2 kB / 0.7632 GB, free: 5.539 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.752, allocations: 0 / 0.7632 GB, free: 5.539 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.973e-05/0.752, allocations: 8 kB / 0.7632 GB, free: 5.531 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.518e-06/0.752, allocations: 4 kB / 0.7632 GB, free: 5.527 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001252/0.7533, allocations: 0.6031 MB / 0.7638 GB, free: 4.926 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001134/0.7544, allocations: 0.8745 MB / 0.7646 GB, free: 3.965 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008581/0.7553, allocations: 250.4 kB / 0.7648 GB, free: 3.711 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001271/0.7554, allocations: 66.59 kB / 0.7649 GB, free: 3.645 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08109/0.8366, allocations: 35.05 MB / 0.7991 GB, free: 13.51 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.784e-05/0.8366, allocations: 38.56 kB / 0.7992 GB, free: 13.46 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=25): time 2.054e-06/0.8366, allocations: 0 / 0.7992 GB, free: 13.46 MB / 0.6231 GB Notification: Performance of matching and sorting (n=25): time 0.001844/0.8385, allocations: 423.3 kB / 0.7996 GB, free: 13.04 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.427e-05/0.8386, allocations: 55.41 kB / 0.7996 GB, free: 12.98 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000141/0.8387, allocations: 140.4 kB / 0.7998 GB, free: 12.83 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.906e-05/0.8388, allocations: 29.7 kB / 0.7998 GB, free: 12.8 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 8.005e-05/0.8388, allocations: 108.4 kB / 0.7999 GB, free: 12.69 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 7.68e-05/0.8389, allocations: 90.73 kB / 0.8 GB, free: 12.6 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001361/0.8391, allocations: 81.61 kB / 0.8001 GB, free: 12.51 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001209/0.8392, allocations: 322.8 kB / 0.8004 GB, free: 12.19 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001853/0.8394, allocations: 87.88 kB / 0.8005 GB, free: 12.1 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002426/0.8396, allocations: 130.6 kB / 0.8006 GB, free: 11.96 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004215/0.8401, allocations: 228.3 kB / 0.8008 GB, free: 11.72 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.8401, allocations: 0 / 0.8008 GB, free: 11.72 MB / 0.6231 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006955/0.8408, allocations: 305.2 kB / 0.8011 GB, free: 11.41 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/0.8408, allocations: 4 kB / 0.8011 GB, free: 11.41 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.759e-06/0.8408, allocations: 4 kB / 0.8011 GB, free: 11.41 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.8409, allocations: 0 / 0.8011 GB, free: 11.41 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003024/0.8412, allocations: 79.88 kB / 0.8012 GB, free: 11.33 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.101e-05/0.8412, allocations: 4 kB / 0.8012 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001759/0.8414, allocations: 23.75 kB / 0.8012 GB, free: 11.3 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.068e-05/0.8414, allocations: 27.91 kB / 0.8012 GB, free: 11.27 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.000166/0.8416, allocations: 133.9 kB / 0.8014 GB, free: 11.13 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001754/0.8418, allocations: 11.91 kB / 0.8014 GB, free: 11.12 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002368/0.8441, allocations: 2.354 MB / 0.8037 GB, free: 8.758 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-05/0.8442, allocations: 11.98 kB / 0.8037 GB, free: 8.746 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.8442, allocations: 3 kB / 0.8037 GB, free: 8.746 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.76e-06/0.8442, allocations: 0 / 0.8037 GB, free: 8.746 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003285/0.8475, allocations: 3.427 MB / 0.807 GB, free: 5.219 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.8475, allocations: 0 / 0.807 GB, free: 5.219 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002692/0.8478, allocations: 55.94 kB / 0.8071 GB, free: 5.164 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.641e-06/0.8478, allocations: 4 kB / 0.8071 GB, free: 5.16 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.533e-05/0.8478, allocations: 11.94 kB / 0.8071 GB, free: 5.148 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.337e-06/0.8478, allocations: 0 / 0.8071 GB, free: 5.148 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.8479, allocations: 0 / 0.8071 GB, free: 5.148 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008373/0.8487, allocations: 0.5507 MB / 0.8076 GB, free: 4.578 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001555/0.8489, allocations: 136.6 kB / 0.8078 GB, free: 4.426 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.884e-05/0.8489, allocations: 11.92 kB / 0.8078 GB, free: 4.414 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002407/0.8492, allocations: 16 kB / 0.8078 GB, free: 4.398 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.823e-05/0.8492, allocations: 15.97 kB / 0.8078 GB, free: 4.383 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.312e-05/0.8493, allocations: 12 kB / 0.8078 GB, free: 4.371 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 9.632e-05/0.8494, allocations: 111.2 kB / 0.8079 GB, free: 4.262 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.064e-06/0.8494, allocations: 0 / 0.8079 GB, free: 4.262 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.005659/0.855, allocations: 1.624 MB / 0.8095 GB, free: 2.637 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.01006/0.8651, allocations: 1.904 MB / 0.8114 GB, free: 0.7305 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0007858/0.8659, allocations: 324.1 kB / 0.8117 GB, free: 428 kB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/0.8659, allocations: 4 kB / 0.8117 GB, free: 424 kB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003528/0.8663, allocations: 245.5 kB / 0.8119 GB, free: 180 kB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006086/0.8669, allocations: 59.89 kB / 0.812 GB, free: 120 kB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001198/0.8681, allocations: 0.7595 MB / 0.8127 GB, free: 15.33 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003231/0.8685, allocations: 0.7661 MB / 0.8135 GB, free: 14.54 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0005747/0.8691, allocations: 405.1 kB / 0.8138 GB, free: 14.14 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001632/0.8692, allocations: 43.41 kB / 0.8139 GB, free: 14.1 MB / 0.6387 GB Notification: Performance of SimCode: time 4.4e-07/0.8692, allocations: 0 / 0.8139 GB, free: 14.1 MB / 0.6387 GB Notification: Performance of Templates: time 0.4195/1.289, allocations: 57.02 MB / 0.8696 GB, free: 221.2 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)