Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_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.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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.1_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.1_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.001164/0.001164, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001214/0.001214, allocations: 194.7 kB / 16.14 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.572/1.572, allocations: 205.1 MB / 222 MB, free: 4.961 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3357/0.3357, allocations: 37.97 MB / 307.3 MB, free: 9.859 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.1. 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.001388/0.001389, allocations: 66.41 kB / 374.6 MB, free: 15.63 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1208/0.1222, allocations: 56.47 MB / 431 MB, free: 7.062 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.5115/0.6338, allocations: 179 MB / 0.5957 GB, free: 5.027 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.008519/0.6424, allocations: 5.934 MB / 0.6015 GB, free: 15.09 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009947/0.6434, allocations: 27.81 kB / 0.6016 GB, free: 15.06 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009902/0.6444, allocations: 274.5 kB / 0.6018 GB, free: 14.79 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004349/0.6488, allocations: 1.412 MB / 0.6032 GB, free: 13.38 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003489/0.6523, allocations: 1.098 MB / 0.6043 GB, free: 12.3 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.003208/0.6555, allocations: 2.726 MB / 0.6069 GB, free: 9.566 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007923/0.6563, allocations: 390.6 kB / 0.6073 GB, free: 9.184 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002735/0.6591, allocations: 1.095 MB / 0.6084 GB, free: 8.086 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001221/0.6603, allocations: 0.7782 MB / 0.6091 GB, free: 7.305 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001074/0.6604, allocations: 36 kB / 0.6092 GB, free: 7.27 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001801/0.6622, allocations: 0.6981 MB / 0.6099 GB, free: 6.57 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000277/0.6625, allocations: 239.3 kB / 0.6101 GB, free: 6.336 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004816/0.663, allocations: 374.2 kB / 0.6104 GB, free: 5.969 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001938/0.665, allocations: 1.391 MB / 0.6118 GB, free: 4.574 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.665, allocations: 4 kB / 0.6118 GB, free: 4.57 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.665, allocations: 0 / 0.6118 GB, free: 4.57 MB / 478.1 MB Notification: Performance of Transformations before backend: time 9.938e-06/0.665, allocations: 0 / 0.6118 GB, free: 4.57 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.002444/0.6675, allocations: 1.126 MB / 0.6129 GB, free: 3.391 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.087e-05/0.6675, allocations: 15.97 kB / 0.6129 GB, free: 3.375 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008873/0.6684, allocations: 143.1 kB / 0.6131 GB, free: 3.234 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008867/0.6693, allocations: 0.5041 MB / 0.6135 GB, free: 2.691 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001415/0.6695, allocations: 108.4 kB / 0.6136 GB, free: 2.57 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.548e-05/0.6696, allocations: 44 kB / 0.6137 GB, free: 2.527 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001297/0.6709, allocations: 0.8174 MB / 0.6145 GB, free: 1.637 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.97e-05/0.6709, allocations: 0 / 0.6145 GB, free: 1.637 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.636e-05/0.671, allocations: 27.98 kB / 0.6145 GB, free: 1.609 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.686e-05/0.6711, allocations: 36.98 kB / 0.6145 GB, free: 1.574 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001044/0.6721, allocations: 0.6243 MB / 0.6152 GB, free: 0.9453 MB / 478.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.004966/0.6771, allocations: 3.988 MB / 0.6191 GB, free: 12.71 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006688/0.6778, allocations: 359.6 kB / 0.6194 GB, free: 12.36 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002815/0.6781, allocations: 173.3 kB / 0.6196 GB, free: 12.18 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005291/0.6786, allocations: 361.4 kB / 0.6199 GB, free: 11.78 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.668e-05/0.6787, allocations: 34.84 kB / 0.6199 GB, free: 11.73 MB / 494.1 MB Notification: Performance of pre-optimization done (n=34): time 4.057e-06/0.6787, allocations: 8 kB / 0.6199 GB, free: 11.73 MB / 494.1 MB Notification: Performance of matching and sorting (n=39): time 0.006218/0.6849, allocations: 1.664 MB / 0.6216 GB, free: 9.992 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.442e-05/0.685, allocations: 132.5 kB / 0.6217 GB, free: 9.832 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007791/0.6858, allocations: 0.6094 MB / 0.6223 GB, free: 9.215 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.198e-05/0.6859, allocations: 37.7 kB / 0.6223 GB, free: 9.172 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002647/0.6861, allocations: 366.9 kB / 0.6227 GB, free: 8.809 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000123/0.6863, allocations: 149.9 kB / 0.6228 GB, free: 8.66 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002142/0.6865, allocations: 158.5 kB / 0.623 GB, free: 8.5 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000177/0.6867, allocations: 374.8 kB / 0.6233 GB, free: 8.125 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003682/0.687, allocations: 197.9 kB / 0.6235 GB, free: 7.93 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006937/0.6878, allocations: 0.5203 MB / 0.624 GB, free: 7.262 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001025/0.6888, allocations: 0.7476 MB / 0.6248 GB, free: 6.379 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.481e-06/0.6888, allocations: 4 kB / 0.6248 GB, free: 6.375 MB / 494.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001509/0.6903, allocations: 0.8801 MB / 0.6256 GB, free: 5.484 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.811e-05/0.6904, allocations: 8 kB / 0.6256 GB, free: 5.477 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.721e-05/0.6904, allocations: 12 kB / 0.6256 GB, free: 5.465 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001473/0.6919, allocations: 324.5 kB / 0.6259 GB, free: 5.145 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003919/0.6923, allocations: 123.8 kB / 0.6261 GB, free: 5.023 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001073/0.6934, allocations: 0.9272 MB / 0.627 GB, free: 4.074 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006737/0.694, allocations: 48.03 kB / 0.627 GB, free: 4.027 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.597e-05/0.6941, allocations: 64 kB / 0.6271 GB, free: 3.965 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.0004135/0.6946, allocations: 249.9 kB / 0.6273 GB, free: 3.711 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001365/0.6947, allocations: 71.16 kB / 0.6274 GB, free: 3.641 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001488/0.6962, allocations: 0.671 MB / 0.628 GB, free: 2.957 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.865e-06/0.6962, allocations: 11.92 kB / 0.6281 GB, free: 2.945 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/0.6962, allocations: 0 / 0.6281 GB, free: 2.945 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.634e-06/0.6963, allocations: 5.172 kB / 0.6281 GB, free: 2.941 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002287/0.6985, allocations: 1.61 MB / 0.6296 GB, free: 1.184 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.463e-06/0.6986, allocations: 7.984 kB / 0.6296 GB, free: 1.176 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001047/0.6996, allocations: 207.9 kB / 0.6298 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.41e-05/0.6997, allocations: 24.84 kB / 0.6299 GB, free: 0.9453 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.771e-05/0.6998, allocations: 15.98 kB / 0.6299 GB, free: 0.9297 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2541/0.9539, allocations: 2.675 MB / 0.6325 GB, free: 160.4 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.716e-06/0.9539, allocations: 2.969 kB / 0.6325 GB, free: 160.4 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001238/0.9552, allocations: 0.8073 MB / 0.6333 GB, free: 160.3 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002864/0.9555, allocations: 190.9 kB / 0.6335 GB, free: 160.2 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.25e-05/0.9556, allocations: 8.031 kB / 0.6335 GB, free: 160.2 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004305/0.956, allocations: 32.12 kB / 0.6335 GB, free: 160.2 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.618e-05/0.9561, allocations: 42.48 kB / 0.6335 GB, free: 160.2 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.809e-05/0.9562, allocations: 43 kB / 0.6336 GB, free: 160.2 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004556/0.9566, allocations: 442.4 kB / 0.634 GB, free: 160.1 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.9566, allocations: 0 / 0.634 GB, free: 160.1 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0009376/0.9576, allocations: 298.6 kB / 0.6343 GB, free: 160.1 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.0008474/0.9584, allocations: 365.3 kB / 0.6346 GB, free: 160 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001034/0.9595, allocations: 0.5445 MB / 0.6352 GB, free: 160 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.9595, allocations: 0 / 0.6352 GB, free: 160 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000925/0.9604, allocations: 414.8 kB / 0.6356 GB, free: 159.9 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001542/0.962, allocations: 350.5 kB / 0.6359 GB, free: 159.9 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002077/0.9641, allocations: 1.531 MB / 0.6374 GB, free: 159.2 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003733/0.9644, allocations: 0.9264 MB / 0.6383 GB, free: 158.5 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0009616/0.9654, allocations: 261.5 kB / 0.6385 GB, free: 158.5 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003327/0.9658, allocations: 106 kB / 0.6386 GB, free: 158.5 MB / 494.1 MB Notification: Performance of SimCode: time 2.8e-07/0.9658, allocations: 0 / 0.6386 GB, free: 158.5 MB / 494.1 MB Notification: Performance of Templates: time 0.03455/1, allocations: 17.76 MB / 0.656 GB, free: 157.1 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.sim & ./ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe 2>&1)