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.0008617/0.0008617, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.0009322/0.0009322, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.245/1.245, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8657/0.8657, allocations: 135.2 MB / 426.2 MB, free: 14.27 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002874/0.0002876, allocations: 12 kB / 0.5068 GB, free: 5.242 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1522/0.1525, allocations: 82.31 MB / 0.5872 GB, free: 3.105 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamProperties): time 0.3554/0.508, allocations: 114.8 MB / 0.6993 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.02436/0.5324, allocations: 19.71 MB / 0.7186 GB, free: 13.38 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001769/0.5326, allocations: 1.375 kB / 0.7186 GB, free: 13.38 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002462/0.5329, allocations: 41.19 kB / 0.7186 GB, free: 13.36 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002387/0.5331, allocations: 82.22 kB / 0.7187 GB, free: 13.3 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.01788/0.551, allocations: 5.13 MB / 0.7237 GB, free: 11.02 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003353/0.5514, allocations: 170.1 kB / 0.7239 GB, free: 10.94 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.417e-05/0.5514, allocations: 11.42 kB / 0.7239 GB, free: 10.93 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002784/0.5517, allocations: 123.1 kB / 0.724 GB, free: 10.88 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001218/0.5518, allocations: 72.19 kB / 0.7241 GB, free: 10.85 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.901e-05/0.5519, allocations: 6.75 kB / 0.7241 GB, free: 10.85 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02194/0.5738, allocations: 10.69 MB / 0.7345 GB, free: 5.25 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001076/0.574, allocations: 35.84 kB / 0.7346 GB, free: 5.215 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001209/0.5741, allocations: 57.64 kB / 0.7346 GB, free: 5.152 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.009058/0.5831, allocations: 4.083 MB / 0.7386 GB, free: 1.062 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.5832, allocations: 0 / 0.7386 GB, free: 1.062 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.864e-06/0.5832, allocations: 0 / 0.7386 GB, free: 1.062 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.5832, allocations: 4 kB / 0.7386 GB, free: 1.059 MB / 0.545 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.003066/0.5863, allocations: 1.149 MB / 0.7397 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.5863, allocations: 8.031 kB / 0.7397 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001115/0.5874, allocations: 85.78 kB / 0.7398 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002721/0.5877, allocations: 234.7 kB / 0.74 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.622e-05/0.5877, allocations: 8 kB / 0.74 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.875e-05/0.5878, allocations: 16 kB / 0.7401 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001053/0.5889, allocations: 459.2 kB / 0.7405 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.5889, allocations: 0 / 0.7405 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.405e-05/0.5889, allocations: 4 kB / 0.7405 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.134e-06/0.5889, allocations: 4 kB / 0.7405 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00109/0.59, allocations: 0.6009 MB / 0.7411 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001028/0.5911, allocations: 0.8978 MB / 0.742 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007315/0.5918, allocations: 248.8 kB / 0.7422 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08163/0.6734, allocations: 35.35 MB / 0.7767 GB, free: 6.746 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.908e-05/0.6735, allocations: 36.53 kB / 0.7768 GB, free: 6.703 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=25): time 3.436e-06/0.6735, allocations: 0 / 0.7768 GB, free: 6.703 MB / 0.5919 GB Notification: Performance of matching and sorting (n=25): time 0.001531/0.6751, allocations: 427.2 kB / 0.7772 GB, free: 6.281 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.975e-05/0.6751, allocations: 59.41 kB / 0.7772 GB, free: 6.211 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001133/0.6752, allocations: 135.7 kB / 0.7774 GB, free: 6.07 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.717e-05/0.6753, allocations: 33.7 kB / 0.7774 GB, free: 6.031 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 6.06e-05/0.6753, allocations: 112.3 kB / 0.7775 GB, free: 5.918 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 6.879e-05/0.6754, allocations: 82.69 kB / 0.7776 GB, free: 5.836 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.019e-05/0.6754, allocations: 4 kB / 0.7776 GB, free: 5.832 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001025/0.6755, allocations: 330.8 kB / 0.7779 GB, free: 5.5 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001524/0.6757, allocations: 75.95 kB / 0.778 GB, free: 5.426 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001921/0.6759, allocations: 132.3 kB / 0.7781 GB, free: 5.281 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001793/0.6761, allocations: 95.41 kB / 0.7782 GB, free: 5.191 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.6761, allocations: 0 / 0.7782 GB, free: 5.191 MB / 0.5919 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006131/0.6767, allocations: 293.3 kB / 0.7785 GB, free: 4.898 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.6767, allocations: 4 kB / 0.7785 GB, free: 4.895 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/0.6767, allocations: 4 kB / 0.7785 GB, free: 4.891 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.6768, allocations: 0 / 0.7785 GB, free: 4.891 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002687/0.677, allocations: 79.88 kB / 0.7785 GB, free: 4.812 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.331e-05/0.6771, allocations: 11.97 kB / 0.7786 GB, free: 4.801 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001635/0.6772, allocations: 23.75 kB / 0.7786 GB, free: 4.777 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.01e-05/0.6773, allocations: 23.98 kB / 0.7786 GB, free: 4.754 MB / 0.5919 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001262/0.6774, allocations: 133.9 kB / 0.7787 GB, free: 4.613 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001476/0.6776, allocations: 19.8 kB / 0.7787 GB, free: 4.594 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002174/0.6797, allocations: 2.335 MB / 0.781 GB, free: 2.246 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-05/0.6798, allocations: 11.98 kB / 0.781 GB, free: 2.234 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.6798, allocations: 0 / 0.781 GB, free: 2.234 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.685e-06/0.6798, allocations: 7.984 kB / 0.781 GB, free: 2.227 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003038/0.6828, allocations: 3.428 MB / 0.7844 GB, free: 14.7 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.6829, allocations: 0 / 0.7844 GB, free: 14.7 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002384/0.6831, allocations: 60.89 kB / 0.7845 GB, free: 14.64 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.6831, allocations: 7.984 kB / 0.7845 GB, free: 14.63 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.909e-05/0.6831, allocations: 8 kB / 0.7845 GB, free: 14.62 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.6832, allocations: 0 / 0.7845 GB, free: 14.62 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.6832, allocations: 3.938 kB / 0.7845 GB, free: 14.62 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006921/0.6839, allocations: 0.5432 MB / 0.785 GB, free: 14.06 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001318/0.684, allocations: 152.5 kB / 0.7851 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.219e-05/0.684, allocations: 3.938 kB / 0.7852 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002155/0.6843, allocations: 20.88 kB / 0.7852 GB, free: 13.87 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.821e-05/0.6843, allocations: 19.97 kB / 0.7852 GB, free: 13.85 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.941e-05/0.6843, allocations: 15.98 kB / 0.7852 GB, free: 13.84 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.072e-05/0.6844, allocations: 105.5 kB / 0.7853 GB, free: 13.73 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6844, allocations: 3.938 kB / 0.7853 GB, free: 13.73 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.004093/0.6885, allocations: 1.62 MB / 0.7869 GB, free: 12.11 MB / 0.6075 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007476/0.696, allocations: 1.894 MB / 0.7887 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005897/0.6966, allocations: 320.3 kB / 0.789 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.6966, allocations: 4.312 kB / 0.7891 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003022/0.6969, allocations: 237.2 kB / 0.7893 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004645/0.6974, allocations: 59.89 kB / 0.7893 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001049/0.6985, allocations: 0.7896 MB / 0.7901 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003125/0.6988, allocations: 0.778 MB / 0.7909 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0005234/0.6993, allocations: 405 kB / 0.7913 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001295/0.6995, allocations: 47.41 kB / 0.7913 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of SimCode: time 4.5e-07/0.6995, allocations: 4 kB / 0.7913 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of Templates: time 0.07489/0.7744, allocations: 57.86 MB / 0.8478 GB, free: 13.66 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.Media.Examples.SteamProperties.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: