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.006495/0.006495, allocations: 97.33 kB / 15.73 MB, free: 5.527 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.001224/0.001224, allocations: 187 kB / 16.67 MB, free: 5.465 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.54/1.54, allocations: 205.1 MB / 222.6 MB, free: 4.371 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.001214/0.001214, allocations: 45.66 kB / 326.6 MB, free: 14.45 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09654/0.09777, allocations: 46.63 MB / 373.2 MB, free: 1.285 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam): time 0.4463/0.5441, allocations: 173.6 MB / 0.534 GB, free: 2.164 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003972/0.5481, allocations: 3.227 MB / 0.5372 GB, free: 14.93 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001809/0.5484, allocations: 4 kB / 0.5372 GB, free: 14.92 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005945/0.549, allocations: 170.9 kB / 0.5373 GB, free: 14.75 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008385/0.5498, allocations: 405.4 kB / 0.5377 GB, free: 14.36 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008294/0.5506, allocations: 343.8 kB / 0.538 GB, free: 14.02 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001057/0.5517, allocations: 0.8953 MB / 0.5389 GB, free: 13.12 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002209/0.5519, allocations: 105.2 kB / 0.539 GB, free: 13.02 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001943/0.5539, allocations: 0.7898 MB / 0.5398 GB, free: 12.23 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003962/0.5543, allocations: 267 kB / 0.54 GB, free: 11.97 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.629e-05/0.5544, allocations: 32 kB / 0.5401 GB, free: 11.94 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003598/0.5547, allocations: 135.8 kB / 0.5402 GB, free: 11.81 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001347/0.5549, allocations: 87.78 kB / 0.5403 GB, free: 11.72 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002186/0.5551, allocations: 195.2 kB / 0.5405 GB, free: 11.53 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006525/0.5558, allocations: 0.5164 MB / 0.541 GB, free: 11.02 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.594e-06/0.5558, allocations: 0 / 0.541 GB, free: 11.02 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.5558, allocations: 0 / 0.541 GB, free: 11.02 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.924e-06/0.5558, allocations: 0 / 0.541 GB, free: 11.02 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.0008216/0.5567, allocations: 0.5921 MB / 0.5416 GB, free: 10.38 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.5567, allocations: 11.97 kB / 0.5416 GB, free: 10.36 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002893/0.557, allocations: 43.81 kB / 0.5416 GB, free: 10.32 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004926/0.5575, allocations: 294.5 kB / 0.5419 GB, free: 9.992 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.401e-05/0.5575, allocations: 16.56 kB / 0.5419 GB, free: 9.973 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.674e-05/0.5576, allocations: 31.56 kB / 0.5419 GB, free: 9.945 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005207/0.5581, allocations: 315.7 kB / 0.5422 GB, free: 9.609 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.121e-05/0.5581, allocations: 7.938 kB / 0.5422 GB, free: 9.602 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.134e-05/0.5582, allocations: 19.88 kB / 0.5423 GB, free: 9.582 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.073e-05/0.5582, allocations: 8 kB / 0.5423 GB, free: 9.574 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003616/0.5586, allocations: 197.6 kB / 0.5425 GB, free: 9.383 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.00191/0.5605, allocations: 1.601 MB / 0.544 GB, free: 7.633 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003138/0.5608, allocations: 166.8 kB / 0.5442 GB, free: 7.461 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001651/0.561, allocations: 101.1 kB / 0.5443 GB, free: 7.359 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.525e-05/0.561, allocations: 4 kB / 0.5443 GB, free: 7.355 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.032e-05/0.5611, allocations: 46.5 kB / 0.5443 GB, free: 7.301 MB / 430.1 MB Notification: Performance of pre-optimization done (n=22): time 1.362e-06/0.5611, allocations: 0 / 0.5443 GB, free: 7.301 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.005524/0.5666, allocations: 1.615 MB / 0.5459 GB, free: 5.555 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.369e-05/0.5667, allocations: 55.41 kB / 0.546 GB, free: 5.488 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002851/0.567, allocations: 257 kB / 0.5462 GB, free: 5.23 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.581e-05/0.567, allocations: 29.7 kB / 0.5462 GB, free: 5.195 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001287/0.5672, allocations: 176.5 kB / 0.5464 GB, free: 5.02 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.707e-05/0.5673, allocations: 103.2 kB / 0.5465 GB, free: 4.918 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001341/0.5674, allocations: 85.64 kB / 0.5466 GB, free: 4.828 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001397/0.5675, allocations: 334.8 kB / 0.5469 GB, free: 4.492 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001662/0.5677, allocations: 87.95 kB / 0.547 GB, free: 4.406 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002361/0.568, allocations: 191.8 kB / 0.5472 GB, free: 4.176 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004359/0.5684, allocations: 304.3 kB / 0.5475 GB, free: 3.836 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.5684, allocations: 3.938 kB / 0.5475 GB, free: 3.832 MB / 430.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000655/0.5691, allocations: 407 kB / 0.5478 GB, free: 3.422 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.5691, allocations: 7.938 kB / 0.5479 GB, free: 3.414 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/0.5691, allocations: 7.5 kB / 0.5479 GB, free: 3.41 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000221/0.5693, allocations: 77.61 kB / 0.5479 GB, free: 3.328 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003357/0.5697, allocations: 79.91 kB / 0.548 GB, free: 3.25 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001479/0.5712, allocations: 1.955 MB / 0.5499 GB, free: 1.129 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002037/0.5714, allocations: 8 kB / 0.5499 GB, free: 1.121 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.511e-05/0.5715, allocations: 40 kB / 0.55 GB, free: 1.082 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.0001715/0.5716, allocations: 153.7 kB / 0.5501 GB, free: 0.9219 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.669e-05/0.5717, allocations: 27.81 kB / 0.5501 GB, free: 0.8945 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008673/0.5726, allocations: 440.9 kB / 0.5506 GB, free: 460 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.5726, allocations: 4.875 kB / 0.5506 GB, free: 456 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-06/0.5726, allocations: 4 kB / 0.5506 GB, free: 452 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005823/0.5732, allocations: 0.5592 MB / 0.5511 GB, free: 15.79 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001089/0.5743, allocations: 0.7351 MB / 0.5518 GB, free: 14.99 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.5743, allocations: 7.984 kB / 0.5518 GB, free: 14.98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003059/0.5746, allocations: 67.91 kB / 0.5519 GB, free: 14.92 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.048e-05/0.5747, allocations: 28.89 kB / 0.5519 GB, free: 14.89 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.487e-05/0.5748, allocations: 15.94 kB / 0.5519 GB, free: 14.87 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009476/0.5757, allocations: 1.382 MB / 0.5533 GB, free: 13.35 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.5757, allocations: 4.031 kB / 0.5533 GB, free: 13.34 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000699/0.5764, allocations: 483.3 kB / 0.5538 GB, free: 12.85 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.317e-05/0.5765, allocations: 100.9 kB / 0.5539 GB, free: 12.73 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.005e-05/0.5766, allocations: 8 kB / 0.5539 GB, free: 12.72 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002293/0.5768, allocations: 11.98 kB / 0.5539 GB, free: 12.71 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.355e-05/0.5769, allocations: 23.97 kB / 0.5539 GB, free: 12.69 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.842e-05/0.5769, allocations: 31.98 kB / 0.5539 GB, free: 12.66 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002169/0.5772, allocations: 186 kB / 0.5541 GB, free: 12.47 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5772, allocations: 0 / 0.5541 GB, free: 12.47 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000545/0.5777, allocations: 127.9 kB / 0.5542 GB, free: 12.35 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.0003841/0.5781, allocations: 143.1 kB / 0.5544 GB, free: 12.2 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0007517/0.5789, allocations: 382.4 kB / 0.5547 GB, free: 11.81 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.127e-06/0.5789, allocations: 0 / 0.5547 GB, free: 11.81 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000301/0.5792, allocations: 230.5 kB / 0.555 GB, free: 11.57 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009625/0.5802, allocations: 172.4 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.001266/0.5815, allocations: 0.6907 MB / 0.5558 GB, free: 10.68 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003437/0.5818, allocations: 0.7684 MB / 0.5565 GB, free: 9.887 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004033/0.5822, allocations: 110.9 kB / 0.5566 GB, free: 9.781 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001766/0.5824, allocations: 71.39 kB / 0.5567 GB, free: 9.711 MB / 446.1 MB Notification: Performance of SimCode: time 3.31e-07/0.5824, allocations: 0 / 0.5567 GB, free: 9.711 MB / 446.1 MB Notification: Performance of Templates: time 0.01546/0.5979, allocations: 8.78 MB / 0.5653 GB, free: 0.9102 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)