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.007841/0.007841, allocations: 102.7 kB / 15.73 MB, free: 6.488 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.001605/0.001605, allocations: 195.2 kB / 16.68 MB, free: 6.375 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.541/1.541, allocations: 205.1 MB / 222.5 MB, free: 4.523 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.001239/0.00124, allocations: 58.48 kB / 326.6 MB, free: 14.3 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09397/0.09521, allocations: 46.62 MB / 373.2 MB, free: 1.293 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam): time 0.4368/0.5321, allocations: 173.6 MB / 0.534 GB, free: 2.129 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004233/0.5364, allocations: 3.223 MB / 0.5372 GB, free: 14.89 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000309/0.5368, allocations: 7.938 kB / 0.5372 GB, free: 14.89 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006163/0.5374, allocations: 174.9 kB / 0.5373 GB, free: 14.71 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001057/0.5385, allocations: 401.4 kB / 0.5377 GB, free: 14.32 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009639/0.5395, allocations: 347.8 kB / 0.538 GB, free: 13.98 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001277/0.5407, allocations: 0.8953 MB / 0.5389 GB, free: 13.09 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000229/0.541, allocations: 104.7 kB / 0.539 GB, free: 12.98 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002016/0.543, allocations: 0.7927 MB / 0.5398 GB, free: 12.19 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004826/0.5435, allocations: 267 kB / 0.54 GB, free: 11.93 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.03e-05/0.5436, allocations: 32 kB / 0.5401 GB, free: 11.9 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000381/0.544, allocations: 131.8 kB / 0.5402 GB, free: 11.77 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001366/0.5441, allocations: 95.72 kB / 0.5403 GB, free: 11.68 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000264/0.5444, allocations: 191.3 kB / 0.5405 GB, free: 11.49 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006397/0.545, allocations: 0.5141 MB / 0.541 GB, free: 10.97 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.183e-06/0.5451, allocations: 0 / 0.541 GB, free: 10.97 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.5451, allocations: 3.938 kB / 0.541 GB, free: 10.97 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.052e-05/0.5451, allocations: 0 / 0.541 GB, free: 10.97 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.0009876/0.5461, allocations: 0.5807 MB / 0.5416 GB, free: 10.34 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.044e-05/0.5461, allocations: 16.03 kB / 0.5416 GB, free: 10.32 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003353/0.5465, allocations: 50.98 kB / 0.5416 GB, free: 10.28 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000627/0.5471, allocations: 290.4 kB / 0.5419 GB, free: 9.953 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.355e-05/0.5472, allocations: 20.56 kB / 0.5419 GB, free: 9.93 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.129e-05/0.5472, allocations: 24 kB / 0.5419 GB, free: 9.906 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006055/0.5479, allocations: 323.6 kB / 0.5422 GB, free: 9.562 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.105e-05/0.5479, allocations: 0 / 0.5422 GB, free: 9.562 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.915e-05/0.5479, allocations: 19.92 kB / 0.5423 GB, free: 9.543 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.343e-05/0.548, allocations: 8 kB / 0.5423 GB, free: 9.535 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003847/0.5484, allocations: 205.5 kB / 0.5425 GB, free: 9.336 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.002367/0.5507, allocations: 1.589 MB / 0.544 GB, free: 7.598 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004165/0.5512, allocations: 175.8 kB / 0.5442 GB, free: 7.418 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000163/0.5513, allocations: 97.14 kB / 0.5443 GB, free: 7.32 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.871e-05/0.5514, allocations: 8 kB / 0.5443 GB, free: 7.312 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.302e-05/0.5514, allocations: 38.55 kB / 0.5443 GB, free: 7.266 MB / 430.1 MB Notification: Performance of pre-optimization done (n=22): time 1.904e-06/0.5514, allocations: 0 / 0.5443 GB, free: 7.266 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.005738/0.5572, allocations: 1.614 MB / 0.5459 GB, free: 5.52 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.851e-05/0.5573, allocations: 59.41 kB / 0.546 GB, free: 5.449 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003224/0.5576, allocations: 252.8 kB / 0.5462 GB, free: 5.195 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.463e-05/0.5577, allocations: 33.7 kB / 0.5462 GB, free: 5.156 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001419/0.5578, allocations: 172.2 kB / 0.5464 GB, free: 4.984 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.413e-05/0.5579, allocations: 102.6 kB / 0.5465 GB, free: 4.883 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001288/0.558, allocations: 81.69 kB / 0.5466 GB, free: 4.797 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001437/0.5582, allocations: 330.8 kB / 0.5469 GB, free: 4.465 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001673/0.5584, allocations: 87.97 kB / 0.547 GB, free: 4.379 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002329/0.5586, allocations: 191.8 kB / 0.5472 GB, free: 4.148 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004393/0.5591, allocations: 304.3 kB / 0.5474 GB, free: 3.809 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.5591, allocations: 3.938 kB / 0.5474 GB, free: 3.805 MB / 430.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006972/0.5598, allocations: 406.6 kB / 0.5478 GB, free: 3.395 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.526e-05/0.5598, allocations: 8 kB / 0.5478 GB, free: 3.387 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.336e-05/0.5598, allocations: 8.812 kB / 0.5478 GB, free: 3.379 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002477/0.5601, allocations: 65.69 kB / 0.5479 GB, free: 3.309 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003596/0.5605, allocations: 91.83 kB / 0.548 GB, free: 3.219 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001525/0.562, allocations: 1.951 MB / 0.5499 GB, free: 1.102 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002105/0.5622, allocations: 8 kB / 0.5499 GB, free: 1.094 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.524e-05/0.5623, allocations: 39.98 kB / 0.5499 GB, free: 1.055 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.0001821/0.5625, allocations: 161.6 kB / 0.5501 GB, free: 0.8867 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.006e-05/0.5626, allocations: 23.72 kB / 0.5501 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008468/0.5634, allocations: 443.7 kB / 0.5505 GB, free: 424 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.5634, allocations: 8 kB / 0.5506 GB, free: 416 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.5634, allocations: 4 kB / 0.5506 GB, free: 412 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005734/0.564, allocations: 0.563 MB / 0.5511 GB, free: 15.75 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001158/0.5652, allocations: 0.7313 MB / 0.5518 GB, free: 14.95 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/0.5652, allocations: 7.938 kB / 0.5518 GB, free: 14.95 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003209/0.5655, allocations: 72.02 kB / 0.5519 GB, free: 14.88 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.101e-05/0.5656, allocations: 20.78 kB / 0.5519 GB, free: 14.85 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.718e-05/0.5657, allocations: 15.98 kB / 0.5519 GB, free: 14.84 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001011/0.5667, allocations: 1.371 MB / 0.5533 GB, free: 13.32 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.5667, allocations: 3.938 kB / 0.5533 GB, free: 13.32 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006946/0.5674, allocations: 479.2 kB / 0.5537 GB, free: 12.83 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001002/0.5675, allocations: 104.8 kB / 0.5538 GB, free: 12.71 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.826e-05/0.5676, allocations: 8 kB / 0.5538 GB, free: 12.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002318/0.5678, allocations: 8 kB / 0.5539 GB, free: 12.69 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.492e-05/0.5679, allocations: 27.91 kB / 0.5539 GB, free: 12.66 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.003e-05/0.5679, allocations: 31.98 kB / 0.5539 GB, free: 12.63 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002073/0.5681, allocations: 190 kB / 0.5541 GB, free: 12.45 MB / 446.1 MB Notification: Performance of sort global known variables: time 2e-07/0.5682, allocations: 64 / 0.5541 GB, free: 12.45 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005301/0.5687, allocations: 124 kB / 0.5542 GB, free: 12.32 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.0003947/0.5691, allocations: 147.1 kB / 0.5543 GB, free: 12.17 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0007471/0.5699, allocations: 382.3 kB / 0.5547 GB, free: 11.78 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.5699, allocations: 4 kB / 0.5547 GB, free: 11.78 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003075/0.5702, allocations: 231.5 kB / 0.5549 GB, free: 11.54 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008522/0.571, allocations: 171.6 kB / 0.5551 GB, free: 11.38 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001259/0.5723, allocations: 0.6914 MB / 0.5558 GB, free: 10.65 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004176/0.5727, allocations: 0.7606 MB / 0.5565 GB, free: 9.863 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000429/0.5732, allocations: 118.9 kB / 0.5566 GB, free: 9.75 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001704/0.5734, allocations: 67.41 kB / 0.5567 GB, free: 9.684 MB / 446.1 MB Notification: Performance of SimCode: time 4.71e-07/0.5734, allocations: 0 / 0.5567 GB, free: 9.684 MB / 446.1 MB Notification: Performance of Templates: time 0.01594/0.5893, allocations: 8.776 MB / 0.5653 GB, free: 0.8867 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)