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.0009152/0.0009151, allocations: 97.95 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.007406/0.007406, allocations: 169.1 kB / 16.26 MB, free: 6.652 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.669/1.669, allocations: 205.4 MB / 222.4 MB, free: 5.559 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.3726/0.3726, allocations: 40 MB / 310.7 MB, free: 9.637 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.0007012/0.000701, allocations: 12 kB / 379.5 MB, free: 11.96 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.141/0.1417, allocations: 57.96 MB / 437.4 MB, free: 1.902 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.504/0.6458, allocations: 176.6 MB / 0.5997 GB, free: 2.629 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.00959/0.6555, allocations: 5.845 MB / 0.6054 GB, free: 12.78 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001293/0.6568, allocations: 23.81 kB / 0.6054 GB, free: 12.75 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001321/0.6582, allocations: 282.4 kB / 0.6057 GB, free: 12.48 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005314/0.6635, allocations: 1.408 MB / 0.607 GB, free: 11.08 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003906/0.6674, allocations: 1.097 MB / 0.6081 GB, free: 9.996 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.004133/0.6716, allocations: 2.718 MB / 0.6108 GB, free: 7.273 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001008/0.6726, allocations: 400.7 kB / 0.6111 GB, free: 6.879 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00376/0.6764, allocations: 1.097 MB / 0.6122 GB, free: 5.781 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002115/0.6785, allocations: 0.7705 MB / 0.613 GB, free: 5.008 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002617/0.6788, allocations: 36 kB / 0.613 GB, free: 4.973 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002755/0.6815, allocations: 0.6981 MB / 0.6137 GB, free: 4.273 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005259/0.6821, allocations: 239.2 kB / 0.6139 GB, free: 4.039 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009281/0.683, allocations: 395.9 kB / 0.6143 GB, free: 3.645 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00304/0.6861, allocations: 1.375 MB / 0.6156 GB, free: 2.266 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.6861, allocations: 0 / 0.6156 GB, free: 2.266 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.053e-06/0.6861, allocations: 0 / 0.6156 GB, free: 2.266 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.18e-05/0.6862, allocations: 4 kB / 0.6156 GB, free: 2.262 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.002808/0.689, allocations: 0.9736 MB / 0.6166 GB, free: 1.238 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.586e-05/0.689, allocations: 15.97 kB / 0.6166 GB, free: 1.223 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001101/0.6901, allocations: 143.1 kB / 0.6167 GB, free: 1.082 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001105/0.6913, allocations: 0.5078 MB / 0.6172 GB, free: 0.5352 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000131/0.6914, allocations: 104.4 kB / 0.6173 GB, free: 428 kB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001521/0.6916, allocations: 48 kB / 0.6174 GB, free: 380 kB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00145/0.693, allocations: 0.8136 MB / 0.6182 GB, free: 15.48 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.924e-05/0.6931, allocations: 7.938 kB / 0.6182 GB, free: 15.48 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.555e-05/0.6932, allocations: 27.98 kB / 0.6182 GB, free: 15.45 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.25e-05/0.6932, allocations: 36.98 kB / 0.6182 GB, free: 15.41 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001124/0.6944, allocations: 0.6126 MB / 0.6188 GB, free: 14.8 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.004863/0.6992, allocations: 3.996 MB / 0.6227 GB, free: 10.56 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005578/0.6998, allocations: 351.6 kB / 0.6231 GB, free: 10.21 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002786/0.7001, allocations: 165.3 kB / 0.6232 GB, free: 10.04 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004626/0.7006, allocations: 365.5 kB / 0.6236 GB, free: 9.633 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.708e-05/0.7006, allocations: 38.84 kB / 0.6236 GB, free: 9.586 MB / 494.1 MB Notification: Performance of pre-optimization done (n=34): time 2.505e-06/0.7006, allocations: 0 / 0.6236 GB, free: 9.586 MB / 494.1 MB Notification: Performance of matching and sorting (n=39): time 0.006142/0.7068, allocations: 1.669 MB / 0.6253 GB, free: 7.848 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.579e-05/0.7069, allocations: 136.5 kB / 0.6254 GB, free: 7.684 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008321/0.7077, allocations: 0.6094 MB / 0.626 GB, free: 7.066 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 6.228e-05/0.7078, allocations: 33.7 kB / 0.626 GB, free: 7.027 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003104/0.7081, allocations: 374.8 kB / 0.6264 GB, free: 6.656 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001396/0.7083, allocations: 146 kB / 0.6265 GB, free: 6.512 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.515e-05/0.7084, allocations: 57.69 kB / 0.6266 GB, free: 6.449 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001823/0.7086, allocations: 374.8 kB / 0.6269 GB, free: 6.074 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003691/0.7089, allocations: 209.9 kB / 0.6271 GB, free: 5.867 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005681/0.7095, allocations: 0.5124 MB / 0.6276 GB, free: 5.211 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001027/0.7106, allocations: 0.7408 MB / 0.6283 GB, free: 4.332 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-05/0.7106, allocations: 8 kB / 0.6284 GB, free: 4.324 MB / 494.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001725/0.7123, allocations: 0.88 MB / 0.6292 GB, free: 3.434 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.763e-05/0.7124, allocations: 12.03 kB / 0.6292 GB, free: 3.422 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.642e-05/0.7124, allocations: 8 kB / 0.6292 GB, free: 3.414 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001578/0.714, allocations: 325.1 kB / 0.6295 GB, free: 3.094 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004357/0.7144, allocations: 119.8 kB / 0.6297 GB, free: 2.977 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001367/0.7158, allocations: 0.9359 MB / 0.6306 GB, free: 2.016 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007333/0.7165, allocations: 43.98 kB / 0.6306 GB, free: 1.973 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000105/0.7167, allocations: 63.98 kB / 0.6307 GB, free: 1.91 MB / 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.0004831/0.7172, allocations: 250.1 kB / 0.6309 GB, free: 1.656 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001813/0.7173, allocations: 67.16 kB / 0.631 GB, free: 1.59 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001676/0.719, allocations: 0.6795 MB / 0.6316 GB, free: 0.8945 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.207e-06/0.719, allocations: 8 kB / 0.6316 GB, free: 0.8867 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-05/0.7191, allocations: 8 kB / 0.6317 GB, free: 0.8789 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.7191, allocations: 0 / 0.6317 GB, free: 0.8789 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2885/1.008, allocations: 1.601 MB / 0.6332 GB, free: 157.7 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.633e-06/1.008, allocations: 5.953 kB / 0.6332 GB, free: 157.7 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009986/1.009, allocations: 202.7 kB / 0.6334 GB, free: 157.7 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001193/1.009, allocations: 27.55 kB / 0.6334 GB, free: 157.7 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.595e-05/1.009, allocations: 16.53 kB / 0.6335 GB, free: 157.7 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001612/1.01, allocations: 2.687 MB / 0.6361 GB, free: 155.1 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/1.01, allocations: 3.625 kB / 0.6361 GB, free: 155.1 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001257/1.012, allocations: 0.8102 MB / 0.6369 GB, free: 155 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003176/1.012, allocations: 197.6 kB / 0.6371 GB, free: 154.9 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.954e-05/1.012, allocations: 14.97 kB / 0.6371 GB, free: 154.9 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004007/1.013, allocations: 21.11 kB / 0.6371 GB, free: 154.9 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000108/1.013, allocations: 44.36 kB / 0.6371 GB, free: 154.9 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.414e-05/1.013, allocations: 44.48 kB / 0.6372 GB, free: 154.9 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0005189/1.013, allocations: 437.2 kB / 0.6376 GB, free: 154.8 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/1.013, allocations: 0 / 0.6376 GB, free: 154.8 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001086/1.014, allocations: 298.2 kB / 0.6379 GB, free: 154.8 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.0009631/1.015, allocations: 371.5 kB / 0.6382 GB, free: 154.7 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001012/1.016, allocations: 0.5436 MB / 0.6388 GB, free: 154.7 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.636e-06/1.016, allocations: 0 / 0.6388 GB, free: 154.7 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008371/1.017, allocations: 418.2 kB / 0.6392 GB, free: 154.6 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001742/1.019, allocations: 354.9 kB / 0.6395 GB, free: 154.5 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002298/1.021, allocations: 1.608 MB / 0.6411 GB, free: 153.8 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004768/1.022, allocations: 0.929 MB / 0.642 GB, free: 153.1 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0009408/1.023, allocations: 276.1 kB / 0.6422 GB, free: 153.1 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003125/1.023, allocations: 99.91 kB / 0.6423 GB, free: 153.1 MB / 494.1 MB Notification: Performance of SimCode: time 6.41e-07/1.023, allocations: 0 / 0.6423 GB, free: 153.1 MB / 494.1 MB Notification: Performance of Templates: time 0.03185/1.055, allocations: 17.65 MB / 0.6596 GB, free: 151.7 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: