Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.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.LinearFluid.LinearColdWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007338/0.007338, allocations: 101.2 kB / 15.73 MB, free: 6.047 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.001409/0.001409, allocations: 194.1 kB / 16.67 MB, free: 5.977 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.591/1.591, allocations: 205.1 MB / 222.5 MB, free: 4.516 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.3244/0.3244, allocations: 38 MB / 307.9 MB, free: 10.09 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.001452/0.001452, allocations: 71.89 kB / 433 MB, free: 5.383 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3438/0.3453, allocations: 56.46 MB / 489.5 MB, free: 20.02 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.02172/0.3671, allocations: 20.27 MB / 0.4978 GB, free: 5.48 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006798/0.3739, allocations: 4.288 MB / 0.502 GB, free: 2.457 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009802/0.375, allocations: 23.59 kB / 0.502 GB, free: 2.445 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001092/0.3761, allocations: 317.8 kB / 0.5023 GB, free: 2.258 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002507/0.3787, allocations: 0.8526 MB / 0.5031 GB, free: 1.762 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002896/0.3816, allocations: 0.8931 MB / 0.504 GB, free: 1.141 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002666/0.3842, allocations: 1.795 MB / 0.5058 GB, free: 120 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007947/0.385, allocations: 452.7 kB / 0.5062 GB, free: 15.83 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002791/0.3879, allocations: 0.9341 MB / 0.5071 GB, free: 15.27 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001366/0.3892, allocations: 0.641 MB / 0.5077 GB, free: 14.9 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001347/0.3894, allocations: 59.56 kB / 0.5078 GB, free: 14.9 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001127/0.3905, allocations: 304.3 kB / 0.5081 GB, free: 14.78 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003166/0.3908, allocations: 258.4 kB / 0.5083 GB, free: 14.61 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005694/0.3914, allocations: 391.8 kB / 0.5087 GB, free: 14.36 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002035/0.3935, allocations: 1.091 MB / 0.5098 GB, free: 13.64 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.3935, allocations: 0 / 0.5098 GB, free: 13.64 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.3935, allocations: 4 kB / 0.5098 GB, free: 13.64 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.964e-05/0.3935, allocations: 1.219 kB / 0.5098 GB, free: 13.64 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002902/0.3964, allocations: 1.047 MB / 0.5108 GB, free: 12.82 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/0.3965, allocations: 8 kB / 0.5108 GB, free: 12.82 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004198/0.3969, allocations: 88.27 kB / 0.5109 GB, free: 12.79 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001061/0.398, allocations: 0.5381 MB / 0.5114 GB, free: 12.33 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001349/0.3981, allocations: 108.3 kB / 0.5115 GB, free: 12.24 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001035/0.3982, allocations: 44.84 kB / 0.5116 GB, free: 12.23 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001557/0.3998, allocations: 0.816 MB / 0.5124 GB, free: 11.64 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.449e-05/0.3999, allocations: 9.312 kB / 0.5124 GB, free: 11.63 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.556e-05/0.3999, allocations: 28.23 kB / 0.5124 GB, free: 11.61 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.576e-05/0.4, allocations: 40.34 kB / 0.5124 GB, free: 11.6 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001243/0.4013, allocations: 0.6398 MB / 0.5131 GB, free: 11.29 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.006042/0.4073, allocations: 4.216 MB / 0.5172 GB, free: 7.449 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001033/0.4084, allocations: 420.9 kB / 0.5176 GB, free: 7.227 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003884/0.4088, allocations: 209.3 kB / 0.5178 GB, free: 7.117 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006344/0.4094, allocations: 0.5058 MB / 0.5183 GB, free: 6.527 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.099e-05/0.4095, allocations: 37.98 kB / 0.5183 GB, free: 6.484 MB / 398.1 MB Notification: Performance of pre-optimization done (n=40): time 3.556e-06/0.4095, allocations: 0 / 0.5183 GB, free: 6.484 MB / 398.1 MB Notification: Performance of matching and sorting (n=45): time 0.003736/0.4132, allocations: 1.524 MB / 0.5198 GB, free: 5.527 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.081e-05/0.4133, allocations: 132.7 kB / 0.5199 GB, free: 5.371 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000801/0.4141, allocations: 0.5688 MB / 0.5205 GB, free: 5.031 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.592e-05/0.4142, allocations: 35.89 kB / 0.5205 GB, free: 4.992 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003261/0.4145, allocations: 352.8 kB / 0.5209 GB, free: 4.68 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001617/0.4147, allocations: 171.4 kB / 0.521 GB, free: 4.531 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002499/0.415, allocations: 136.6 kB / 0.5211 GB, free: 4.449 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002478/0.4152, allocations: 379.6 kB / 0.5215 GB, free: 4.086 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004384/0.4157, allocations: 224.5 kB / 0.5217 GB, free: 3.973 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006895/0.4164, allocations: 0.5179 MB / 0.5222 GB, free: 3.457 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001171/0.4175, allocations: 0.7776 MB / 0.523 GB, free: 2.809 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.346e-06/0.4176, allocations: 7.969 kB / 0.523 GB, free: 2.805 MB / 398.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00203/0.4196, allocations: 0.94 MB / 0.5239 GB, free: 2.305 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.766e-05/0.4196, allocations: 12.66 kB / 0.5239 GB, free: 2.301 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.697e-05/0.4197, allocations: 9.406 kB / 0.5239 GB, free: 2.301 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001191/0.4209, allocations: 259.6 kB / 0.5242 GB, free: 2.188 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004495/0.4213, allocations: 131.8 kB / 0.5243 GB, free: 2.152 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001243/0.4226, allocations: 0.8638 MB / 0.5251 GB, free: 1.445 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006181/0.4232, allocations: 30.64 kB / 0.5252 GB, free: 1.43 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.036e-05/0.4233, allocations: 32.16 kB / 0.5252 GB, free: 1.426 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (73): * Single equations (assignments): 72 * 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,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0004886/0.4238, allocations: 251.2 kB / 0.5254 GB, free: 1.223 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001349/0.4239, allocations: 67.91 kB / 0.5255 GB, free: 1.188 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001593/0.4255, allocations: 0.7047 MB / 0.5262 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.987e-05/0.4256, allocations: 8.703 kB / 0.5262 GB, free: 0.75 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.028e-05/0.4256, allocations: 1.172 kB / 0.5262 GB, free: 0.75 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.608e-06/0.4256, allocations: 3.984 kB / 0.5262 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002774/0.4284, allocations: 1.411 MB / 0.5276 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.958e-06/0.4284, allocations: 4.156 kB / 0.5276 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009894/0.4294, allocations: 195.8 kB / 0.5278 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000245/0.4297, allocations: 56.8 kB / 0.5278 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.827e-05/0.4297, allocations: 15.98 kB / 0.5279 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002672/0.4324, allocations: 2.982 MB / 0.5308 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.4324, allocations: 0 / 0.5308 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001701/0.4341, allocations: 1.004 MB / 0.5317 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004022/0.4345, allocations: 196.2 kB / 0.5319 GB, free: 10.79 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.663e-05/0.4346, allocations: 12 kB / 0.5319 GB, free: 10.77 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003604/0.435, allocations: 19.98 kB / 0.532 GB, free: 10.75 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001011/0.4351, allocations: 43.89 kB / 0.532 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.875e-05/0.4352, allocations: 23.98 kB / 0.532 GB, free: 10.69 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005855/0.4358, allocations: 423 kB / 0.5324 GB, free: 10.27 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4358, allocations: 0 / 0.5324 GB, free: 10.27 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0009001/0.4367, allocations: 196 kB / 0.5326 GB, free: 10.08 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005755/0.4373, allocations: 239.5 kB / 0.5328 GB, free: 9.84 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00124/0.4385, allocations: 0.6049 MB / 0.5334 GB, free: 9.242 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.4385, allocations: 0 / 0.5334 GB, free: 9.242 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001179/0.4397, allocations: 482.1 kB / 0.5339 GB, free: 8.758 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001813/0.4415, allocations: 389.8 kB / 0.5343 GB, free: 8.383 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002452/0.444, allocations: 1.4 MB / 0.5356 GB, free: 6.938 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005625/0.4446, allocations: 0.9385 MB / 0.5366 GB, free: 5.969 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0006707/0.4453, allocations: 202 kB / 0.5367 GB, free: 5.77 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001609/0.4454, allocations: 67.42 kB / 0.5368 GB, free: 5.703 MB / 414.1 MB Notification: Performance of SimCode: time 6.61e-07/0.4454, allocations: 0 / 0.5368 GB, free: 5.703 MB / 414.1 MB Notification: Performance of Templates: time 0.02559/0.471, allocations: 15.5 MB / 0.5519 GB, free: 6.211 MB / 430.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.sim & ./ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1)