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.0071/0.0071, allocations: 101 kB / 15.73 MB, free: 6.012 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.00161/0.00161, allocations: 196.7 kB / 16.67 MB, free: 5.934 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.315/1.315, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.781/0.781, allocations: 135.1 MB / 425.7 MB, free: 4.086 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001116/0.001116, allocations: 66.45 kB / 0.5856 GB, free: 21.65 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1599/0.161, allocations: 80.93 MB / 0.6647 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamProperties): time 0.5324/0.6935, allocations: 136.1 MB / 0.7976 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02974/0.7232, allocations: 22.32 MB / 0.8194 GB, free: 7.258 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002886/0.7236, allocations: 0 / 0.8194 GB, free: 7.258 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0003775/0.724, allocations: 50.95 kB / 0.8194 GB, free: 7.215 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.000471/0.7245, allocations: 101.2 kB / 0.8195 GB, free: 7.133 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0298/0.7543, allocations: 6.692 MB / 0.8261 GB, free: 2.609 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0006089/0.7549, allocations: 249.2 kB / 0.8263 GB, free: 2.473 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 6.047e-05/0.755, allocations: 13.03 kB / 0.8263 GB, free: 2.469 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004129/0.7554, allocations: 142.2 kB / 0.8265 GB, free: 2.391 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001916/0.7556, allocations: 92.97 kB / 0.8266 GB, free: 2.336 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 2.669e-05/0.7557, allocations: 10 kB / 0.8266 GB, free: 2.336 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02528/0.781, allocations: 10.97 MB / 0.8373 GB, free: 12.56 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001257/0.7811, allocations: 37.61 kB / 0.8373 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001762/0.7813, allocations: 87.98 kB / 0.8374 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.01812/0.7994, allocations: 6.154 MB / 0.8434 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.925e-06/0.7995, allocations: 0 / 0.8434 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.085e-06/0.7995, allocations: 0 / 0.8434 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.204e-05/0.7995, allocations: 0 / 0.8434 GB, free: 8.043 MB / 0.6075 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.00438/0.8039, allocations: 1.189 MB / 0.8446 GB, free: 6.805 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/0.804, allocations: 9.109 kB / 0.8446 GB, free: 6.797 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001247/0.8052, allocations: 88.28 kB / 0.8447 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000319/0.8056, allocations: 232.1 kB / 0.8449 GB, free: 6.449 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.992e-05/0.8056, allocations: 8.375 kB / 0.8449 GB, free: 6.441 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.334e-05/0.8056, allocations: 23.94 kB / 0.8449 GB, free: 6.418 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001171/0.8068, allocations: 444.7 kB / 0.8453 GB, free: 5.965 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.8068, allocations: 4 kB / 0.8453 GB, free: 5.961 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.112e-05/0.8069, allocations: 8 kB / 0.8453 GB, free: 5.953 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.003e-05/0.8069, allocations: 4 kB / 0.8454 GB, free: 5.949 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001266/0.8082, allocations: 0.6048 MB / 0.8459 GB, free: 5.344 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001298/0.8095, allocations: 0.8743 MB / 0.8468 GB, free: 4.383 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008868/0.8104, allocations: 256.7 kB / 0.847 GB, free: 4.125 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001293/0.8105, allocations: 72.83 kB / 0.8471 GB, free: 4.051 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0835/0.894, allocations: 35.42 MB / 0.8817 GB, free: 13.54 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.026e-05/0.8941, allocations: 38.56 kB / 0.8817 GB, free: 13.5 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=25): time 2.374e-06/0.8942, allocations: 0 / 0.8817 GB, free: 13.5 MB / 0.6544 GB Notification: Performance of matching and sorting (n=25): time 0.001704/0.8959, allocations: 413.8 kB / 0.8821 GB, free: 13.09 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.113e-05/0.8959, allocations: 63.34 kB / 0.8822 GB, free: 13.01 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001401/0.8961, allocations: 139.9 kB / 0.8823 GB, free: 12.87 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.545e-05/0.8961, allocations: 29.7 kB / 0.8823 GB, free: 12.83 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 7.233e-05/0.8962, allocations: 108.3 kB / 0.8825 GB, free: 12.72 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 7.333e-05/0.8963, allocations: 94.67 kB / 0.8825 GB, free: 12.63 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001291/0.8964, allocations: 81.66 kB / 0.8826 GB, free: 12.54 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001102/0.8965, allocations: 322.8 kB / 0.8829 GB, free: 12.22 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001757/0.8967, allocations: 83.95 kB / 0.883 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002142/0.8969, allocations: 125.1 kB / 0.8831 GB, free: 12 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004052/0.8973, allocations: 225.8 kB / 0.8833 GB, free: 11.76 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.8974, allocations: 0 / 0.8833 GB, free: 11.76 MB / 0.6544 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006876/0.898, allocations: 293.3 kB / 0.8836 GB, free: 11.46 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/0.8981, allocations: 4 kB / 0.8836 GB, free: 11.46 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.8981, allocations: 4 kB / 0.8836 GB, free: 11.46 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.666e-05/0.8981, allocations: 0 / 0.8836 GB, free: 11.46 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002966/0.8984, allocations: 83.88 kB / 0.8837 GB, free: 11.38 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.262e-05/0.8984, allocations: 12.14 kB / 0.8837 GB, free: 11.36 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001536/0.8986, allocations: 19.75 kB / 0.8837 GB, free: 11.34 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.638e-05/0.8986, allocations: 27.92 kB / 0.8838 GB, free: 11.32 MB / 0.6544 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.0001433/0.8988, allocations: 129.8 kB / 0.8839 GB, free: 11.18 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001664/0.899, allocations: 15.81 kB / 0.8839 GB, free: 11.16 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002475/0.9014, allocations: 2.338 MB / 0.8862 GB, free: 8.809 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.415e-05/0.9015, allocations: 7.984 kB / 0.8862 GB, free: 8.801 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.9015, allocations: 0 / 0.8862 GB, free: 8.801 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.466e-06/0.9015, allocations: 7.984 kB / 0.8862 GB, free: 8.793 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003374/0.9049, allocations: 3.44 MB / 0.8896 GB, free: 5.246 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.143e-06/0.9049, allocations: 0 / 0.8896 GB, free: 5.246 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002547/0.9052, allocations: 55.83 kB / 0.8896 GB, free: 5.191 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.623e-06/0.9052, allocations: 4 kB / 0.8896 GB, free: 5.188 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.352e-05/0.9052, allocations: 11.75 kB / 0.8896 GB, free: 5.18 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.422e-06/0.9052, allocations: 7.984 kB / 0.8896 GB, free: 5.172 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.9052, allocations: 0 / 0.8896 GB, free: 5.172 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007799/0.906, allocations: 0.5466 MB / 0.8902 GB, free: 4.609 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001259/0.9062, allocations: 144.5 kB / 0.8903 GB, free: 4.449 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.38e-05/0.9062, allocations: 7.938 kB / 0.8903 GB, free: 4.441 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002035/0.9064, allocations: 15.98 kB / 0.8903 GB, free: 4.426 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.268e-05/0.9065, allocations: 11.98 kB / 0.8903 GB, free: 4.414 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.041e-05/0.9065, allocations: 15.98 kB / 0.8904 GB, free: 4.398 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 7.657e-05/0.9066, allocations: 104.8 kB / 0.8905 GB, free: 4.297 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.11e-07/0.9066, allocations: 0 / 0.8905 GB, free: 4.297 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.006054/0.9126, allocations: 1.632 MB / 0.8921 GB, free: 2.664 MB / 0.6544 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.008517/0.9212, allocations: 1.879 MB / 0.8939 GB, free: 0.7773 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0007326/0.9219, allocations: 324.4 kB / 0.8942 GB, free: 472 kB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 8.796e-06/0.922, allocations: 0 / 0.8942 GB, free: 472 kB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0003103/0.9223, allocations: 245.2 kB / 0.8944 GB, free: 224 kB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005668/0.9229, allocations: 68.75 kB / 0.8945 GB, free: 156 kB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001115/0.924, allocations: 0.6348 MB / 0.8951 GB, free: 15.49 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003463/0.9243, allocations: 0.7699 MB / 0.8959 GB, free: 14.7 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0005179/0.9249, allocations: 409 kB / 0.8963 GB, free: 14.29 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001398/0.925, allocations: 51.41 kB / 0.8963 GB, free: 14.24 MB / 0.67 GB Notification: Performance of SimCode: time 3.01e-07/0.925, allocations: 0 / 0.8963 GB, free: 14.24 MB / 0.67 GB Notification: Performance of Templates: time 0.07236/0.9974, allocations: 57.05 MB / 0.952 GB, free: 5.148 MB / 0.7169 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)