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.007962/0.007962, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001653/0.001653, allocations: 192.9 kB / 16.67 MB, free: 5.52 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.499/1.499, allocations: 205.1 MB / 222.5 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.001318/0.001318, allocations: 51.92 kB / 326.6 MB, free: 3.266 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09736/0.09869, allocations: 46.62 MB / 373.2 MB, free: 4.535 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam): time 0.4023/0.501, allocations: 173.6 MB / 0.534 GB, free: 1.453 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004293/0.5054, allocations: 3.214 MB / 0.5372 GB, free: 14.23 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003739/0.5058, allocations: 7.938 kB / 0.5372 GB, free: 14.22 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007234/0.5066, allocations: 170.9 kB / 0.5373 GB, free: 14.05 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00117/0.5077, allocations: 411.3 kB / 0.5377 GB, free: 13.65 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001185/0.5089, allocations: 343.3 kB / 0.538 GB, free: 13.32 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001365/0.5103, allocations: 0.8915 MB / 0.5389 GB, free: 12.42 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002398/0.5106, allocations: 104.7 kB / 0.539 GB, free: 12.32 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002216/0.5128, allocations: 0.8015 MB / 0.5398 GB, free: 11.52 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005592/0.5134, allocations: 274.9 kB / 0.5401 GB, free: 11.25 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 8.929e-05/0.5135, allocations: 32 kB / 0.5401 GB, free: 11.22 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004722/0.514, allocations: 127.8 kB / 0.5402 GB, free: 11.09 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001431/0.5141, allocations: 91.8 kB / 0.5403 GB, free: 11 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002776/0.5144, allocations: 187.2 kB / 0.5405 GB, free: 10.82 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007583/0.5152, allocations: 0.5141 MB / 0.541 GB, free: 10.3 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/0.5152, allocations: 3.938 kB / 0.541 GB, free: 10.3 MB / 478.1 MB Notification: Performance of FrontEnd: time 3.987e-06/0.5152, allocations: 4 kB / 0.541 GB, free: 10.3 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.864e-05/0.5152, allocations: 0 / 0.541 GB, free: 10.3 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.001043/0.5163, allocations: 0.5853 MB / 0.5416 GB, free: 9.66 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.836e-05/0.5163, allocations: 16.03 kB / 0.5416 GB, free: 9.645 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003692/0.5167, allocations: 43.61 kB / 0.5416 GB, free: 9.602 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006047/0.5173, allocations: 290.4 kB / 0.5419 GB, free: 9.277 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.625e-05/0.5174, allocations: 20.56 kB / 0.5419 GB, free: 9.258 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.883e-05/0.5174, allocations: 24 kB / 0.5419 GB, free: 9.234 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005363/0.518, allocations: 323.7 kB / 0.5422 GB, free: 8.895 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.723e-05/0.518, allocations: 0 / 0.5422 GB, free: 8.895 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.086e-05/0.518, allocations: 15.94 kB / 0.5423 GB, free: 8.879 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.019e-05/0.5181, allocations: 4 kB / 0.5423 GB, free: 8.875 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003693/0.5184, allocations: 209.5 kB / 0.5425 GB, free: 8.672 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.002127/0.5206, allocations: 1.589 MB / 0.544 GB, free: 6.934 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003017/0.5209, allocations: 174.7 kB / 0.5442 GB, free: 6.754 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001521/0.5211, allocations: 101.1 kB / 0.5443 GB, free: 6.652 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.184e-05/0.5211, allocations: 11.98 kB / 0.5443 GB, free: 6.641 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.99e-05/0.5212, allocations: 34.55 kB / 0.5443 GB, free: 6.598 MB / 478.1 MB Notification: Performance of pre-optimization done (n=22): time 1.472e-06/0.5212, allocations: 0 / 0.5443 GB, free: 6.598 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.005802/0.527, allocations: 1.606 MB / 0.5459 GB, free: 4.859 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.758e-05/0.5271, allocations: 63.34 kB / 0.546 GB, free: 4.785 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000298/0.5274, allocations: 256.8 kB / 0.5462 GB, free: 4.527 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.834e-05/0.5274, allocations: 33.7 kB / 0.5462 GB, free: 4.488 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000161/0.5276, allocations: 176.2 kB / 0.5464 GB, free: 4.309 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.979e-05/0.5277, allocations: 94.64 kB / 0.5465 GB, free: 4.215 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001353/0.5278, allocations: 77.69 kB / 0.5466 GB, free: 4.133 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001601/0.528, allocations: 338.8 kB / 0.5469 GB, free: 3.793 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001884/0.5282, allocations: 84.84 kB / 0.547 GB, free: 3.711 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002549/0.5285, allocations: 191.8 kB / 0.5471 GB, free: 3.48 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004664/0.5289, allocations: 300.3 kB / 0.5474 GB, free: 3.145 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.072e-06/0.5289, allocations: 7.938 kB / 0.5474 GB, free: 3.137 MB / 478.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007261/0.5297, allocations: 406.6 kB / 0.5478 GB, free: 2.727 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.316e-05/0.5297, allocations: 8 kB / 0.5478 GB, free: 2.719 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.959e-06/0.5297, allocations: 4 kB / 0.5478 GB, free: 2.715 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002415/0.53, allocations: 69.69 kB / 0.5479 GB, free: 2.641 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003563/0.5303, allocations: 90.39 kB / 0.548 GB, free: 2.555 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00182/0.5322, allocations: 1.955 MB / 0.5499 GB, free: 448 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002342/0.5324, allocations: 8 kB / 0.5499 GB, free: 440 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.892e-05/0.5325, allocations: 39.98 kB / 0.5499 GB, free: 400 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.0002073/0.5327, allocations: 162.3 kB / 0.5501 GB, free: 228 kB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.916e-05/0.5328, allocations: 27.72 kB / 0.5501 GB, free: 200 kB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1926/0.7254, allocations: 431.2 kB / 0.5505 GB, free: 170.8 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.271e-05/0.7254, allocations: 3.953 kB / 0.5505 GB, free: 170.8 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.7254, allocations: 5.625 kB / 0.5505 GB, free: 170.8 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005119/0.7259, allocations: 0.5635 MB / 0.5511 GB, free: 170.4 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001228/0.7272, allocations: 0.73 MB / 0.5518 GB, free: 170 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.02e-06/0.7272, allocations: 1.375 kB / 0.5518 GB, free: 170 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003316/0.7275, allocations: 69.02 kB / 0.5519 GB, free: 170 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000104/0.7277, allocations: 23.64 kB / 0.5519 GB, free: 170 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.818e-05/0.7277, allocations: 13.92 kB / 0.5519 GB, free: 170 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006883/0.7284, allocations: 1.387 MB / 0.5533 GB, free: 168.7 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.7284, allocations: 0 / 0.5533 GB, free: 168.7 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006695/0.7291, allocations: 475.9 kB / 0.5537 GB, free: 168.5 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.664e-05/0.7292, allocations: 102.7 kB / 0.5538 GB, free: 168.5 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.328e-05/0.7292, allocations: 12.72 kB / 0.5538 GB, free: 168.4 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002354/0.7295, allocations: 8.234 kB / 0.5538 GB, free: 168.4 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.302e-05/0.7295, allocations: 26.77 kB / 0.5539 GB, free: 168.4 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.68e-05/0.7296, allocations: 35.03 kB / 0.5539 GB, free: 168.4 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0002211/0.7298, allocations: 189.4 kB / 0.5541 GB, free: 168.4 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.7298, allocations: 0 / 0.5541 GB, free: 168.4 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0006505/0.7305, allocations: 117 kB / 0.5542 GB, free: 168.4 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.0003768/0.7308, allocations: 155.8 kB / 0.5543 GB, free: 168.3 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0007041/0.7316, allocations: 374.6 kB / 0.5547 GB, free: 168.2 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.7316, allocations: 1.125 kB / 0.5547 GB, free: 168.2 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003007/0.7319, allocations: 227.3 kB / 0.5549 GB, free: 168.1 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00102/0.7329, allocations: 166 kB / 0.5551 GB, free: 168 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001161/0.7341, allocations: 0.7058 MB / 0.5558 GB, free: 167.7 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002346/0.7343, allocations: 0.7663 MB / 0.5565 GB, free: 167 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.000408/0.7347, allocations: 120.3 kB / 0.5566 GB, free: 167 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001758/0.7349, allocations: 68.81 kB / 0.5567 GB, free: 166.9 MB / 478.1 MB Notification: Performance of SimCode: time 4.71e-07/0.7349, allocations: 0 / 0.5567 GB, free: 166.9 MB / 478.1 MB Notification: Performance of Templates: time 0.01907/0.754, allocations: 8.777 MB / 0.5653 GB, free: 165.2 MB / 478.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)