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.001108/0.001108, allocations: 100.6 kB / 15.05 MB, free: 1.105 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.001081/0.001081, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.521/1.521, allocations: 205.4 MB / 222.1 MB, free: 5.508 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.0004552/0.0004553, allocations: 8 kB / 278.9 MB, free: 12.71 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2544/0.2549, allocations: 47.59 MB / 326.5 MB, free: 1.418 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam): time 0.3678/0.6227, allocations: 138 MB / 464.4 MB, free: 2.227 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002739/0.6255, allocations: 1.945 MB / 466.4 MB, free: 2.188 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003726/0.6259, allocations: 5.625 kB / 466.4 MB, free: 2.188 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007596/0.6266, allocations: 141.8 kB / 466.5 MB, free: 2.188 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00106/0.6277, allocations: 271.9 kB / 466.8 MB, free: 2.184 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001085/0.6288, allocations: 284.2 kB / 467.1 MB, free: 2.172 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008797/0.6297, allocations: 484.5 kB / 467.5 MB, free: 2.172 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002467/0.63, allocations: 68.19 kB / 467.6 MB, free: 2.16 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001231/0.6312, allocations: 436.7 kB / 468 MB, free: 2.156 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002528/0.6315, allocations: 174 kB / 468.2 MB, free: 2.152 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.998e-05/0.6315, allocations: 14.03 kB / 468.2 MB, free: 2.152 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003076/0.6318, allocations: 103.6 kB / 468.3 MB, free: 2.152 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001095/0.6319, allocations: 81.64 kB / 468.4 MB, free: 2.148 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.557e-05/0.632, allocations: 89.45 kB / 468.5 MB, free: 2.117 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004817/0.6325, allocations: 393.4 kB / 468.9 MB, free: 2.094 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.6326, allocations: 3.938 kB / 468.9 MB, free: 2.09 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.287e-06/0.6326, allocations: 0 / 468.9 MB, free: 2.09 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.464e-06/0.6326, allocations: 0 / 468.9 MB, free: 2.09 MB / 382.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.001026/0.6336, allocations: 0.5158 MB / 469.4 MB, free: 17.66 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.704e-05/0.6337, allocations: 15.09 kB / 469.4 MB, free: 17.65 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003074/0.634, allocations: 43.39 kB / 469.5 MB, free: 17.64 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003623/0.6344, allocations: 271.7 kB / 469.7 MB, free: 17.42 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.625e-05/0.6344, allocations: 19.44 kB / 469.7 MB, free: 17.42 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.153e-05/0.6344, allocations: 25.94 kB / 469.8 MB, free: 17.42 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004542/0.6349, allocations: 315.2 kB / 470.1 MB, free: 17.32 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.707e-05/0.6349, allocations: 5.688 kB / 470.1 MB, free: 17.32 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.653e-05/0.635, allocations: 8.875 kB / 470.1 MB, free: 17.32 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.131e-05/0.635, allocations: 5.812 kB / 470.1 MB, free: 17.32 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000301/0.6353, allocations: 205.5 kB / 470.3 MB, free: 17.32 MB / 398.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.001746/0.637, allocations: 1.579 MB / 471.9 MB, free: 16.12 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002539/0.6373, allocations: 174.4 kB / 472 MB, free: 16.1 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.087e-05/0.6374, allocations: 6 kB / 472 MB, free: 16.1 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.687e-05/0.6374, allocations: 40.22 kB / 472.1 MB, free: 16.05 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 1.503e-06/0.6374, allocations: 2.734 kB / 472.1 MB, free: 16.05 MB / 398.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.005003/0.6424, allocations: 1.617 MB / 473.7 MB, free: 15.32 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.454e-05/0.6425, allocations: 53.47 kB / 473.8 MB, free: 15.26 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002203/0.6427, allocations: 260.7 kB / 474 MB, free: 15.14 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.529e-05/0.6427, allocations: 33.45 kB / 474 MB, free: 15.11 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.676e-05/0.6428, allocations: 169.1 kB / 474.2 MB, free: 14.99 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.467e-05/0.6429, allocations: 102.5 kB / 474.3 MB, free: 14.93 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.873e-05/0.6429, allocations: 10.53 kB / 474.3 MB, free: 14.93 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001153/0.643, allocations: 341.3 kB / 474.7 MB, free: 14.61 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001317/0.6432, allocations: 90.75 kB / 474.7 MB, free: 14.61 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001742/0.6433, allocations: 185 kB / 474.9 MB, free: 14.49 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001644/0.6435, allocations: 116.6 kB / 475 MB, free: 14.48 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.6435, allocations: 0 / 475 MB, free: 14.48 MB / 398.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.00058/0.6441, allocations: 396 kB / 475.4 MB, free: 14.41 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.6441, allocations: 7.688 kB / 475.4 MB, free: 14.41 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.6441, allocations: 3.031 kB / 475.4 MB, free: 14.41 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001919/0.6443, allocations: 70.28 kB / 475.5 MB, free: 14.4 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003218/0.6447, allocations: 91.86 kB / 475.6 MB, free: 14.39 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001304/0.646, allocations: 1.862 MB / 477.5 MB, free: 12.62 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002214/0.6462, allocations: 18.25 kB / 477.5 MB, free: 12.61 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.925e-05/0.6463, allocations: 49.33 kB / 477.5 MB, free: 12.61 MB / 398.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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001676/0.6465, allocations: 156.2 kB / 477.7 MB, free: 12.49 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.934e-05/0.6465, allocations: 33.42 kB / 477.7 MB, free: 12.48 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008587/0.6474, allocations: 440.9 kB / 478.1 MB, free: 12.36 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.307e-06/0.6474, allocations: 3.031 kB / 478.1 MB, free: 12.36 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.445e-06/0.6474, allocations: 0 / 478.1 MB, free: 12.36 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005056/0.6479, allocations: 0.5569 MB / 478.7 MB, free: 11.91 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008533/0.6488, allocations: 0.722 MB / 479.4 MB, free: 11.58 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.6488, allocations: 6.938 kB / 479.4 MB, free: 11.58 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002808/0.6491, allocations: 69.59 kB / 479.5 MB, free: 11.58 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.412e-05/0.6492, allocations: 24.8 kB / 479.5 MB, free: 11.57 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.222e-05/0.6492, allocations: 16 kB / 479.5 MB, free: 11.57 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008121/0.65, allocations: 1.289 MB / 480.8 MB, free: 10.31 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.65, allocations: 0 / 480.8 MB, free: 10.31 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005585/0.6506, allocations: 0.4926 MB / 481.3 MB, free: 10.09 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.855e-05/0.6507, allocations: 104.2 kB / 481.4 MB, free: 9.984 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.685e-05/0.6507, allocations: 12.06 kB / 481.4 MB, free: 9.984 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002361/0.651, allocations: 15.17 kB / 481.4 MB, free: 9.984 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.631e-05/0.651, allocations: 26.5 kB / 481.5 MB, free: 9.98 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.097e-05/0.6511, allocations: 30.53 kB / 481.5 MB, free: 9.98 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001991/0.6513, allocations: 187.5 kB / 481.7 MB, free: 9.902 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6513, allocations: 2.734 kB / 481.7 MB, free: 9.902 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005/0.6518, allocations: 123.1 kB / 481.8 MB, free: 9.898 MB / 398.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003492/0.6522, allocations: 154.1 kB / 482 MB, free: 9.801 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005865/0.6528, allocations: 370.5 kB / 482.3 MB, free: 9.684 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.6528, allocations: 6.562 kB / 482.3 MB, free: 9.68 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002302/0.653, allocations: 229.6 kB / 482.5 MB, free: 9.57 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007926/0.6538, allocations: 158.9 kB / 482.7 MB, free: 9.551 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001014/0.6548, allocations: 0.8302 MB / 483.5 MB, free: 9.094 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003803/0.6552, allocations: 0.7776 MB / 484.3 MB, free: 8.391 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005221/0.6558, allocations: 108.6 kB / 484.4 MB, free: 8.348 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001934/0.656, allocations: 69.98 kB / 484.5 MB, free: 8.328 MB / 398.1 MB Notification: Performance of SimCode: time 3.9e-07/0.656, allocations: 2.906 kB / 484.5 MB, free: 8.328 MB / 398.1 MB Notification: Performance of Templates: time 0.01295/0.6689, allocations: 8.25 MB / 492.7 MB, free: 6.645 MB / 398.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: