Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006277/0.006277, allocations: 104.8 kB / 15.74 MB, free: 6.035 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.001294/0.001294, allocations: 199.2 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.536/1.536, allocations: 205.1 MB / 222.6 MB, free: 4.391 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001157/0.001157, allocations: 54.7 kB / 326.6 MB, free: 14.43 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09923/0.1004, allocations: 46.63 MB / 373.2 MB, free: 1.258 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam): time 0.4356/0.536, allocations: 173.6 MB / 0.534 GB, free: 2.152 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003677/0.5397, allocations: 3.227 MB / 0.5372 GB, free: 14.91 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001697/0.54, allocations: 4 kB / 0.5372 GB, free: 14.91 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005881/0.5406, allocations: 174.9 kB / 0.5373 GB, free: 14.74 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008999/0.5415, allocations: 401.4 kB / 0.5377 GB, free: 14.35 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008109/0.5423, allocations: 347.8 kB / 0.538 GB, free: 14.01 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008832/0.5432, allocations: 0.8992 MB / 0.5389 GB, free: 13.11 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001992/0.5434, allocations: 100.7 kB / 0.539 GB, free: 13.01 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001752/0.5452, allocations: 0.785 MB / 0.5398 GB, free: 12.22 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003401/0.5455, allocations: 274.9 kB / 0.54 GB, free: 11.95 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.936e-05/0.5456, allocations: 32 kB / 0.5401 GB, free: 11.92 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002814/0.5459, allocations: 127.8 kB / 0.5402 GB, free: 11.8 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001214/0.546, allocations: 95.77 kB / 0.5403 GB, free: 11.7 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002171/0.5462, allocations: 179.3 kB / 0.5405 GB, free: 11.53 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007575/0.547, allocations: 0.5219 MB / 0.541 GB, free: 11 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.547, allocations: 0 / 0.541 GB, free: 11 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.185e-06/0.547, allocations: 0 / 0.541 GB, free: 11 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.185e-06/0.547, allocations: 0 / 0.541 GB, free: 11 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001067/0.5481, allocations: 0.5846 MB / 0.5415 GB, free: 10.37 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.001e-05/0.5482, allocations: 15.97 kB / 0.5416 GB, free: 10.36 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000362/0.5486, allocations: 43.61 kB / 0.5416 GB, free: 10.31 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006278/0.5492, allocations: 286.4 kB / 0.5419 GB, free: 9.992 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.024e-05/0.5492, allocations: 24.56 kB / 0.5419 GB, free: 9.965 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.506e-05/0.5493, allocations: 24 kB / 0.5419 GB, free: 9.941 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000536/0.5498, allocations: 323.6 kB / 0.5422 GB, free: 9.598 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.308e-05/0.5499, allocations: 1.125 kB / 0.5422 GB, free: 9.598 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.07e-05/0.5499, allocations: 19.88 kB / 0.5422 GB, free: 9.578 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/0.5499, allocations: 12 kB / 0.5423 GB, free: 9.566 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003386/0.5503, allocations: 197.6 kB / 0.5424 GB, free: 9.375 MB / 430.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002039/0.5523, allocations: 1.589 MB / 0.544 GB, free: 7.637 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000308/0.5526, allocations: 170.8 kB / 0.5442 GB, free: 7.461 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001752/0.5528, allocations: 105.1 kB / 0.5443 GB, free: 7.355 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.186e-05/0.5529, allocations: 7.984 kB / 0.5443 GB, free: 7.348 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.775e-05/0.5529, allocations: 34.56 kB / 0.5443 GB, free: 7.305 MB / 430.1 MB Notification: Performance of pre-optimization done (n=22): time 2.995e-06/0.5529, allocations: 0 / 0.5443 GB, free: 7.305 MB / 430.1 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: volume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=27): time 0.005913/0.5588, allocations: 1.62 MB / 0.5459 GB, free: 5.555 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.669e-05/0.5589, allocations: 55.41 kB / 0.5459 GB, free: 5.488 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003099/0.5592, allocations: 252.9 kB / 0.5462 GB, free: 5.234 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.185e-05/0.5592, allocations: 33.7 kB / 0.5462 GB, free: 5.195 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001122/0.5594, allocations: 176.2 kB / 0.5464 GB, free: 5.02 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.507e-05/0.5595, allocations: 94.64 kB / 0.5465 GB, free: 4.926 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001182/0.5596, allocations: 85.69 kB / 0.5465 GB, free: 4.836 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001239/0.5597, allocations: 334.8 kB / 0.5469 GB, free: 4.5 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001601/0.5599, allocations: 83.97 kB / 0.5469 GB, free: 4.418 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002243/0.5601, allocations: 191.8 kB / 0.5471 GB, free: 4.188 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004323/0.5605, allocations: 300.3 kB / 0.5474 GB, free: 3.852 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.5606, allocations: 3.938 kB / 0.5474 GB, free: 3.848 MB / 430.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006642/0.5612, allocations: 406.6 kB / 0.5478 GB, free: 3.438 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.104e-05/0.5613, allocations: 11.94 kB / 0.5478 GB, free: 3.426 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/0.5613, allocations: 4 kB / 0.5478 GB, free: 3.422 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002241/0.5615, allocations: 78.02 kB / 0.5479 GB, free: 3.34 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000342/0.5619, allocations: 87.89 kB / 0.548 GB, free: 3.254 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001701/0.5636, allocations: 1.943 MB / 0.5499 GB, free: 1.145 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001957/0.5638, allocations: 14.8 kB / 0.5499 GB, free: 1.133 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.431e-05/0.5638, allocations: 36 kB / 0.5499 GB, free: 1.098 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (40): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002177/0.5641, allocations: 169.8 kB / 0.5501 GB, free: 0.9219 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.17e-05/0.5642, allocations: 23.72 kB / 0.5501 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009157/0.5651, allocations: 444.8 kB / 0.5505 GB, free: 460 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.5651, allocations: 4 kB / 0.5505 GB, free: 456 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.5651, allocations: 0 / 0.5505 GB, free: 456 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006767/0.5658, allocations: 0.563 MB / 0.5511 GB, free: 15.79 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001082/0.5669, allocations: 0.7352 MB / 0.5518 GB, free: 14.99 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/0.5669, allocations: 4 kB / 0.5518 GB, free: 14.99 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003173/0.5672, allocations: 72.77 kB / 0.5519 GB, free: 14.92 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.371e-05/0.5673, allocations: 16.84 kB / 0.5519 GB, free: 14.9 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.189e-05/0.5673, allocations: 19.98 kB / 0.5519 GB, free: 14.88 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001098/0.5684, allocations: 1.379 MB / 0.5533 GB, free: 13.36 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.5685, allocations: 0 / 0.5533 GB, free: 13.36 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007013/0.5692, allocations: 483.2 kB / 0.5537 GB, free: 12.86 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001021/0.5693, allocations: 104.8 kB / 0.5538 GB, free: 12.74 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.285e-05/0.5693, allocations: 4 kB / 0.5538 GB, free: 12.74 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002244/0.5696, allocations: 8 kB / 0.5538 GB, free: 12.73 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.579e-05/0.5696, allocations: 28.03 kB / 0.5539 GB, free: 12.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.798e-05/0.5697, allocations: 31.98 kB / 0.5539 GB, free: 12.67 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002236/0.5699, allocations: 186 kB / 0.5541 GB, free: 12.49 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5699, allocations: 4 kB / 0.5541 GB, free: 12.48 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005802/0.5705, allocations: 120 kB / 0.5542 GB, free: 12.37 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004577/0.571, allocations: 155 kB / 0.5543 GB, free: 12.2 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0007666/0.5718, allocations: 379.2 kB / 0.5547 GB, free: 11.82 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/0.5718, allocations: 4 kB / 0.5547 GB, free: 11.82 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003199/0.5721, allocations: 230.6 kB / 0.5549 GB, free: 11.58 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001061/0.5732, allocations: 171.7 kB / 0.5551 GB, free: 11.41 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001208/0.5744, allocations: 0.6914 MB / 0.5558 GB, free: 10.69 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003423/0.5748, allocations: 0.7606 MB / 0.5565 GB, free: 9.902 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003791/0.5751, allocations: 122.9 kB / 0.5566 GB, free: 9.785 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001642/0.5753, allocations: 67.41 kB / 0.5567 GB, free: 9.719 MB / 446.1 MB Notification: Performance of SimCode: time 6.31e-07/0.5753, allocations: 0 / 0.5567 GB, free: 9.719 MB / 446.1 MB Notification: Performance of Templates: time 0.01458/0.5899, allocations: 8.772 MB / 0.5653 GB, free: 0.9258 MB / 446.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.makefile (rm -f Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.sim & ./Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.pipe 2>&1)