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.009112/0.009112, allocations: 104.8 kB / 15.74 MB, free: 6.496 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.001231/0.001231, allocations: 197.2 kB / 16.68 MB, free: 6.371 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.533/1.533, allocations: 205.1 MB / 222.5 MB, free: 4.543 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.3188/0.3188, allocations: 37.99 MB / 307.9 MB, free: 10.14 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.001517/0.001517, allocations: 75.89 kB / 433 MB, free: 5.391 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3317/0.3332, allocations: 56.46 MB / 489.5 MB, free: 20 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.01945/0.3527, allocations: 20.26 MB / 0.4978 GB, free: 5.477 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006104/0.3589, allocations: 4.301 MB / 0.502 GB, free: 2.438 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000918/0.3598, allocations: 19.44 kB / 0.502 GB, free: 2.43 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001063/0.3609, allocations: 314.4 kB / 0.5023 GB, free: 2.246 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002348/0.3633, allocations: 0.8486 MB / 0.5031 GB, free: 1.754 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003012/0.3663, allocations: 0.8978 MB / 0.504 GB, free: 1.09 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002636/0.3689, allocations: 1.795 MB / 0.5058 GB, free: 68 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006991/0.3697, allocations: 456.9 kB / 0.5062 GB, free: 15.77 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002467/0.3721, allocations: 0.9261 MB / 0.5071 GB, free: 15.22 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001307/0.3735, allocations: 0.6294 MB / 0.5077 GB, free: 14.86 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002171/0.3737, allocations: 60.28 kB / 0.5078 GB, free: 14.86 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001165/0.3749, allocations: 303.3 kB / 0.5081 GB, free: 14.74 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003679/0.3752, allocations: 263.3 kB / 0.5083 GB, free: 14.56 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007125/0.376, allocations: 396 kB / 0.5087 GB, free: 14.32 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001777/0.3778, allocations: 1.086 MB / 0.5098 GB, free: 13.6 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.3778, allocations: 1.062 kB / 0.5098 GB, free: 13.6 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3778, allocations: 0 / 0.5098 GB, free: 13.6 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.024e-05/0.3778, allocations: 0 / 0.5098 GB, free: 13.6 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.00238/0.3802, allocations: 1.047 MB / 0.5108 GB, free: 12.79 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.2e-05/0.3802, allocations: 8.812 kB / 0.5108 GB, free: 12.79 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004704/0.3807, allocations: 93.05 kB / 0.5109 GB, free: 12.74 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009932/0.3817, allocations: 0.5289 MB / 0.5114 GB, free: 12.3 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001131/0.3818, allocations: 104.8 kB / 0.5115 GB, free: 12.21 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001071/0.382, allocations: 53.42 kB / 0.5116 GB, free: 12.19 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001277/0.3832, allocations: 0.8192 MB / 0.5124 GB, free: 11.6 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.062e-05/0.3833, allocations: 1.375 kB / 0.5124 GB, free: 11.6 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.872e-05/0.3834, allocations: 24.25 kB / 0.5124 GB, free: 11.58 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-05/0.3834, allocations: 40.42 kB / 0.5124 GB, free: 11.57 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001089/0.3845, allocations: 0.6395 MB / 0.513 GB, free: 11.25 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.005202/0.3897, allocations: 4.223 MB / 0.5172 GB, free: 7.41 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009499/0.3907, allocations: 418 kB / 0.5176 GB, free: 7.191 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003658/0.3911, allocations: 217.1 kB / 0.5178 GB, free: 7.074 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004928/0.3916, allocations: 0.4966 MB / 0.5183 GB, free: 6.492 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.24e-05/0.3916, allocations: 38.98 kB / 0.5183 GB, free: 6.449 MB / 398.1 MB Notification: Performance of pre-optimization done (n=40): time 2.174e-06/0.3917, allocations: 0 / 0.5183 GB, free: 6.449 MB / 398.1 MB Notification: Performance of matching and sorting (n=45): time 0.003681/0.3953, allocations: 1.531 MB / 0.5198 GB, free: 5.484 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.411e-05/0.3954, allocations: 134.4 kB / 0.5199 GB, free: 5.328 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007136/0.3962, allocations: 0.5761 MB / 0.5205 GB, free: 4.98 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.048e-05/0.3962, allocations: 33.55 kB / 0.5205 GB, free: 4.945 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003318/0.3966, allocations: 350.9 kB / 0.5208 GB, free: 4.633 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001899/0.3968, allocations: 167.1 kB / 0.521 GB, free: 4.488 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003017/0.3971, allocations: 141.3 kB / 0.5211 GB, free: 4.402 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002445/0.3973, allocations: 378.5 kB / 0.5215 GB, free: 4.039 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005247/0.3979, allocations: 222.1 kB / 0.5217 GB, free: 3.93 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008783/0.3988, allocations: 0.5289 MB / 0.5222 GB, free: 3.402 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001338/0.4001, allocations: 0.7734 MB / 0.523 GB, free: 2.758 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.855e-06/0.4001, allocations: 2.844 kB / 0.523 GB, free: 2.758 MB / 398.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002639/0.4028, allocations: 0.9362 MB / 0.5239 GB, free: 2.262 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.203e-05/0.4028, allocations: 9.469 kB / 0.5239 GB, free: 2.262 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.001e-05/0.4029, allocations: 8.844 kB / 0.5239 GB, free: 2.262 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001228/0.4041, allocations: 268.2 kB / 0.5242 GB, free: 2.141 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004773/0.4046, allocations: 131.2 kB / 0.5243 GB, free: 2.105 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001082/0.4057, allocations: 0.8673 MB / 0.5251 GB, free: 1.395 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007354/0.4064, allocations: 25.47 kB / 0.5252 GB, free: 1.383 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.723e-05/0.4065, allocations: 31.97 kB / 0.5252 GB, free: 1.379 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.0004835/0.407, allocations: 251.9 kB / 0.5254 GB, free: 1.176 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001592/0.4072, allocations: 68.22 kB / 0.5255 GB, free: 1.141 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001555/0.4087, allocations: 0.7077 MB / 0.5262 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-05/0.4088, allocations: 9 kB / 0.5262 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.637e-06/0.4088, allocations: 1.188 kB / 0.5262 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.4088, allocations: 0 / 0.5262 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002524/0.4113, allocations: 1.404 MB / 0.5276 GB, free: 15.58 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.839e-06/0.4114, allocations: 7.922 kB / 0.5276 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00101/0.4124, allocations: 191.7 kB / 0.5278 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002518/0.4126, allocations: 57.02 kB / 0.5278 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.018e-05/0.4127, allocations: 15.98 kB / 0.5278 GB, free: 15.31 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002369/0.4151, allocations: 2.978 MB / 0.5308 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.65e-06/0.4151, allocations: 4.031 kB / 0.5308 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001824/0.4169, allocations: 1.005 MB / 0.5317 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004409/0.4174, allocations: 196.2 kB / 0.5319 GB, free: 10.79 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.91e-05/0.4175, allocations: 20.05 kB / 0.5319 GB, free: 10.77 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004/0.4179, allocations: 16 kB / 0.532 GB, free: 10.75 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.989e-05/0.418, allocations: 35.89 kB / 0.532 GB, free: 10.72 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.556e-05/0.4181, allocations: 19.98 kB / 0.532 GB, free: 10.7 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005931/0.4187, allocations: 431 kB / 0.5324 GB, free: 10.28 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4187, allocations: 3.938 kB / 0.5324 GB, free: 10.27 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0009701/0.4196, 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.0005876/0.4202, allocations: 240.2 kB / 0.5328 GB, free: 9.84 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001331/0.4216, allocations: 0.604 MB / 0.5334 GB, free: 9.242 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.051e-06/0.4216, allocations: 0 / 0.5334 GB, free: 9.242 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001209/0.4228, allocations: 495.4 kB / 0.5339 GB, free: 8.746 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001756/0.4246, allocations: 370.8 kB / 0.5343 GB, free: 8.387 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002555/0.4272, allocations: 1.407 MB / 0.5356 GB, free: 6.938 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006037/0.4278, allocations: 0.9307 MB / 0.5365 GB, free: 5.977 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0006781/0.4285, allocations: 206 kB / 0.5367 GB, free: 5.773 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001581/0.4286, allocations: 63.42 kB / 0.5368 GB, free: 5.711 MB / 414.1 MB Notification: Performance of SimCode: time 1.102e-06/0.4286, allocations: 0 / 0.5368 GB, free: 5.711 MB / 414.1 MB Notification: Performance of Templates: time 0.02643/0.4551, allocations: 15.28 MB / 0.5517 GB, free: 6.438 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)