Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_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.2_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.2_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.001589/0.001588, allocations: 105.6 kB / 17.06 MB, free: 6.023 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.001747/0.001747, allocations: 199.9 kB / 18 MB, free: 5.102 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.496/1.496, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.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.001249/0.001249, allocations: 55.94 kB / 327.9 MB, free: 3.254 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08311/0.08437, allocations: 46.61 MB / 374.5 MB, free: 4.531 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam): time 0.3844/0.4688, allocations: 173.6 MB / 0.5353 GB, free: 1.602 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003746/0.4726, allocations: 3.218 MB / 0.5384 GB, free: 14.37 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002599/0.4729, allocations: 4 kB / 0.5384 GB, free: 14.37 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005505/0.4735, allocations: 170.9 kB / 0.5386 GB, free: 14.2 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009021/0.4744, allocations: 403.2 kB / 0.539 GB, free: 13.8 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008837/0.4753, allocations: 344.8 kB / 0.5393 GB, free: 13.47 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001009/0.4763, allocations: 0.8876 MB / 0.5402 GB, free: 12.58 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001958/0.4765, allocations: 109.4 kB / 0.5403 GB, free: 12.47 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001789/0.4783, allocations: 0.7913 MB / 0.5411 GB, free: 11.68 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004649/0.4788, allocations: 274.9 kB / 0.5413 GB, free: 11.41 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 6.313e-05/0.4789, allocations: 32 kB / 0.5414 GB, free: 11.38 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003419/0.4792, allocations: 127.9 kB / 0.5415 GB, free: 11.26 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001179/0.4793, allocations: 99.7 kB / 0.5416 GB, free: 11.16 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002156/0.4796, allocations: 191.2 kB / 0.5418 GB, free: 10.97 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000596/0.4802, allocations: 0.5063 MB / 0.5423 GB, free: 10.46 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.4802, allocations: 0 / 0.5423 GB, free: 10.46 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.183e-06/0.4802, allocations: 0 / 0.5423 GB, free: 10.46 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.06e-05/0.4802, allocations: 0 / 0.5423 GB, free: 10.46 MB / 478.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.000855/0.4811, allocations: 0.593 MB / 0.5428 GB, free: 9.82 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.245e-05/0.4811, allocations: 8.031 kB / 0.5428 GB, free: 9.812 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002846/0.4814, allocations: 47.61 kB / 0.5429 GB, free: 9.766 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004995/0.4819, allocations: 298.3 kB / 0.5432 GB, free: 9.434 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.223e-05/0.4819, allocations: 16.56 kB / 0.5432 GB, free: 9.418 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.741e-05/0.482, allocations: 27.98 kB / 0.5432 GB, free: 9.391 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005531/0.4826, allocations: 319.7 kB / 0.5435 GB, free: 9.055 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.495e-05/0.4826, allocations: 0 / 0.5435 GB, free: 9.055 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.699e-05/0.4826, allocations: 15.94 kB / 0.5435 GB, free: 9.039 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/0.4826, allocations: 10.12 kB / 0.5435 GB, free: 9.031 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003435/0.483, allocations: 205.5 kB / 0.5437 GB, free: 8.832 MB / 478.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.001913/0.4849, allocations: 1.593 MB / 0.5453 GB, free: 7.09 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003126/0.4852, allocations: 174.7 kB / 0.5455 GB, free: 6.91 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002134/0.4855, allocations: 97.14 kB / 0.5456 GB, free: 6.812 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.431e-05/0.4855, allocations: 7.984 kB / 0.5456 GB, free: 6.805 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.19e-05/0.4855, allocations: 42.56 kB / 0.5456 GB, free: 6.754 MB / 478.1 MB Notification: Performance of pre-optimization done (n=22): time 1.644e-06/0.4856, allocations: 0 / 0.5456 GB, free: 6.754 MB / 478.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.005742/0.4913, allocations: 1.615 MB / 0.5472 GB, free: 5.008 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.726e-05/0.4914, allocations: 55.41 kB / 0.5472 GB, free: 4.941 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002821/0.4916, allocations: 256.9 kB / 0.5475 GB, free: 4.684 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.608e-05/0.4917, allocations: 29.7 kB / 0.5475 GB, free: 4.648 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001216/0.4918, allocations: 176.2 kB / 0.5477 GB, free: 4.469 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.992e-05/0.4919, allocations: 94.62 kB / 0.5478 GB, free: 4.375 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000149/0.4921, allocations: 81.69 kB / 0.5478 GB, free: 4.289 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001261/0.4922, allocations: 334.8 kB / 0.5482 GB, free: 3.953 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000168/0.4924, allocations: 91.97 kB / 0.5482 GB, free: 3.863 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002218/0.4926, allocations: 191.7 kB / 0.5484 GB, free: 3.633 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004132/0.493, allocations: 300.3 kB / 0.5487 GB, free: 3.297 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.493, allocations: 3.938 kB / 0.5487 GB, free: 3.293 MB / 478.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006426/0.4937, allocations: 410.7 kB / 0.5491 GB, free: 2.879 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.4937, allocations: 4 kB / 0.5491 GB, free: 2.875 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.4937, allocations: 4 kB / 0.5491 GB, free: 2.871 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002113/0.4939, allocations: 69.69 kB / 0.5492 GB, free: 2.797 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003348/0.4943, allocations: 83.89 kB / 0.5493 GB, free: 2.715 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001442/0.4957, allocations: 1.955 MB / 0.5512 GB, free: 0.5977 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000204/0.496, allocations: 11.98 kB / 0.5512 GB, free: 0.5859 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.027e-05/0.496, allocations: 40 kB / 0.5512 GB, free: 0.5469 MB / 478.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.000172/0.4962, allocations: 150.5 kB / 0.5514 GB, free: 400 kB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.378e-05/0.4963, allocations: 31.7 kB / 0.5514 GB, free: 368 kB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2345/0.7308, allocations: 438.6 kB / 0.5518 GB, free: 171.3 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.229e-05/0.7308, allocations: 3.875 kB / 0.5518 GB, free: 171.3 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/0.7308, allocations: 2.281 kB / 0.5518 GB, free: 171.3 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008274/0.7317, allocations: 0.5624 MB / 0.5524 GB, free: 170.8 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00164/0.7333, allocations: 0.7319 MB / 0.5531 GB, free: 170.5 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.7334, allocations: 3.75 kB / 0.5531 GB, free: 170.5 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005573/0.7339, allocations: 73.69 kB / 0.5532 GB, free: 170.5 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001369/0.7341, allocations: 21.56 kB / 0.5532 GB, free: 170.5 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.38e-05/0.7342, allocations: 13.72 kB / 0.5532 GB, free: 170.5 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009349/0.7351, allocations: 1.382 MB / 0.5545 GB, free: 169.2 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.7351, allocations: 0 / 0.5545 GB, free: 169.2 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001003/0.7361, allocations: 482 kB / 0.555 GB, free: 168.9 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.738e-05/0.7363, allocations: 104.1 kB / 0.5551 GB, free: 168.8 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.531e-05/0.7363, allocations: 11.59 kB / 0.5551 GB, free: 168.8 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003835/0.7367, allocations: 8.797 kB / 0.5551 GB, free: 168.8 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.792e-05/0.7368, allocations: 24.16 kB / 0.5551 GB, free: 168.8 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.438e-05/0.7369, allocations: 34.53 kB / 0.5552 GB, free: 168.8 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003218/0.7373, allocations: 190.2 kB / 0.5554 GB, free: 168.7 MB / 478.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.7373, allocations: 0 / 0.5554 GB, free: 168.7 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0009538/0.7382, allocations: 120 kB / 0.5555 GB, free: 168.7 MB / 478.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.0005503/0.7388, allocations: 145.7 kB / 0.5556 GB, free: 168.6 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001025/0.7399, allocations: 374.5 kB / 0.556 GB, free: 168.4 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.848e-06/0.7399, allocations: 0 / 0.556 GB, free: 168.4 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004212/0.7403, allocations: 238.5 kB / 0.5562 GB, free: 168.3 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001645/0.742, allocations: 176.2 kB / 0.5564 GB, free: 168.2 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001628/0.7436, allocations: 0.6884 MB / 0.557 GB, free: 167.9 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002778/0.7439, allocations: 0.7743 MB / 0.5578 GB, free: 167.2 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0006852/0.7446, allocations: 119.1 kB / 0.5579 GB, free: 167.2 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002976/0.7449, allocations: 65.88 kB / 0.558 GB, free: 167.1 MB / 478.1 MB Notification: Performance of SimCode: time 2.004e-06/0.745, allocations: 0 / 0.558 GB, free: 167.1 MB / 478.1 MB Notification: Performance of Templates: time 0.02751/0.7725, allocations: 8.858 MB / 0.5666 GB, free: 165.3 MB / 478.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.sim & ./Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.pipe 2>&1)