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.001094/0.001094, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00127/0.00127, allocations: 193.7 kB / 16.25 MB, free: 6.629 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.397/1.397, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.045/1.045, allocations: 135.1 MB / 425.2 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 68.48 kB / 0.5048 GB, free: 5.68 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1736/0.1749, allocations: 80.93 MB / 0.5839 GB, free: 4.914 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamProperties): time 0.5164/0.6913, allocations: 134.2 MB / 0.7149 GB, free: 11.61 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.04064/0.732, allocations: 22.6 MB / 0.737 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002274/0.7323, allocations: 1.188 kB / 0.737 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0003586/0.7326, allocations: 39.23 kB / 0.737 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00047/0.7332, allocations: 87.52 kB / 0.7371 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.02308/0.7562, allocations: 5.911 MB / 0.7429 GB, free: 8.664 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0004821/0.7567, allocations: 251.1 kB / 0.7431 GB, free: 8.531 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 6.701e-05/0.7568, allocations: 13.56 kB / 0.7431 GB, free: 8.52 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003976/0.7572, allocations: 138 kB / 0.7433 GB, free: 8.445 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001997/0.7574, allocations: 92.17 kB / 0.7434 GB, free: 8.395 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.616e-05/0.7575, allocations: 11.41 kB / 0.7434 GB, free: 8.391 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02507/0.7825, allocations: 10.81 MB / 0.7539 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001369/0.7827, allocations: 35.89 kB / 0.754 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001892/0.7829, allocations: 87.64 kB / 0.7541 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01829/0.8012, allocations: 6.195 MB / 0.7601 GB, free: 8.809 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.634e-06/0.8013, allocations: 0 / 0.7601 GB, free: 8.809 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.924e-06/0.8013, allocations: 0 / 0.7601 GB, free: 8.809 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.558e-06/0.8013, allocations: 0 / 0.7601 GB, free: 8.809 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.00369/0.805, allocations: 1.18 MB / 0.7613 GB, free: 7.582 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.952e-05/0.8051, allocations: 16.02 kB / 0.7613 GB, free: 7.566 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00117/0.8063, allocations: 88.61 kB / 0.7614 GB, free: 7.48 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002734/0.8066, allocations: 240 kB / 0.7616 GB, free: 7.207 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.618e-05/0.8066, allocations: 12.38 kB / 0.7616 GB, free: 7.195 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.741e-05/0.8066, allocations: 19.94 kB / 0.7616 GB, free: 7.176 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00122/0.8078, allocations: 450.8 kB / 0.762 GB, free: 6.723 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.8079, allocations: 0 / 0.762 GB, free: 6.723 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.886e-05/0.8079, allocations: 8 kB / 0.7621 GB, free: 6.715 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.8079, allocations: 4 kB / 0.7621 GB, free: 6.711 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00123/0.8092, allocations: 0.601 MB / 0.7626 GB, free: 6.109 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00113/0.8103, allocations: 0.8706 MB / 0.7635 GB, free: 5.152 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008319/0.8111, allocations: 246.4 kB / 0.7637 GB, free: 4.902 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001235/0.8113, allocations: 78.58 kB / 0.7638 GB, free: 4.824 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08849/0.8998, allocations: 35.04 MB / 0.798 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.702e-05/0.8999, allocations: 38.5 kB / 0.7981 GB, free: 14.65 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=25): time 2.525e-06/0.8999, allocations: 3.938 kB / 0.7981 GB, free: 14.65 MB / 0.6231 GB Notification: Performance of matching and sorting (n=25): time 0.001972/0.9019, allocations: 415.4 kB / 0.7985 GB, free: 14.24 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.922e-05/0.9019, allocations: 51.41 kB / 0.7985 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000133/0.9021, allocations: 147.9 kB / 0.7986 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.2e-05/0.9021, allocations: 29.7 kB / 0.7987 GB, free: 13.99 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 8.074e-05/0.9022, allocations: 108.4 kB / 0.7988 GB, free: 13.88 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 8.428e-05/0.9023, allocations: 90.73 kB / 0.7989 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001522/0.9025, allocations: 73.66 kB / 0.7989 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001165/0.9026, allocations: 330.8 kB / 0.7993 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001855/0.9028, allocations: 79.95 kB / 0.7993 GB, free: 13.3 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002394/0.903, allocations: 138.5 kB / 0.7995 GB, free: 13.15 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004208/0.9035, allocations: 220.7 kB / 0.7997 GB, free: 12.92 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.9035, allocations: 3.938 kB / 0.7997 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000716/0.9042, allocations: 309.2 kB / 0.8 GB, free: 12.61 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.357e-05/0.9042, allocations: 4 kB / 0.8 GB, free: 12.6 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.9043, allocations: 0 / 0.8 GB, free: 12.6 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/0.9043, allocations: 4 kB / 0.8 GB, free: 12.6 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000308/0.9046, allocations: 79.88 kB / 0.8001 GB, free: 12.52 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.031e-05/0.9046, allocations: 4 kB / 0.8001 GB, free: 12.52 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000187/0.9048, allocations: 23.73 kB / 0.8001 GB, free: 12.49 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.861e-05/0.9049, allocations: 36.08 kB / 0.8001 GB, free: 12.46 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.0001484/0.905, allocations: 125.8 kB / 0.8002 GB, free: 12.32 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001816/0.9052, allocations: 11.91 kB / 0.8002 GB, free: 12.31 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002293/0.9075, allocations: 2.346 MB / 0.8025 GB, free: 9.957 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-05/0.9075, allocations: 11.98 kB / 0.8025 GB, free: 9.945 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.784e-06/0.9075, allocations: 0 / 0.8025 GB, free: 9.945 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.9076, allocations: 7.922 kB / 0.8026 GB, free: 9.938 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003129/0.9107, allocations: 3.427 MB / 0.8059 GB, free: 6.41 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/0.9107, allocations: 0 / 0.8059 GB, free: 6.41 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002764/0.911, allocations: 55.89 kB / 0.806 GB, free: 6.355 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.873e-06/0.911, allocations: 4 kB / 0.806 GB, free: 6.352 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.305e-05/0.911, allocations: 7.938 kB / 0.806 GB, free: 6.344 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.22e-06/0.911, allocations: 7.984 kB / 0.806 GB, free: 6.336 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.741e-06/0.9111, allocations: 3.312 kB / 0.806 GB, free: 6.336 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007654/0.9118, allocations: 0.5467 MB / 0.8065 GB, free: 5.77 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001568/0.912, allocations: 140.6 kB / 0.8066 GB, free: 5.613 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.899e-05/0.912, allocations: 11.94 kB / 0.8067 GB, free: 5.602 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002439/0.9123, allocations: 19.89 kB / 0.8067 GB, free: 5.582 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.277e-05/0.9123, allocations: 15.98 kB / 0.8067 GB, free: 5.566 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.002e-05/0.9124, allocations: 19.92 kB / 0.8067 GB, free: 5.547 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 8.202e-05/0.9125, allocations: 105.3 kB / 0.8068 GB, free: 5.445 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9125, allocations: 0 / 0.8068 GB, free: 5.445 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.005145/0.9176, allocations: 1.628 MB / 0.8084 GB, free: 3.816 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.009449/0.9271, allocations: 1.887 MB / 0.8102 GB, free: 1.922 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0008355/0.9279, allocations: 344 kB / 0.8106 GB, free: 1.59 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 7.895e-06/0.928, allocations: 4.062 kB / 0.8106 GB, free: 1.586 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.000344/0.9283, allocations: 241.2 kB / 0.8108 GB, free: 1.352 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006006/0.9289, allocations: 60.95 kB / 0.8109 GB, free: 1.297 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001249/0.9302, allocations: 0.7631 MB / 0.8116 GB, free: 0.5039 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003385/0.9306, allocations: 0.7661 MB / 0.8124 GB, free: 15.71 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0005839/0.9312, allocations: 397.1 kB / 0.8127 GB, free: 15.32 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001517/0.9313, allocations: 47.41 kB / 0.8128 GB, free: 15.28 MB / 0.6387 GB Notification: Performance of SimCode: time 2.41e-07/0.9313, allocations: 4 kB / 0.8128 GB, free: 15.28 MB / 0.6387 GB Notification: Performance of Templates: time 0.4053/1.337, allocations: 57.27 MB / 0.8687 GB, free: 221.5 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)