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.001216/0.001216, 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.001286/0.001286, allocations: 198.5 kB / 16.54 MB, free: 6.672 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.345/1.345, 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-master/package.mo): time 0.9825/0.9825, allocations: 135.2 MB / 425.5 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001314, allocations: 55.94 kB / 0.5054 GB, free: 5.324 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1714/0.1727, allocations: 80.93 MB / 0.5844 GB, free: 4.547 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamProperties): time 0.4755/0.6482, allocations: 136.1 MB / 0.7173 GB, free: 10.26 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02623/0.6745, allocations: 22.33 MB / 0.7391 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001861/0.6747, allocations: 1.188 kB / 0.7391 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000255/0.675, allocations: 46.47 kB / 0.7392 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002873/0.6753, allocations: 90.09 kB / 0.7393 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.02035/0.6957, allocations: 6.678 MB / 0.7458 GB, free: 5.965 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0004337/0.6962, allocations: 247.8 kB / 0.746 GB, free: 5.836 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 6.449e-05/0.6962, allocations: 13.06 kB / 0.746 GB, free: 5.824 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003284/0.6966, allocations: 138.1 kB / 0.7462 GB, free: 5.75 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001461/0.6967, allocations: 93.66 kB / 0.7463 GB, free: 5.695 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.781e-05/0.6968, allocations: 13.77 kB / 0.7463 GB, free: 5.691 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02134/0.7181, allocations: 10.69 MB / 0.7567 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001297/0.7183, allocations: 35.89 kB / 0.7568 GB, free: 12.35 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001871/0.7185, allocations: 75.67 kB / 0.7568 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01626/0.7347, allocations: 6.172 MB / 0.7629 GB, free: 6.09 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.7348, allocations: 0 / 0.7629 GB, free: 6.09 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.593e-06/0.7348, allocations: 0 / 0.7629 GB, free: 6.09 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.502e-06/0.7348, allocations: 4 kB / 0.7629 GB, free: 6.086 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.003437/0.7383, allocations: 1.18 MB / 0.764 GB, free: 4.859 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.7383, allocations: 12.03 kB / 0.764 GB, free: 4.848 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00125/0.7396, allocations: 88.17 kB / 0.7641 GB, free: 4.766 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002519/0.7398, allocations: 232 kB / 0.7643 GB, free: 4.5 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.301e-05/0.7399, allocations: 8.375 kB / 0.7643 GB, free: 4.492 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.942e-05/0.7399, allocations: 19.94 kB / 0.7644 GB, free: 4.473 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001157/0.741, allocations: 451.2 kB / 0.7648 GB, free: 4.016 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.7411, allocations: 8 kB / 0.7648 GB, free: 4.008 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.368e-05/0.7411, allocations: 8 kB / 0.7648 GB, free: 4 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.347e-06/0.7411, allocations: 15.86 kB / 0.7648 GB, free: 3.984 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001257/0.7424, allocations: 0.5893 MB / 0.7654 GB, free: 3.395 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001095/0.7435, allocations: 0.8822 MB / 0.7662 GB, free: 2.426 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008087/0.7443, allocations: 246.1 kB / 0.7665 GB, free: 2.18 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001218/0.7445, allocations: 76.83 kB / 0.7666 GB, free: 2.102 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09125/0.8357, allocations: 35.05 MB / 0.8008 GB, free: 11.97 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.825e-05/0.8358, allocations: 30.56 kB / 0.8008 GB, free: 11.93 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=25): time 1.843e-06/0.8358, allocations: 0 / 0.8008 GB, free: 11.93 MB / 0.6231 GB Notification: Performance of matching and sorting (n=25): time 0.001801/0.8376, allocations: 423.3 kB / 0.8012 GB, free: 11.51 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.671e-05/0.8377, allocations: 55.41 kB / 0.8013 GB, free: 11.45 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001362/0.8378, allocations: 148 kB / 0.8014 GB, free: 11.29 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.908e-05/0.8379, allocations: 33.7 kB / 0.8014 GB, free: 11.25 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 9.356e-05/0.838, allocations: 108.4 kB / 0.8015 GB, free: 11.14 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 7.301e-05/0.838, allocations: 82.75 kB / 0.8016 GB, free: 11.06 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001291/0.8382, allocations: 81.66 kB / 0.8017 GB, free: 10.98 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001226/0.8383, allocations: 326.8 kB / 0.802 GB, free: 10.65 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001742/0.8385, allocations: 83.95 kB / 0.8021 GB, free: 10.57 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000252/0.8387, allocations: 130.3 kB / 0.8022 GB, free: 10.42 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004334/0.8392, allocations: 224.2 kB / 0.8024 GB, free: 10.19 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.8392, allocations: 0 / 0.8024 GB, free: 10.19 MB / 0.6231 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000733/0.8399, allocations: 297.2 kB / 0.8027 GB, free: 9.891 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/0.84, allocations: 8 kB / 0.8027 GB, free: 9.883 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.84, allocations: 0 / 0.8027 GB, free: 9.883 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.963e-05/0.84, allocations: 4 kB / 0.8027 GB, free: 9.879 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003083/0.8403, allocations: 88.03 kB / 0.8028 GB, free: 9.793 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.8403, allocations: 0 / 0.8028 GB, free: 9.793 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001528/0.8405, allocations: 19.75 kB / 0.8028 GB, free: 9.773 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.519e-05/0.8405, allocations: 27.92 kB / 0.8029 GB, free: 9.746 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.0001471/0.8407, allocations: 129.8 kB / 0.803 GB, free: 9.609 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001686/0.8409, allocations: 11.91 kB / 0.803 GB, free: 9.598 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00247/0.8434, allocations: 2.346 MB / 0.8053 GB, free: 7.242 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-05/0.8434, allocations: 11.98 kB / 0.8053 GB, free: 7.23 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.598e-06/0.8434, allocations: 4 kB / 0.8053 GB, free: 7.227 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.8434, allocations: 0 / 0.8053 GB, free: 7.227 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003451/0.8469, allocations: 3.432 MB / 0.8086 GB, free: 3.695 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.446e-06/0.8469, allocations: 0 / 0.8086 GB, free: 3.695 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002833/0.8472, allocations: 57.14 kB / 0.8087 GB, free: 3.641 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.945e-06/0.8472, allocations: 3.984 kB / 0.8087 GB, free: 3.637 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.335e-05/0.8472, allocations: 11.94 kB / 0.8087 GB, free: 3.625 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.8472, allocations: 0 / 0.8087 GB, free: 3.625 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.8473, allocations: 0 / 0.8087 GB, free: 3.625 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008384/0.8481, allocations: 0.5496 MB / 0.8093 GB, free: 3.059 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000156/0.8483, allocations: 140.6 kB / 0.8094 GB, free: 2.902 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.798e-05/0.8483, allocations: 3.938 kB / 0.8094 GB, free: 2.898 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002241/0.8485, allocations: 15.98 kB / 0.8094 GB, free: 2.883 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.988e-05/0.8486, allocations: 19.92 kB / 0.8094 GB, free: 2.863 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.134e-05/0.8486, allocations: 16.98 kB / 0.8094 GB, free: 2.848 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 9.821e-05/0.8487, allocations: 107.2 kB / 0.8095 GB, free: 2.742 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8487, allocations: 0 / 0.8095 GB, free: 2.742 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.004938/0.8537, allocations: 1.632 MB / 0.8111 GB, free: 1.109 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.00875/0.8625, allocations: 1.885 MB / 0.813 GB, free: 15.22 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0009184/0.8634, allocations: 344 kB / 0.8133 GB, free: 14.89 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 7.504e-06/0.8634, allocations: 0 / 0.8133 GB, free: 14.89 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0003328/0.8638, allocations: 249.1 kB / 0.8135 GB, free: 14.64 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005947/0.8644, allocations: 69.25 kB / 0.8136 GB, free: 14.58 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001332/0.8657, allocations: 0.6393 MB / 0.8142 GB, free: 13.91 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004751/0.8662, allocations: 0.7661 MB / 0.815 GB, free: 13.12 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0006509/0.8669, allocations: 409 kB / 0.8154 GB, free: 12.72 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000146/0.867, allocations: 47.36 kB / 0.8154 GB, free: 12.68 MB / 0.6387 GB Notification: Performance of SimCode: time 1.543e-06/0.867, allocations: 0 / 0.8154 GB, free: 12.68 MB / 0.6387 GB Notification: Performance of Templates: time 0.3932/1.26, allocations: 57.21 MB / 0.8713 GB, free: 220.9 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)