Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.01051/0.01051, allocations: 98.52 kB / 15.73 MB, free: 6.055 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.002294/0.002294, allocations: 195.7 kB / 16.68 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.585/1.585, allocations: 205.1 MB / 222.6 MB, free: 4.5 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.001142/0.001142, allocations: 50.23 kB / 326.6 MB, free: 14.41 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09374/0.09489, allocations: 46.62 MB / 373.2 MB, free: 1.281 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam): time 0.4495/0.5444, allocations: 173.6 MB / 0.534 GB, free: 2.125 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004333/0.5488, allocations: 3.227 MB / 0.5372 GB, free: 14.89 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000201/0.5491, allocations: 7.938 kB / 0.5372 GB, free: 14.88 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006398/0.5497, allocations: 167 kB / 0.5373 GB, free: 14.71 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009174/0.5507, allocations: 413.3 kB / 0.5377 GB, free: 14.31 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00103/0.5517, allocations: 343.8 kB / 0.5381 GB, free: 13.98 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009/0.5526, allocations: 0.8914 MB / 0.5389 GB, free: 13.08 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000187/0.5528, allocations: 108.7 kB / 0.539 GB, free: 12.98 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001697/0.5545, allocations: 0.8015 MB / 0.5398 GB, free: 12.18 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000338/0.5549, allocations: 266.9 kB / 0.5401 GB, free: 11.91 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.239e-05/0.555, allocations: 32 kB / 0.5401 GB, free: 11.88 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000272/0.5552, allocations: 123.8 kB / 0.5402 GB, free: 11.76 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000123/0.5554, allocations: 103.7 kB / 0.5403 GB, free: 11.66 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002085/0.5556, allocations: 183.3 kB / 0.5405 GB, free: 11.48 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005768/0.5562, allocations: 0.5125 MB / 0.541 GB, free: 10.97 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.5562, allocations: 4 kB / 0.541 GB, free: 10.96 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.5562, allocations: 0 / 0.541 GB, free: 10.96 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.5562, allocations: 0 / 0.541 GB, free: 10.96 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.000901/0.5571, allocations: 0.5921 MB / 0.5416 GB, free: 10.32 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/0.5572, allocations: 12.03 kB / 0.5416 GB, free: 10.31 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003111/0.5575, allocations: 47.8 kB / 0.5416 GB, free: 10.27 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005707/0.5581, allocations: 294.5 kB / 0.5419 GB, free: 9.938 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.742e-05/0.5581, allocations: 20.56 kB / 0.5419 GB, free: 9.914 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.531e-05/0.5582, allocations: 24 kB / 0.5419 GB, free: 9.891 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005255/0.5587, allocations: 319.7 kB / 0.5423 GB, free: 9.551 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.684e-05/0.5587, allocations: 3.984 kB / 0.5423 GB, free: 9.547 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.844e-05/0.5588, allocations: 20.69 kB / 0.5423 GB, free: 9.527 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.927e-06/0.5588, allocations: 4 kB / 0.5423 GB, free: 9.523 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000326/0.5591, allocations: 209.5 kB / 0.5425 GB, free: 9.32 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.001823/0.5609, allocations: 1.593 MB / 0.544 GB, free: 7.578 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002901/0.5612, allocations: 171.8 kB / 0.5442 GB, free: 7.402 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001579/0.5614, allocations: 101.1 kB / 0.5443 GB, free: 7.301 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.84e-05/0.5615, allocations: 7.984 kB / 0.5443 GB, free: 7.293 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.827e-05/0.5615, allocations: 35.69 kB / 0.5443 GB, free: 7.25 MB / 430.1 MB Notification: Performance of pre-optimization done (n=22): time 1.483e-06/0.5615, allocations: 0 / 0.5443 GB, free: 7.25 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.005544/0.5671, allocations: 1.62 MB / 0.5459 GB, free: 5.5 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.534e-05/0.5671, allocations: 59.41 kB / 0.546 GB, free: 5.43 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002437/0.5674, allocations: 253 kB / 0.5462 GB, free: 5.176 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.524e-05/0.5674, allocations: 33.7 kB / 0.5462 GB, free: 5.137 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001135/0.5675, allocations: 172.5 kB / 0.5464 GB, free: 4.965 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.118e-05/0.5676, allocations: 103.1 kB / 0.5465 GB, free: 4.863 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000126/0.5677, allocations: 85.64 kB / 0.5466 GB, free: 4.773 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001173/0.5679, allocations: 334.8 kB / 0.5469 GB, free: 4.438 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001593/0.568, allocations: 87.91 kB / 0.547 GB, free: 4.352 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002311/0.5683, allocations: 195.8 kB / 0.5472 GB, free: 4.117 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004251/0.5687, allocations: 296.3 kB / 0.5475 GB, free: 3.785 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.5687, allocations: 11.88 kB / 0.5475 GB, free: 3.773 MB / 430.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006909/0.5694, allocations: 406.9 kB / 0.5479 GB, free: 3.363 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.219e-05/0.5695, allocations: 8 kB / 0.5479 GB, free: 3.355 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.5695, allocations: 4 kB / 0.5479 GB, free: 3.352 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002489/0.5697, allocations: 69.69 kB / 0.5479 GB, free: 3.277 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003457/0.5701, allocations: 87.83 kB / 0.548 GB, free: 3.191 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001462/0.5715, allocations: 1.947 MB / 0.5499 GB, free: 1.078 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001983/0.5718, allocations: 11.98 kB / 0.5499 GB, free: 1.066 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.807e-05/0.5718, allocations: 38.75 kB / 0.55 GB, free: 1.031 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.0001987/0.572, allocations: 157.7 kB / 0.5501 GB, free: 0.8672 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.894e-05/0.5721, allocations: 31.81 kB / 0.5502 GB, free: 0.8359 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008647/0.573, allocations: 436.9 kB / 0.5506 GB, free: 404 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.195e-06/0.573, allocations: 4 kB / 0.5506 GB, free: 400 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.573, allocations: 4 kB / 0.5506 GB, free: 396 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000564/0.5736, allocations: 0.5669 MB / 0.5511 GB, free: 15.73 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001004/0.5746, allocations: 0.7313 MB / 0.5518 GB, free: 14.93 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.5746, allocations: 0 / 0.5518 GB, free: 14.93 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003133/0.5749, allocations: 71.95 kB / 0.5519 GB, free: 14.86 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.092e-05/0.575, allocations: 25.78 kB / 0.5519 GB, free: 14.84 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.747e-05/0.5751, allocations: 19.92 kB / 0.552 GB, free: 14.82 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009074/0.576, allocations: 1.382 MB / 0.5533 GB, free: 13.29 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.576, allocations: 0 / 0.5533 GB, free: 13.29 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006537/0.5767, allocations: 483.3 kB / 0.5538 GB, free: 12.8 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.25e-05/0.5767, allocations: 104.9 kB / 0.5539 GB, free: 12.68 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.293e-05/0.5768, allocations: 8 kB / 0.5539 GB, free: 12.67 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002242/0.577, allocations: 8 kB / 0.5539 GB, free: 12.66 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.733e-05/0.5771, allocations: 19.97 kB / 0.5539 GB, free: 12.64 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.304e-05/0.5771, allocations: 31.98 kB / 0.5539 GB, free: 12.61 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001947/0.5773, allocations: 190 kB / 0.5541 GB, free: 12.42 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5773, allocations: 3.938 kB / 0.5541 GB, free: 12.42 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000536/0.5779, allocations: 127.9 kB / 0.5542 GB, free: 12.29 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.0003616/0.5782, allocations: 154.5 kB / 0.5544 GB, free: 12.13 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006575/0.5789, allocations: 370.4 kB / 0.5547 GB, free: 11.76 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.5789, allocations: 4 kB / 0.5547 GB, free: 11.75 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002874/0.5792, allocations: 234.5 kB / 0.555 GB, free: 11.51 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009384/0.5802, allocations: 169 kB / 0.5551 GB, free: 11.35 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001111/0.5813, allocations: 0.6907 MB / 0.5558 GB, free: 10.62 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003424/0.5816, allocations: 0.7645 MB / 0.5566 GB, free: 9.832 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003919/0.582, allocations: 118.9 kB / 0.5567 GB, free: 9.719 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001703/0.5822, allocations: 67.41 kB / 0.5567 GB, free: 9.652 MB / 446.1 MB Notification: Performance of SimCode: time 3.01e-07/0.5822, allocations: 0 / 0.5567 GB, free: 9.652 MB / 446.1 MB Notification: Performance of Templates: time 0.01418/0.5964, allocations: 8.772 MB / 0.5653 GB, free: 0.8594 MB / 446.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.sim & ./Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.pipe 2>&1)