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.0009551/0.0009553, allocations: 87.42 kB / 15.07 MB, free: 1.082 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.0009216/0.0009217, allocations: 168.7 kB / 15.95 MB, free: 200 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.481/1.481, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.0008147/0.0008148, allocations: 8 kB / 278.9 MB, free: 12.82 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2461/0.247, allocations: 47.6 MB / 326.5 MB, free: 1.387 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam): time 0.3709/0.6179, allocations: 157.7 MB / 484.2 MB, free: 1.566 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002829/0.6208, allocations: 2.99 MB / 487.2 MB, free: 1.477 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002752/0.6211, allocations: 2.688 kB / 487.2 MB, free: 1.477 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004515/0.6215, allocations: 132.5 kB / 487.4 MB, free: 1.469 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008017/0.6223, allocations: 364.6 kB / 487.7 MB, free: 1.449 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009293/0.6233, allocations: 281.3 kB / 488 MB, free: 1.434 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001117/0.6244, allocations: 1.111 MB / 489.1 MB, free: 1.43 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001766/0.6246, allocations: 78.84 kB / 489.2 MB, free: 1.418 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00191/0.6265, allocations: 0.6742 MB / 489.8 MB, free: 1.398 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004143/0.6269, allocations: 264.9 kB / 490.1 MB, free: 1.398 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.037e-05/0.627, allocations: 14.5 kB / 490.1 MB, free: 1.398 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003698/0.6274, allocations: 111 kB / 490.2 MB, free: 1.395 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001089/0.6275, allocations: 82.23 kB / 490.3 MB, free: 1.391 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.433e-05/0.6276, allocations: 90.7 kB / 490.4 MB, free: 1.359 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004297/0.628, allocations: 397.1 kB / 490.8 MB, free: 1.336 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.543e-06/0.628, allocations: 0 / 490.8 MB, free: 1.336 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.6281, allocations: 0 / 490.8 MB, free: 1.336 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.835e-06/0.6281, allocations: 0 / 490.8 MB, free: 1.336 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.0008535/0.6289, allocations: 0.5144 MB / 491.3 MB, free: 16.91 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.629, allocations: 16.39 kB / 491.3 MB, free: 16.9 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002832/0.6293, allocations: 44.98 kB / 491.4 MB, free: 16.89 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003622/0.6296, allocations: 270 kB / 491.6 MB, free: 16.68 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.448e-05/0.6297, allocations: 17.44 kB / 491.6 MB, free: 16.68 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.504e-05/0.6297, allocations: 24.5 kB / 491.7 MB, free: 16.68 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004474/0.6302, allocations: 319.5 kB / 492 MB, free: 16.57 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.364e-05/0.6302, allocations: 2.906 kB / 492 MB, free: 16.57 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.16e-05/0.6302, allocations: 16.64 kB / 492 MB, free: 16.57 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.6302, allocations: 5.094 kB / 492 MB, free: 16.57 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003035/0.6306, allocations: 207.6 kB / 492.2 MB, free: 16.57 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.001655/0.6322, allocations: 1.583 MB / 493.8 MB, free: 15.38 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002802/0.6325, allocations: 173.6 kB / 494 MB, free: 15.35 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001308/0.6326, allocations: 92.16 kB / 494 MB, free: 15.34 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.831e-05/0.6327, allocations: 19.72 kB / 494.1 MB, free: 15.34 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.032e-05/0.6327, allocations: 34.09 kB / 494.1 MB, free: 15.3 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 1.533e-06/0.6327, allocations: 2.906 kB / 494.1 MB, free: 15.3 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.004902/0.6376, allocations: 1.618 MB / 495.7 MB, free: 14.56 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.961e-05/0.6377, allocations: 58.94 kB / 495.8 MB, free: 14.49 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002484/0.638, allocations: 258.5 kB / 496 MB, free: 14.38 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.079e-05/0.638, allocations: 32.77 kB / 496.1 MB, free: 14.35 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.818e-05/0.6381, allocations: 172.5 kB / 496.2 MB, free: 14.23 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.29e-05/0.6382, allocations: 96.5 kB / 496.3 MB, free: 14.16 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.853e-05/0.6382, allocations: 9.938 kB / 496.3 MB, free: 14.16 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001531/0.6384, allocations: 339 kB / 496.7 MB, free: 13.85 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001383/0.6385, allocations: 86.73 kB / 496.7 MB, free: 13.85 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001843/0.6387, allocations: 188.8 kB / 496.9 MB, free: 13.73 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001791/0.6389, allocations: 116.9 kB / 497 MB, free: 13.73 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.6389, allocations: 0 / 497 MB, free: 13.73 MB / 398.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005726/0.6395, allocations: 399.2 kB / 497.4 MB, free: 13.66 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/0.6395, allocations: 9.984 kB / 497.4 MB, free: 13.65 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.6395, allocations: 2.719 kB / 497.4 MB, free: 13.65 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001988/0.6397, allocations: 78.61 kB / 497.5 MB, free: 13.63 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003152/0.64, allocations: 78.81 kB / 497.6 MB, free: 13.63 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001319/0.6414, allocations: 1.861 MB / 499.5 MB, free: 11.86 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002179/0.6416, allocations: 20.39 kB / 499.5 MB, free: 11.85 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.937e-05/0.6417, allocations: 41.58 kB / 499.5 MB, free: 11.85 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.0001704/0.6418, allocations: 155.8 kB / 499.7 MB, free: 11.73 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.034e-05/0.6419, allocations: 26.38 kB / 499.7 MB, free: 11.72 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009467/0.6429, allocations: 452 kB / 0.4884 GB, free: 11.6 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.367e-06/0.6429, allocations: 3.156 kB / 0.4884 GB, free: 11.6 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-06/0.6429, allocations: 4.766 kB / 0.4884 GB, free: 11.6 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004934/0.6434, allocations: 0.5583 MB / 0.489 GB, free: 11.15 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009136/0.6443, allocations: 0.7295 MB / 0.4897 GB, free: 10.81 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.6443, allocations: 2.625 kB / 0.4897 GB, free: 10.81 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002809/0.6446, allocations: 67.52 kB / 0.4898 GB, free: 10.81 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.877e-05/0.6447, allocations: 19.56 kB / 0.4898 GB, free: 10.8 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.678e-05/0.6447, allocations: 18.36 kB / 0.4898 GB, free: 10.8 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008997/0.6456, allocations: 1.277 MB / 0.491 GB, free: 9.551 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.155e-06/0.6456, allocations: 2.562 kB / 0.491 GB, free: 9.551 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006011/0.6463, allocations: 487.5 kB / 0.4915 GB, free: 9.363 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001103/0.6464, allocations: 109.5 kB / 0.4916 GB, free: 9.254 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.821e-05/0.6464, allocations: 6.094 kB / 0.4916 GB, free: 9.254 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002278/0.6467, allocations: 15.41 kB / 0.4916 GB, free: 9.254 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.45e-05/0.6467, allocations: 27.69 kB / 0.4917 GB, free: 9.25 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.914e-05/0.6468, allocations: 38.23 kB / 0.4917 GB, free: 9.246 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000163/0.6469, allocations: 186.9 kB / 0.4919 GB, free: 9.168 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.6469, allocations: 0 / 0.4919 GB, free: 9.168 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004989/0.6474, allocations: 122 kB / 0.492 GB, free: 9.164 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.0003631/0.6478, allocations: 155.9 kB / 0.4921 GB, free: 9.059 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005941/0.6484, allocations: 373.5 kB / 0.4925 GB, free: 8.941 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 7.865e-06/0.6484, allocations: 6.938 kB / 0.4925 GB, free: 8.938 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002827/0.6487, allocations: 224.8 kB / 0.4927 GB, free: 8.832 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009157/0.6497, allocations: 162.9 kB / 0.4929 GB, free: 8.812 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001222/0.6509, allocations: 0.8303 MB / 0.4937 GB, free: 8.355 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003273/0.6512, allocations: 0.7698 MB / 0.4944 GB, free: 7.652 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005683/0.6518, allocations: 116.7 kB / 0.4945 GB, free: 7.605 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001991/0.652, allocations: 67.36 kB / 0.4946 GB, free: 7.586 MB / 398.1 MB Notification: Performance of SimCode: time 3.4e-07/0.652, allocations: 0 / 0.4946 GB, free: 7.586 MB / 398.1 MB Notification: Performance of Templates: time 0.0124/0.6644, allocations: 8.263 MB / 0.5027 GB, free: 4.051 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)