Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) 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(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001183/0.001183, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001551/0.001551, allocations: 191.9 kB / 16.25 MB, free: 6.629 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.57/1.57, allocations: 205.1 MB / 222.1 MB, free: 4.738 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3869/0.3869, allocations: 39.93 MB / 309.4 MB, free: 9.047 MB / 254.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: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001494/0.001494, allocations: 67.91 kB / 377.1 MB, free: 12.74 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1416/0.1431, allocations: 56.88 MB / 434 MB, free: 3.766 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.4928/0.636, allocations: 178.8 MB / 0.5984 GB, free: 0.707 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.008649/0.6447, allocations: 5.82 MB / 0.6041 GB, free: 10.88 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001009/0.6458, allocations: 27.75 kB / 0.6041 GB, free: 10.85 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001064/0.6469, allocations: 278.5 kB / 0.6044 GB, free: 10.57 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004602/0.6515, allocations: 1.458 MB / 0.6058 GB, free: 9.121 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003427/0.655, allocations: 1.143 MB / 0.6069 GB, free: 7.992 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002638/0.6576, allocations: 1.856 MB / 0.6087 GB, free: 6.133 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000628/0.6583, allocations: 462.5 kB / 0.6092 GB, free: 5.68 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002504/0.6608, allocations: 1.214 MB / 0.6104 GB, free: 4.469 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001126/0.6619, allocations: 0.7862 MB / 0.6111 GB, free: 3.68 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001012/0.662, allocations: 60 kB / 0.6112 GB, free: 3.621 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001592/0.6636, allocations: 0.7489 MB / 0.6119 GB, free: 2.871 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000247/0.6639, allocations: 259.3 kB / 0.6122 GB, free: 2.617 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003638/0.6642, allocations: 410.2 kB / 0.6126 GB, free: 2.215 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001601/0.6659, allocations: 1.414 MB / 0.6139 GB, free: 0.7969 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.6659, allocations: 7.984 kB / 0.614 GB, free: 0.7891 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.013e-06/0.6659, allocations: 0 / 0.614 GB, free: 0.7891 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.107e-05/0.6659, allocations: 0 / 0.614 GB, free: 0.7891 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002093/0.668, allocations: 1.133 MB / 0.6151 GB, free: 15.61 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.441e-05/0.668, allocations: 11.89 kB / 0.6151 GB, free: 15.59 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007785/0.6688, allocations: 139.1 kB / 0.6152 GB, free: 15.46 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007857/0.6696, allocations: 0.5079 MB / 0.6157 GB, free: 14.91 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001162/0.6698, allocations: 96.41 kB / 0.6158 GB, free: 14.8 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.586e-05/0.6699, allocations: 51.98 kB / 0.6158 GB, free: 14.75 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001204/0.6711, allocations: 0.8174 MB / 0.6166 GB, free: 13.86 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.265e-05/0.6711, allocations: 7.938 kB / 0.6166 GB, free: 13.85 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.814e-05/0.6712, allocations: 31.92 kB / 0.6167 GB, free: 13.82 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.456e-05/0.6712, allocations: 36.98 kB / 0.6167 GB, free: 13.79 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009747/0.6722, allocations: 0.6282 MB / 0.6173 GB, free: 13.16 MB / 494.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.004636/0.6769, allocations: 3.975 MB / 0.6212 GB, free: 8.934 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00055/0.6774, allocations: 355.6 kB / 0.6216 GB, free: 8.578 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000257/0.6777, allocations: 169.3 kB / 0.6217 GB, free: 8.41 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004318/0.6782, allocations: 369.4 kB / 0.6221 GB, free: 7.996 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.378e-05/0.6782, allocations: 38.84 kB / 0.6221 GB, free: 7.949 MB / 494.1 MB Notification: Performance of pre-optimization done (n=34): time 2.124e-06/0.6782, allocations: 0 / 0.6221 GB, free: 7.949 MB / 494.1 MB Notification: Performance of matching and sorting (n=39): time 0.005548/0.6838, allocations: 1.669 MB / 0.6237 GB, free: 6.211 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001039/0.6839, allocations: 132.5 kB / 0.6239 GB, free: 6.051 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008414/0.6847, allocations: 0.6133 MB / 0.6245 GB, free: 5.43 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.736e-05/0.6848, allocations: 37.7 kB / 0.6245 GB, free: 5.387 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003088/0.6851, allocations: 366.8 kB / 0.6248 GB, free: 5.023 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001321/0.6853, allocations: 142.1 kB / 0.625 GB, free: 4.883 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002376/0.6855, allocations: 154.5 kB / 0.6251 GB, free: 4.727 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000214/0.6857, allocations: 374.8 kB / 0.6255 GB, free: 4.352 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003443/0.6861, allocations: 205.9 kB / 0.6257 GB, free: 4.148 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006469/0.6867, allocations: 0.5163 MB / 0.6262 GB, free: 3.488 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001054/0.6878, allocations: 0.7408 MB / 0.6269 GB, free: 2.609 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.171e-06/0.6878, allocations: 4 kB / 0.6269 GB, free: 2.605 MB / 494.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001752/0.6896, allocations: 0.8834 MB / 0.6278 GB, free: 1.711 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.463e-05/0.6896, allocations: 11.94 kB / 0.6278 GB, free: 1.699 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.612e-05/0.6897, allocations: 9.562 kB / 0.6278 GB, free: 1.691 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001539/0.6912, allocations: 321 kB / 0.6281 GB, free: 1.375 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003981/0.6916, allocations: 119.8 kB / 0.6282 GB, free: 1.258 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001374/0.693, allocations: 0.9331 MB / 0.6291 GB, free: 308 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007189/0.6937, allocations: 47.98 kB / 0.6292 GB, free: 260 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.421e-05/0.6938, allocations: 63.98 kB / 0.6292 GB, free: 196 kB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,17)} Notification: Performance of prepare postOptimizeDAE: time 0.2966/0.9905, allocations: 242.2 kB / 0.6295 GB, free: 161.4 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003153/0.9908, allocations: 68.47 kB / 0.6295 GB, free: 161.4 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001866/0.9927, allocations: 0.6835 MB / 0.6302 GB, free: 161.3 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.267e-06/0.9927, allocations: 2.969 kB / 0.6302 GB, free: 161.3 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.108e-05/0.9927, allocations: 4.734 kB / 0.6302 GB, free: 161.3 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.216e-05/0.9928, allocations: 3.422 kB / 0.6302 GB, free: 161.3 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002976/0.9957, allocations: 1.608 MB / 0.6318 GB, free: 160.6 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.336e-06/0.9958, allocations: 2.594 kB / 0.6318 GB, free: 160.6 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00108/0.9969, allocations: 205.9 kB / 0.632 GB, free: 160.6 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000121/0.997, allocations: 24.03 kB / 0.632 GB, free: 160.6 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.423e-05/0.9971, allocations: 22.34 kB / 0.632 GB, free: 160.6 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001618/0.9987, allocations: 2.882 MB / 0.6348 GB, free: 157.8 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.9987, allocations: 3.938 kB / 0.6348 GB, free: 157.8 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001163/0.9999, allocations: 0.8033 MB / 0.6356 GB, free: 157.7 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003588/1, allocations: 196 kB / 0.6358 GB, free: 157.5 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000103/1, allocations: 14.69 kB / 0.6358 GB, free: 157.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004452/1.001, allocations: 24.42 kB / 0.6358 GB, free: 157.5 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001295/1.001, allocations: 36.45 kB / 0.6359 GB, free: 157.5 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.666e-05/1.001, allocations: 41.25 kB / 0.6359 GB, free: 157.5 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0006375/1.002, allocations: 446.8 kB / 0.6363 GB, free: 157.4 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.595e-06/1.002, allocations: 0 / 0.6363 GB, free: 157.4 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001202/1.003, allocations: 297.2 kB / 0.6366 GB, free: 157.4 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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.0009908/1.004, allocations: 359.8 kB / 0.637 GB, free: 157.3 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001269/1.005, allocations: 0.6023 MB / 0.6376 GB, free: 157.1 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.092e-06/1.005, allocations: 2.156 kB / 0.6376 GB, free: 157.1 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009475/1.006, allocations: 413.9 kB / 0.638 GB, free: 157 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001665/1.008, allocations: 372.1 kB / 0.6383 GB, free: 156.9 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0021/1.01, allocations: 1.533 MB / 0.6398 GB, free: 156.1 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003534/1.01, allocations: 0.9333 MB / 0.6407 GB, free: 155.3 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0009526/1.011, allocations: 262.5 kB / 0.641 GB, free: 155.3 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003003/1.012, allocations: 104.7 kB / 0.6411 GB, free: 155.3 MB / 494.1 MB Notification: Performance of SimCode: time 4.11e-07/1.012, allocations: 0 / 0.6411 GB, free: 155.3 MB / 494.1 MB Notification: Performance of Templates: time 0.03351/1.045, allocations: 18.27 MB / 0.6589 GB, free: 153.9 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.sim & ./ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe 2>&1)