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.008073/0.008073, allocations: 103.2 kB / 15.73 MB, free: 6.004 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.001304/0.001304, allocations: 190.6 kB / 16.67 MB, free: 5.93 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.477/1.477, allocations: 205.1 MB / 222.5 MB, free: 12.22 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.001254/0.001254, allocations: 51.92 kB / 326.6 MB, free: 3.23 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09182/0.09308, allocations: 46.62 MB / 373.2 MB, free: 4.496 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam): time 0.4104/0.5036, allocations: 173.6 MB / 0.534 GB, free: 1.414 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004055/0.5077, allocations: 3.217 MB / 0.5372 GB, free: 14.18 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001412/0.5079, allocations: 7.938 kB / 0.5372 GB, free: 14.18 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005538/0.5084, allocations: 163 kB / 0.5373 GB, free: 14.02 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000824/0.5093, allocations: 417.3 kB / 0.5377 GB, free: 13.61 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008501/0.5101, allocations: 342.1 kB / 0.538 GB, free: 13.28 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001017/0.5111, allocations: 0.8954 MB / 0.5389 GB, free: 12.38 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002274/0.5114, allocations: 92.67 kB / 0.539 GB, free: 12.29 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001789/0.5132, allocations: 0.794 MB / 0.5398 GB, free: 11.49 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003434/0.5135, allocations: 278.9 kB / 0.54 GB, free: 11.22 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 4.911e-05/0.5136, allocations: 28 kB / 0.5401 GB, free: 11.19 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003127/0.5139, allocations: 135.8 kB / 0.5402 GB, free: 11.06 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001272/0.5141, allocations: 91.78 kB / 0.5403 GB, free: 10.97 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002077/0.5143, allocations: 183.2 kB / 0.5405 GB, free: 10.79 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005922/0.5149, allocations: 0.5156 MB / 0.541 GB, free: 10.27 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.5149, allocations: 0 / 0.541 GB, free: 10.27 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.5149, allocations: 0 / 0.541 GB, free: 10.27 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.713e-06/0.5149, allocations: 0 / 0.541 GB, free: 10.27 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.0009738/0.5159, allocations: 0.5852 MB / 0.5415 GB, free: 9.637 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.704e-05/0.5159, allocations: 12.03 kB / 0.5415 GB, free: 9.625 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003197/0.5163, allocations: 47.61 kB / 0.5416 GB, free: 9.578 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000618/0.5169, allocations: 294.4 kB / 0.5419 GB, free: 9.25 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.069e-05/0.5169, allocations: 12.56 kB / 0.5419 GB, free: 9.238 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.853e-05/0.517, allocations: 24 kB / 0.5419 GB, free: 9.215 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004858/0.5175, allocations: 327.7 kB / 0.5422 GB, free: 8.871 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.553e-05/0.5175, allocations: 0 / 0.5422 GB, free: 8.871 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.843e-05/0.5175, allocations: 19.88 kB / 0.5422 GB, free: 8.852 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.737e-06/0.5176, allocations: 8 kB / 0.5422 GB, free: 8.844 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003096/0.5179, allocations: 205.5 kB / 0.5424 GB, free: 8.645 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.001749/0.5196, allocations: 1.589 MB / 0.544 GB, free: 6.906 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003/0.5199, allocations: 175.6 kB / 0.5442 GB, free: 6.727 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001443/0.5201, allocations: 93.14 kB / 0.5443 GB, free: 6.633 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.646e-05/0.5201, allocations: 19.97 kB / 0.5443 GB, free: 6.613 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.674e-05/0.5202, allocations: 34.56 kB / 0.5443 GB, free: 6.57 MB / 478.1 MB Notification: Performance of pre-optimization done (n=22): time 1.202e-06/0.5202, allocations: 0 / 0.5443 GB, free: 6.57 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.005816/0.526, allocations: 1.61 MB / 0.5459 GB, free: 4.828 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.154e-05/0.5261, allocations: 55.41 kB / 0.5459 GB, free: 4.762 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003063/0.5264, allocations: 256.9 kB / 0.5462 GB, free: 4.504 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.963e-05/0.5264, allocations: 29.7 kB / 0.5462 GB, free: 4.469 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001365/0.5266, allocations: 180.1 kB / 0.5464 GB, free: 4.285 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.353e-05/0.5267, allocations: 98.62 kB / 0.5465 GB, free: 4.188 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001304/0.5268, allocations: 77.69 kB / 0.5465 GB, free: 4.105 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001507/0.527, allocations: 338.8 kB / 0.5469 GB, free: 3.766 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001643/0.5271, allocations: 83.97 kB / 0.5469 GB, free: 3.684 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002225/0.5274, allocations: 191.8 kB / 0.5471 GB, free: 3.453 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004165/0.5278, allocations: 300.3 kB / 0.5474 GB, free: 3.117 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.5278, allocations: 3.938 kB / 0.5474 GB, free: 3.113 MB / 478.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006408/0.5284, allocations: 412.7 kB / 0.5478 GB, free: 2.699 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/0.5285, allocations: 8 kB / 0.5478 GB, free: 2.691 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.5285, allocations: 0 / 0.5478 GB, free: 2.691 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002326/0.5287, allocations: 73.69 kB / 0.5479 GB, free: 2.613 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003484/0.5291, allocations: 83.83 kB / 0.548 GB, free: 2.531 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001419/0.5305, allocations: 1.951 MB / 0.5499 GB, free: 428 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002176/0.5308, allocations: 11.98 kB / 0.5499 GB, free: 416 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.658e-05/0.5308, allocations: 40 kB / 0.5499 GB, free: 376 kB / 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.0001916/0.531, allocations: 166.3 kB / 0.5501 GB, free: 200 kB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.825e-05/0.5311, allocations: 27.72 kB / 0.5501 GB, free: 172 kB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2213/0.7524, allocations: 431.7 kB / 0.5505 GB, free: 170.6 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.754e-06/0.7525, allocations: 4.156 kB / 0.5505 GB, free: 170.6 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.7525, allocations: 1.375 kB / 0.5505 GB, free: 170.6 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004976/0.753, allocations: 0.5654 MB / 0.5511 GB, free: 170.2 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001101/0.7541, allocations: 0.7303 MB / 0.5518 GB, free: 169.9 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/0.7541, allocations: 3.562 kB / 0.5518 GB, free: 169.9 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003256/0.7544, allocations: 69.64 kB / 0.5519 GB, free: 169.9 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.324e-05/0.7545, allocations: 21.91 kB / 0.5519 GB, free: 169.9 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.675e-05/0.7546, allocations: 14.25 kB / 0.5519 GB, free: 169.9 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006216/0.7552, allocations: 1.383 MB / 0.5532 GB, free: 168.5 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.7552, allocations: 0 / 0.5532 GB, free: 168.5 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006623/0.7559, allocations: 479.8 kB / 0.5537 GB, free: 168.4 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.458e-05/0.756, allocations: 109.3 kB / 0.5538 GB, free: 168.3 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.884e-05/0.756, allocations: 5.906 kB / 0.5538 GB, free: 168.3 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002304/0.7563, allocations: 7.344 kB / 0.5538 GB, free: 168.3 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.413e-05/0.7563, allocations: 26.98 kB / 0.5538 GB, free: 168.3 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.818e-05/0.7564, allocations: 31.75 kB / 0.5539 GB, free: 168.3 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.000243/0.7567, allocations: 189.4 kB / 0.5541 GB, free: 168.2 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.7567, allocations: 0 / 0.5541 GB, free: 168.2 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0006727/0.7573, allocations: 126 kB / 0.5542 GB, free: 168.2 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.0003717/0.7577, allocations: 150.1 kB / 0.5543 GB, free: 168.1 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0006523/0.7584, allocations: 372 kB / 0.5547 GB, free: 168 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.656e-06/0.7584, allocations: 1.062 kB / 0.5547 GB, free: 168 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002725/0.7587, allocations: 239.7 kB / 0.5549 GB, free: 167.9 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00098/0.7597, allocations: 174.7 kB / 0.5551 GB, free: 167.8 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001111/0.7608, allocations: 0.6905 MB / 0.5557 GB, free: 167.5 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002172/0.761, allocations: 0.7656 MB / 0.5565 GB, free: 166.8 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.000395/0.7614, allocations: 117.8 kB / 0.5566 GB, free: 166.8 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001752/0.7616, allocations: 71.19 kB / 0.5567 GB, free: 166.8 MB / 478.1 MB Notification: Performance of SimCode: time 2.3e-07/0.7616, allocations: 0 / 0.5567 GB, free: 166.8 MB / 478.1 MB Notification: Performance of Templates: time 0.01631/0.7779, allocations: 8.778 MB / 0.5652 GB, free: 165 MB / 478.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)