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.001549/0.001549, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002142/0.002142, allocations: 200 kB / 16.14 MB, free: 6.664 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.562/1.562, allocations: 205.1 MB / 222 MB, free: 4.734 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.001425/0.001425, allocations: 51.92 kB / 278.1 MB, free: 12.74 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2659/0.2674, allocations: 46.63 MB / 324.7 MB, free: 2.062 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam): time 0.4242/0.6917, allocations: 171.5 MB / 496.2 MB, free: 276 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003136/0.6948, allocations: 3.228 MB / 499.4 MB, free: 176 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002004/0.6951, allocations: 7.062 kB / 499.4 MB, free: 176 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005309/0.6957, allocations: 140.6 kB / 499.5 MB, free: 172 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007405/0.6964, allocations: 385.5 kB / 499.9 MB, free: 152 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007233/0.6972, allocations: 320 kB / 0.4885 GB, free: 132 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001038/0.6982, allocations: 1.347 MB / 0.4898 GB, free: 128 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001775/0.6984, allocations: 76.19 kB / 0.4899 GB, free: 116 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001684/0.7001, allocations: 0.7203 MB / 0.4906 GB, free: 88 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003554/0.7005, allocations: 289.5 kB / 0.4909 GB, free: 84 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.487e-05/0.7005, allocations: 15.41 kB / 0.4909 GB, free: 84 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003061/0.7008, allocations: 108.6 kB / 0.491 GB, free: 84 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001365/0.701, allocations: 79 kB / 0.4911 GB, free: 84 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002037/0.7012, allocations: 180.8 kB / 0.4912 GB, free: 84 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005024/0.7017, allocations: 0.4975 MB / 0.4917 GB, free: 60 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.7017, allocations: 4 kB / 0.4917 GB, free: 56 kB / 382.1 MB Notification: Performance of FrontEnd: time 7.21e-07/0.7017, allocations: 3.5 kB / 0.4917 GB, free: 56 kB / 382.1 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.7017, allocations: 0 / 0.4917 GB, free: 56 kB / 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.0009155/0.7026, allocations: 0.5954 MB / 0.4923 GB, free: 15.61 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.7027, allocations: 8.5 kB / 0.4923 GB, free: 15.61 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002975/0.703, allocations: 39.31 kB / 0.4924 GB, free: 15.6 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003726/0.7034, allocations: 287.5 kB / 0.4926 GB, free: 15.38 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.61e-05/0.7034, allocations: 22.34 kB / 0.4926 GB, free: 15.37 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.387e-05/0.7035, allocations: 23.75 kB / 0.4927 GB, free: 15.37 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004811/0.704, allocations: 317.1 kB / 0.493 GB, free: 15.27 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.648e-05/0.704, allocations: 3.406 kB / 0.493 GB, free: 15.27 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.221e-05/0.704, allocations: 16.38 kB / 0.493 GB, free: 15.27 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.377e-06/0.704, allocations: 11.88 kB / 0.493 GB, free: 15.27 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003079/0.7044, allocations: 202.9 kB / 0.4932 GB, free: 15.27 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.001668/0.706, allocations: 1.582 MB / 0.4947 GB, free: 14.08 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002789/0.7063, allocations: 174.2 kB / 0.4949 GB, free: 14.05 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001336/0.7065, allocations: 97.05 kB / 0.495 GB, free: 14.04 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.211e-05/0.7065, allocations: 6.422 kB / 0.495 GB, free: 14.04 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.678e-05/0.7065, allocations: 40.06 kB / 0.495 GB, free: 14 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 1.273e-06/0.7065, allocations: 0 / 0.495 GB, free: 14 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.005538/0.7121, allocations: 1.616 MB / 0.4966 GB, free: 13.26 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.115e-05/0.7121, allocations: 56.66 kB / 0.4967 GB, free: 13.2 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002323/0.7124, allocations: 256.5 kB / 0.4969 GB, free: 13.09 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.295e-05/0.7124, allocations: 32.52 kB / 0.497 GB, free: 13.06 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000106/0.7125, allocations: 180.9 kB / 0.4971 GB, free: 12.93 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.297e-05/0.7126, allocations: 96.78 kB / 0.4972 GB, free: 12.87 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001087/0.7127, allocations: 88.94 kB / 0.4973 GB, free: 12.84 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001272/0.7129, allocations: 333.2 kB / 0.4976 GB, free: 12.53 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001495/0.713, allocations: 89.06 kB / 0.4977 GB, free: 12.53 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002027/0.7132, allocations: 192 kB / 0.4979 GB, free: 12.41 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000378/0.7136, allocations: 312.2 kB / 0.4982 GB, free: 12.29 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.7136, allocations: 3.938 kB / 0.4982 GB, free: 12.28 MB / 398.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005928/0.7142, allocations: 391.8 kB / 0.4986 GB, free: 12.22 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.7143, allocations: 10.02 kB / 0.4986 GB, free: 12.22 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.784e-06/0.7143, allocations: 6.562 kB / 0.4986 GB, free: 12.21 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002132/0.7145, allocations: 71.66 kB / 0.4986 GB, free: 12.2 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003317/0.7148, allocations: 88.36 kB / 0.4987 GB, free: 12.2 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001275/0.7161, allocations: 1.849 MB / 0.5005 GB, free: 10.42 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002416/0.7164, allocations: 24.45 kB / 0.5006 GB, free: 10.41 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.203e-05/0.7164, allocations: 41.27 kB / 0.5006 GB, free: 10.41 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 (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.0001793/0.7166, allocations: 154.6 kB / 0.5007 GB, free: 10.3 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.123e-05/0.7167, allocations: 31.09 kB / 0.5008 GB, free: 10.28 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009314/0.7176, allocations: 441.8 kB / 0.5012 GB, free: 10.17 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.7177, allocations: 2.875 kB / 0.5012 GB, free: 10.17 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.926e-06/0.7177, allocations: 1.094 kB / 0.5012 GB, free: 10.17 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004898/0.7182, allocations: 0.5609 MB / 0.5018 GB, free: 9.719 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009413/0.7191, allocations: 0.7336 MB / 0.5025 GB, free: 9.387 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.63e-06/0.7191, allocations: 4.641 kB / 0.5025 GB, free: 9.383 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003102/0.7195, allocations: 67.08 kB / 0.5025 GB, free: 9.383 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.368e-05/0.7195, allocations: 22.12 kB / 0.5026 GB, free: 9.375 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.525e-05/0.7196, allocations: 17.55 kB / 0.5026 GB, free: 9.371 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007944/0.7204, allocations: 1.278 MB / 0.5038 GB, free: 8.117 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.7204, allocations: 5.359 kB / 0.5038 GB, free: 8.113 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006175/0.721, allocations: 474.8 kB / 0.5043 GB, free: 7.938 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.639e-05/0.7211, allocations: 106.2 kB / 0.5044 GB, free: 7.828 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.199e-05/0.7212, allocations: 6.891 kB / 0.5044 GB, free: 7.828 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002598/0.7214, allocations: 17.34 kB / 0.5044 GB, free: 7.824 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.669e-05/0.7215, allocations: 33.23 kB / 0.5044 GB, free: 7.82 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.596e-05/0.7215, allocations: 30.09 kB / 0.5045 GB, free: 7.816 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001754/0.7217, allocations: 190.3 kB / 0.5046 GB, free: 7.738 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.7217, allocations: 3.938 kB / 0.5046 GB, free: 7.734 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004987/0.7222, allocations: 127.2 kB / 0.5048 GB, free: 7.727 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 (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.0003591/0.7226, allocations: 155.9 kB / 0.5049 GB, free: 7.629 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006117/0.7232, allocations: 372.2 kB / 0.5053 GB, free: 7.512 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.7232, allocations: 0 / 0.5053 GB, free: 7.512 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002686/0.7235, allocations: 230.5 kB / 0.5055 GB, free: 7.402 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000934/0.7245, allocations: 168.9 kB / 0.5057 GB, free: 7.379 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001166/0.7256, allocations: 0.7925 MB / 0.5064 GB, free: 6.914 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003164/0.726, allocations: 0.7662 MB / 0.5072 GB, free: 6.211 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005667/0.7265, allocations: 110 kB / 0.5073 GB, free: 6.172 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002111/0.7268, allocations: 75.06 kB / 0.5074 GB, free: 6.152 MB / 398.1 MB Notification: Performance of SimCode: time 3.41e-07/0.7268, allocations: 0 / 0.5074 GB, free: 6.152 MB / 398.1 MB Notification: Performance of Templates: time 0.02932/0.7561, allocations: 8.438 MB / 0.5156 GB, free: 0.7969 MB / 398.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)