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.001055/0.001055, allocations: 96.59 kB / 16.3 MB, free: 6.461 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.001024/0.001024, allocations: 174.1 kB / 17.19 MB, free: 6.348 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.523/1.523, allocations: 205.4 MB / 223.3 MB, free: 13.18 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.0004684/0.0004684, allocations: 15.44 kB / 280.1 MB, free: 3.734 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09372/0.0942, allocations: 47.58 MB / 327.7 MB, free: 4.086 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam): time 0.3448/0.439, allocations: 138 MB / 465.7 MB, free: 14.82 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002808/0.4419, allocations: 1.931 MB / 467.6 MB, free: 12.89 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002952/0.4422, allocations: 7.938 kB / 467.6 MB, free: 12.88 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007879/0.443, allocations: 143.3 kB / 467.8 MB, free: 12.74 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00101/0.444, allocations: 275.1 kB / 468.1 MB, free: 12.47 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000815/0.4449, allocations: 281.4 kB / 468.3 MB, free: 12.2 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005915/0.4455, allocations: 490.9 kB / 468.8 MB, free: 11.71 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001705/0.4457, allocations: 68.67 kB / 468.9 MB, free: 11.65 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008264/0.4465, allocations: 434.9 kB / 469.3 MB, free: 11.22 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002506/0.4467, allocations: 171.4 kB / 469.5 MB, free: 11.05 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.872e-05/0.4468, allocations: 16 kB / 469.5 MB, free: 11.04 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002688/0.4471, allocations: 103.8 kB / 469.6 MB, free: 10.94 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.315e-05/0.4472, allocations: 75.78 kB / 469.7 MB, free: 10.86 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.737e-05/0.4473, allocations: 97.5 kB / 469.8 MB, free: 10.76 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004063/0.4477, allocations: 385.7 kB / 470.1 MB, free: 10.39 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.4477, allocations: 4 kB / 470.1 MB, free: 10.38 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.4477, allocations: 3.938 kB / 470.1 MB, free: 10.38 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.421e-06/0.4477, allocations: 0 / 470.1 MB, free: 10.38 MB / 366.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.0007287/0.4484, allocations: 0.5268 MB / 470.7 MB, free: 9.805 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.355e-05/0.4485, allocations: 8.031 kB / 470.7 MB, free: 9.797 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002636/0.4488, allocations: 47.61 kB / 470.7 MB, free: 9.75 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000373/0.4491, allocations: 266.6 kB / 471 MB, free: 9.449 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.18e-05/0.4492, allocations: 20.56 kB / 471 MB, free: 9.43 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.117e-05/0.4492, allocations: 27.98 kB / 471 MB, free: 9.402 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000476/0.4497, allocations: 315.7 kB / 471.3 MB, free: 9.062 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/0.4497, allocations: 0 / 471.3 MB, free: 9.062 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.732e-05/0.4498, allocations: 12 kB / 471.3 MB, free: 9.051 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.061e-05/0.4498, allocations: 11.95 kB / 471.4 MB, free: 9.039 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003108/0.4501, allocations: 205.5 kB / 471.6 MB, free: 8.84 MB / 366.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.001732/0.4518, allocations: 1.577 MB / 473.1 MB, free: 7.113 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002999/0.4522, allocations: 170.8 kB / 473.3 MB, free: 6.938 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.353e-05/0.4522, allocations: 4 kB / 473.3 MB, free: 6.934 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.61e-05/0.4522, allocations: 34.56 kB / 473.3 MB, free: 6.891 MB / 366.1 MB Notification: Performance of pre-optimization done (n=22): time 1.362e-06/0.4522, allocations: 0 / 473.3 MB, free: 6.891 MB / 366.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.005438/0.4577, allocations: 1.631 MB / 475 MB, free: 5.129 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.887e-05/0.4577, allocations: 55.41 kB / 475 MB, free: 5.062 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002519/0.458, allocations: 256.8 kB / 475.3 MB, free: 4.805 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.476e-05/0.4581, allocations: 29.7 kB / 475.3 MB, free: 4.77 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001069/0.4582, allocations: 176.2 kB / 475.5 MB, free: 4.59 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.114e-05/0.4582, allocations: 98.48 kB / 475.6 MB, free: 4.492 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.184e-05/0.4583, allocations: 8 kB / 475.6 MB, free: 4.484 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001128/0.4584, allocations: 334.8 kB / 475.9 MB, free: 4.148 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001699/0.4586, allocations: 95.73 kB / 476 MB, free: 4.055 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000236/0.4588, allocations: 191.8 kB / 476.2 MB, free: 3.824 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002022/0.459, allocations: 111.9 kB / 476.3 MB, free: 3.715 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.459, allocations: 0 / 476.3 MB, free: 3.715 MB / 366.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005956/0.4596, allocations: 399.2 kB / 476.7 MB, free: 3.312 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.4597, allocations: 4 kB / 476.7 MB, free: 3.309 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.303e-06/0.4597, allocations: 4 kB / 476.7 MB, free: 3.305 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002156/0.4599, allocations: 82.05 kB / 476.8 MB, free: 3.219 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003362/0.4602, allocations: 79.89 kB / 476.9 MB, free: 3.141 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001452/0.4617, allocations: 1.867 MB / 478.7 MB, free: 1.117 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002307/0.4619, allocations: 19.89 kB / 478.7 MB, free: 1.098 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.153e-05/0.462, allocations: 44.28 kB / 478.8 MB, free: 1.055 MB / 366.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.0001888/0.4622, allocations: 153.7 kB / 478.9 MB, free: 0.8945 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.578e-05/0.4623, allocations: 31.72 kB / 479 MB, free: 0.8633 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009628/0.4633, allocations: 438 kB / 479.4 MB, free: 428 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.4633, allocations: 4 kB / 479.4 MB, free: 424 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.4633, allocations: 0 / 479.4 MB, free: 424 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005667/0.4639, allocations: 0.567 MB / 480 MB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009834/0.4648, allocations: 0.7153 MB / 480.7 MB, free: 14.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.4649, allocations: 4.828 kB / 480.7 MB, free: 14.97 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002977/0.4652, allocations: 71.89 kB / 480.8 MB, free: 14.9 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.929e-05/0.4652, allocations: 24.84 kB / 480.8 MB, free: 14.88 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.083e-05/0.4653, allocations: 12 kB / 480.8 MB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008366/0.4661, allocations: 1.284 MB / 482.1 MB, free: 13.44 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.4661, allocations: 4.031 kB / 482.1 MB, free: 13.44 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006506/0.4668, allocations: 0.5019 MB / 482.6 MB, free: 12.9 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.089e-05/0.4669, allocations: 100.8 kB / 482.7 MB, free: 12.78 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.065e-05/0.4669, allocations: 11.98 kB / 482.7 MB, free: 12.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002433/0.4672, allocations: 16.06 kB / 482.7 MB, free: 12.75 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.487e-05/0.4673, allocations: 27.92 kB / 482.7 MB, free: 12.73 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.226e-05/0.4673, allocations: 27.98 kB / 482.8 MB, free: 12.7 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001698/0.4675, allocations: 190 kB / 482.9 MB, free: 12.52 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4675, allocations: 0 / 482.9 MB, free: 12.52 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005317/0.468, allocations: 120 kB / 483.1 MB, free: 12.4 MB / 382.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.0003828/0.4684, allocations: 163.1 kB / 483.2 MB, free: 12.23 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006941/0.4691, allocations: 371.4 kB / 483.6 MB, free: 11.86 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/0.4691, allocations: 4 kB / 483.6 MB, free: 11.85 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002952/0.4694, allocations: 226.5 kB / 483.8 MB, free: 11.62 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008506/0.4703, allocations: 158.3 kB / 484 MB, free: 11.46 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001198/0.4715, allocations: 0.8364 MB / 484.8 MB, free: 10.6 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003475/0.4719, allocations: 0.7723 MB / 485.6 MB, free: 9.805 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005701/0.4725, allocations: 110.9 kB / 485.7 MB, free: 9.695 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002051/0.4727, allocations: 71.41 kB / 485.7 MB, free: 9.625 MB / 382.1 MB Notification: Performance of SimCode: time 6.71e-07/0.4727, allocations: 0 / 485.7 MB, free: 9.625 MB / 382.1 MB Notification: Performance of Templates: time 0.01342/0.4861, allocations: 8.251 MB / 494 MB, free: 1.375 MB / 382.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: