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.001253/0.001252, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.001848/0.001849, allocations: 194.9 kB / 16.26 MB, free: 6.625 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.616/1.616, allocations: 205.1 MB / 222.1 MB, free: 4.68 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.001394/0.001394, allocations: 55.92 kB / 278.2 MB, free: 12.63 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2332/0.2346, allocations: 46.62 MB / 324.9 MB, free: 1.941 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam): time 0.3954/0.63, allocations: 171.3 MB / 496.2 MB, free: 444 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003126/0.6331, allocations: 3.189 MB / 499.3 MB, free: 348 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001969/0.6334, allocations: 6.75 kB / 499.4 MB, free: 344 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005701/0.634, allocations: 150.9 kB / 499.5 MB, free: 340 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008258/0.6348, allocations: 374.9 kB / 499.9 MB, free: 320 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007979/0.6356, allocations: 322.6 kB / 0.4885 GB, free: 300 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009068/0.6366, allocations: 0.8978 MB / 0.4893 GB, free: 296 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001862/0.6368, allocations: 104.9 kB / 0.4894 GB, free: 284 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001772/0.6385, allocations: 0.7634 MB / 0.4902 GB, free: 264 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002955/0.6388, allocations: 293.2 kB / 0.4905 GB, free: 256 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.601e-05/0.6389, allocations: 30.91 kB / 0.4905 GB, free: 256 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002993/0.6392, allocations: 130.5 kB / 0.4906 GB, free: 252 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.574e-05/0.6393, allocations: 93.3 kB / 0.4907 GB, free: 252 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001721/0.6395, allocations: 185 kB / 0.4909 GB, free: 252 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005125/0.64, allocations: 0.5156 MB / 0.4914 GB, free: 228 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.64, allocations: 0 / 0.4914 GB, free: 228 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.64, allocations: 0 / 0.4914 GB, free: 228 kB / 382.1 MB Notification: Performance of Transformations before backend: time 7.274e-06/0.6401, allocations: 0 / 0.4914 GB, free: 228 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.0007949/0.6409, allocations: 0.6035 MB / 0.492 GB, free: 15.77 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.384e-05/0.6409, allocations: 10.5 kB / 0.492 GB, free: 15.77 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002693/0.6412, allocations: 38.17 kB / 0.492 GB, free: 15.76 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003866/0.6416, allocations: 286 kB / 0.4923 GB, free: 15.54 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.894e-05/0.6416, allocations: 15.69 kB / 0.4923 GB, free: 15.54 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.538e-05/0.6417, allocations: 29.39 kB / 0.4923 GB, free: 15.54 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004504/0.6421, allocations: 324.3 kB / 0.4926 GB, free: 15.43 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.553e-05/0.6421, allocations: 0 / 0.4926 GB, free: 15.43 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.824e-05/0.6422, allocations: 14.16 kB / 0.4927 GB, free: 15.43 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.715e-06/0.6422, allocations: 6.875 kB / 0.4927 GB, free: 15.43 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002795/0.6425, allocations: 205.2 kB / 0.4929 GB, free: 15.43 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.001701/0.6442, allocations: 1.587 MB / 0.4944 GB, free: 14.24 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002879/0.6445, allocations: 172.6 kB / 0.4946 GB, free: 14.21 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001415/0.6446, allocations: 98.09 kB / 0.4947 GB, free: 14.2 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.068e-05/0.6447, allocations: 11.95 kB / 0.4947 GB, free: 14.2 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.972e-05/0.6447, allocations: 32.59 kB / 0.4947 GB, free: 14.16 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 2.094e-06/0.6447, allocations: 0 / 0.4947 GB, free: 14.16 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.005876/0.6506, allocations: 1.623 MB / 0.4963 GB, free: 13.41 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.826e-05/0.6507, allocations: 54.12 kB / 0.4963 GB, free: 13.35 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003203/0.651, allocations: 254.9 kB / 0.4966 GB, free: 13.25 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.743e-05/0.6511, allocations: 31.33 kB / 0.4966 GB, free: 13.21 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001118/0.6512, allocations: 177.4 kB / 0.4968 GB, free: 13.09 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7e-05/0.6512, allocations: 103.9 kB / 0.4969 GB, free: 13.02 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001686/0.6514, allocations: 86.25 kB / 0.497 GB, free: 13 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001484/0.6516, allocations: 338.5 kB / 0.4973 GB, free: 12.68 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001378/0.6517, allocations: 92.31 kB / 0.4974 GB, free: 12.68 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002104/0.6519, allocations: 189.6 kB / 0.4976 GB, free: 12.57 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003954/0.6523, allocations: 300.5 kB / 0.4978 GB, free: 12.45 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.6524, allocations: 7.938 kB / 0.4979 GB, free: 12.44 MB / 398.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006215/0.653, allocations: 392.3 kB / 0.4982 GB, free: 12.38 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.599e-05/0.653, allocations: 6.469 kB / 0.4982 GB, free: 12.38 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.443e-05/0.653, allocations: 6.703 kB / 0.4982 GB, free: 12.38 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002589/0.6533, allocations: 76.11 kB / 0.4983 GB, free: 12.36 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003661/0.6537, allocations: 85.12 kB / 0.4984 GB, free: 12.36 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001898/0.6556, allocations: 1.952 MB / 0.5003 GB, free: 10.49 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002864/0.6559, allocations: 23.88 kB / 0.5003 GB, free: 10.48 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.541e-05/0.656, allocations: 42.39 kB / 0.5004 GB, free: 10.48 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.0002399/0.6562, allocations: 155.7 kB / 0.5005 GB, free: 10.36 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.641e-05/0.6563, allocations: 26.84 kB / 0.5005 GB, free: 10.35 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009769/0.6573, allocations: 436.5 kB / 0.501 GB, free: 10.25 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.6573, allocations: 4 kB / 0.501 GB, free: 10.24 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.6573, allocations: 2.281 kB / 0.501 GB, free: 10.24 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006116/0.6579, allocations: 0.5652 MB / 0.5015 GB, free: 9.785 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001219/0.6592, allocations: 0.7338 MB / 0.5022 GB, free: 9.453 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/0.6592, allocations: 1.094 kB / 0.5022 GB, free: 9.453 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003292/0.6595, allocations: 77.39 kB / 0.5023 GB, free: 9.445 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001128/0.6596, allocations: 22.28 kB / 0.5023 GB, free: 9.434 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.156e-05/0.6597, allocations: 13.77 kB / 0.5023 GB, free: 9.434 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009804/0.6607, allocations: 1.378 MB / 0.5037 GB, free: 8.086 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.6607, allocations: 0 / 0.5037 GB, free: 8.086 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007087/0.6614, allocations: 477.4 kB / 0.5041 GB, free: 7.91 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.448e-05/0.6615, allocations: 109.6 kB / 0.5042 GB, free: 7.797 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.891e-05/0.6616, allocations: 5.594 kB / 0.5042 GB, free: 7.797 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002507/0.6618, allocations: 14.69 kB / 0.5043 GB, free: 7.797 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.365e-05/0.6619, allocations: 32.14 kB / 0.5043 GB, free: 7.793 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.998e-05/0.6619, allocations: 28.31 kB / 0.5043 GB, free: 7.793 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001882/0.6621, allocations: 191 kB / 0.5045 GB, free: 7.715 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.6621, allocations: 0 / 0.5045 GB, free: 7.715 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005183/0.6626, allocations: 126.4 kB / 0.5046 GB, free: 7.707 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.0004219/0.6631, allocations: 150.7 kB / 0.5048 GB, free: 7.609 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007641/0.6639, allocations: 395.1 kB / 0.5051 GB, free: 7.488 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.6639, allocations: 0 / 0.5051 GB, free: 7.488 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002892/0.6642, allocations: 231.4 kB / 0.5054 GB, free: 7.375 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009737/0.6651, allocations: 168.3 kB / 0.5055 GB, free: 7.336 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001226/0.6664, allocations: 0.7991 MB / 0.5063 GB, free: 6.863 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003688/0.6668, allocations: 0.7601 MB / 0.507 GB, free: 6.164 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0006253/0.6674, allocations: 122.9 kB / 0.5072 GB, free: 6.113 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000244/0.6677, allocations: 65.84 kB / 0.5072 GB, free: 6.098 MB / 398.1 MB Notification: Performance of SimCode: time 6.81e-07/0.6677, allocations: 2.688 kB / 0.5072 GB, free: 6.098 MB / 398.1 MB Notification: Performance of Templates: time 0.01492/0.6826, allocations: 8.681 MB / 0.5157 GB, free: 1.621 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)