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.0008617/0.0008617, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.005722/0.005722, allocations: 172.1 kB / 16.27 MB, free: 6.32 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.502/1.502, allocations: 205.4 MB / 222.5 MB, free: 5.523 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.0004754/0.0004754, allocations: 12.28 kB / 279.5 MB, free: 12.5 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2276/0.2281, allocations: 47.58 MB / 327 MB, free: 1.758 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam): time 0.395/0.6232, allocations: 169.2 MB / 496.2 MB, free: 13.69 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003366/0.6266, allocations: 3.182 MB / 499.4 MB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003906/0.627, allocations: 3.562 kB / 499.4 MB, free: 13.43 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005522/0.6276, allocations: 137.6 kB / 499.6 MB, free: 13.39 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008723/0.6285, allocations: 395.2 kB / 500 MB, free: 13.29 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007904/0.6293, allocations: 313 kB / 0.4885 GB, free: 13.26 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001178/0.6304, allocations: 1.346 MB / 0.4899 GB, free: 12.95 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001644/0.6306, allocations: 86.05 kB / 0.4899 GB, free: 12.93 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001741/0.6324, allocations: 0.7083 MB / 0.4906 GB, free: 12.71 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004136/0.6328, allocations: 287 kB / 0.4909 GB, free: 12.64 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.957e-05/0.6328, allocations: 13.78 kB / 0.4909 GB, free: 12.64 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003079/0.6332, allocations: 111 kB / 0.491 GB, free: 12.62 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001057/0.6333, allocations: 74.72 kB / 0.4911 GB, free: 12.6 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002062/0.6335, allocations: 195.2 kB / 0.4913 GB, free: 12.55 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005367/0.634, allocations: 0.4983 MB / 0.4918 GB, free: 12.32 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.634, allocations: 1.875 kB / 0.4918 GB, free: 12.32 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.634, allocations: 0 / 0.4918 GB, free: 12.32 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.334e-06/0.6341, allocations: 0 / 0.4918 GB, free: 12.32 MB / 398.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.0008114/0.6349, allocations: 0.5216 MB / 0.4923 GB, free: 11.85 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.6349, allocations: 10.62 kB / 0.4923 GB, free: 11.85 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002966/0.6352, allocations: 44.3 kB / 0.4923 GB, free: 11.83 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003606/0.6356, allocations: 284.6 kB / 0.4926 GB, free: 11.58 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.161e-05/0.6356, allocations: 15.88 kB / 0.4926 GB, free: 11.58 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.852e-05/0.6357, allocations: 23.88 kB / 0.4926 GB, free: 11.58 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004603/0.6362, allocations: 325.8 kB / 0.4929 GB, free: 11.42 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.649e-05/0.6362, allocations: 3 kB / 0.4929 GB, free: 11.42 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.775e-05/0.6362, allocations: 14 kB / 0.493 GB, free: 11.42 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.6362, allocations: 5.812 kB / 0.493 GB, free: 11.42 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002989/0.6365, allocations: 205.6 kB / 0.4932 GB, free: 11.38 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.001634/0.6382, allocations: 1.582 MB / 0.4947 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002743/0.6385, allocations: 178.6 kB / 0.4949 GB, free: 9.996 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00013/0.6386, allocations: 100.9 kB / 0.495 GB, free: 9.977 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.703e-05/0.6387, allocations: 5.812 kB / 0.495 GB, free: 9.977 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.566e-05/0.6387, allocations: 34.06 kB / 0.495 GB, free: 9.938 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 1.303e-06/0.6387, allocations: 2.906 kB / 0.495 GB, free: 9.938 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.005469/0.6442, allocations: 1.62 MB / 0.4966 GB, free: 9.035 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.936e-05/0.6442, allocations: 61.77 kB / 0.4967 GB, free: 8.965 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002197/0.6445, allocations: 251 kB / 0.4969 GB, free: 8.836 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.343e-05/0.6445, allocations: 32.02 kB / 0.4969 GB, free: 8.805 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001052/0.6446, allocations: 181.4 kB / 0.4971 GB, free: 8.664 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.255e-05/0.6447, allocations: 89.16 kB / 0.4972 GB, free: 8.598 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.924e-05/0.6447, allocations: 32.98 kB / 0.4972 GB, free: 8.578 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001322/0.6449, allocations: 345.6 kB / 0.4975 GB, free: 8.25 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000149/0.645, allocations: 89.02 kB / 0.4976 GB, free: 8.238 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002115/0.6453, allocations: 190.6 kB / 0.4978 GB, free: 8.109 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003849/0.6457, allocations: 309.3 kB / 0.4981 GB, free: 7.961 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.149e-06/0.6457, allocations: 7.281 kB / 0.4981 GB, free: 7.957 MB / 398.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000613/0.6463, allocations: 390.9 kB / 0.4985 GB, free: 7.844 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.6463, allocations: 9.797 kB / 0.4985 GB, free: 7.84 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.287e-06/0.6463, allocations: 2.906 kB / 0.4985 GB, free: 7.84 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002405/0.6466, allocations: 80.78 kB / 0.4986 GB, free: 7.809 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003316/0.6469, allocations: 82.7 kB / 0.4987 GB, free: 7.793 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001489/0.6484, allocations: 1.856 MB / 0.5005 GB, free: 5.969 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002576/0.6487, allocations: 22.17 kB / 0.5005 GB, free: 5.965 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.803e-05/0.6488, allocations: 39.31 kB / 0.5005 GB, free: 5.965 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.0001783/0.6489, allocations: 164.2 kB / 0.5007 GB, free: 5.832 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.391e-05/0.649, allocations: 33.41 kB / 0.5007 GB, free: 5.812 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009054/0.6499, allocations: 433.2 kB / 0.5011 GB, free: 5.652 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.202e-06/0.6499, allocations: 3.062 kB / 0.5011 GB, free: 5.652 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.6499, allocations: 6.812 kB / 0.5011 GB, free: 5.648 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005399/0.6505, allocations: 0.5582 MB / 0.5017 GB, free: 5.176 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009339/0.6514, allocations: 0.7336 MB / 0.5024 GB, free: 4.742 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/0.6515, allocations: 7.875 kB / 0.5024 GB, free: 4.734 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002999/0.6518, allocations: 70.05 kB / 0.5025 GB, free: 4.723 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.475e-05/0.6518, allocations: 21.12 kB / 0.5025 GB, free: 4.707 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.624e-05/0.6519, allocations: 20.67 kB / 0.5025 GB, free: 4.699 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008614/0.6527, allocations: 1.273 MB / 0.5038 GB, free: 3.418 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.6528, allocations: 3.938 kB / 0.5038 GB, free: 3.414 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005877/0.6534, allocations: 482.9 kB / 0.5042 GB, free: 3.203 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.238e-05/0.6535, allocations: 109.5 kB / 0.5043 GB, free: 3.09 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.275e-05/0.6535, allocations: 6.188 kB / 0.5043 GB, free: 3.09 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002438/0.6537, allocations: 15.86 kB / 0.5043 GB, free: 3.086 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.269e-05/0.6538, allocations: 34.06 kB / 0.5044 GB, free: 3.066 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.85e-05/0.6539, allocations: 32.33 kB / 0.5044 GB, free: 3.062 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000162/0.654, allocations: 191.8 kB / 0.5046 GB, free: 2.965 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.654, allocations: 1.859 kB / 0.5046 GB, free: 2.965 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004853/0.6545, allocations: 121.9 kB / 0.5047 GB, free: 2.957 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.0003795/0.6549, allocations: 152.5 kB / 0.5049 GB, free: 2.848 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006312/0.6555, allocations: 367.2 kB / 0.5052 GB, free: 2.695 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.267e-06/0.6556, allocations: 7.312 kB / 0.5052 GB, free: 2.691 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002673/0.6559, allocations: 232.8 kB / 0.5054 GB, free: 2.559 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009963/0.6569, allocations: 163 kB / 0.5056 GB, free: 2.496 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001264/0.6581, allocations: 0.8578 MB / 0.5064 GB, free: 1.918 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003606/0.6585, allocations: 0.7658 MB / 0.5072 GB, free: 1.184 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000558/0.6591, allocations: 119.5 kB / 0.5073 GB, free: 1.125 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002081/0.6593, allocations: 68.38 kB / 0.5074 GB, free: 1.102 MB / 398.1 MB Notification: Performance of SimCode: time 3.81e-07/0.6593, allocations: 0 / 0.5074 GB, free: 1.102 MB / 398.1 MB Notification: Performance of Templates: time 0.01399/0.6733, allocations: 8.411 MB / 0.5156 GB, free: 12.85 MB / 414.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)