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.0122/0.0122, allocations: 101.3 kB / 15.73 MB, free: 6.012 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.002457/0.002457, allocations: 193.8 kB / 16.67 MB, free: 5.934 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.557/1.557, allocations: 205.1 MB / 222.5 MB, free: 4.473 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.318/0.318, allocations: 37.99 MB / 307.9 MB, free: 10.11 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.001491/0.001491, allocations: 67.91 kB / 433 MB, free: 5.391 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3316/0.3331, allocations: 56.47 MB / 489.5 MB, free: 19.99 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.01837/0.3515, allocations: 20.27 MB / 0.4978 GB, free: 5.457 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006389/0.358, allocations: 4.298 MB / 0.502 GB, free: 2.422 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007724/0.3588, allocations: 19.31 kB / 0.502 GB, free: 2.414 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001043/0.3599, allocations: 315 kB / 0.5023 GB, free: 2.23 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002143/0.362, allocations: 0.8625 MB / 0.5032 GB, free: 1.73 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00307/0.3651, allocations: 0.9016 MB / 0.504 GB, free: 1.082 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003651/0.3688, allocations: 1.803 MB / 0.5058 GB, free: 56 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009558/0.3698, allocations: 452 kB / 0.5062 GB, free: 15.77 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002474/0.3722, allocations: 0.9349 MB / 0.5071 GB, free: 15.21 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001388/0.3736, allocations: 0.638 MB / 0.5078 GB, free: 14.84 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001592/0.3738, allocations: 59.34 kB / 0.5078 GB, free: 14.84 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001103/0.3749, allocations: 304.1 kB / 0.5081 GB, free: 14.72 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003157/0.3753, allocations: 259.3 kB / 0.5084 GB, free: 14.55 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005035/0.3758, allocations: 395.9 kB / 0.5087 GB, free: 14.3 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00167/0.3774, allocations: 1.085 MB / 0.5098 GB, free: 13.59 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.3775, allocations: 1.094 kB / 0.5098 GB, free: 13.59 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3775, allocations: 0 / 0.5098 GB, free: 13.59 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.234e-05/0.3775, allocations: 0 / 0.5098 GB, free: 13.59 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.002375/0.3799, allocations: 1.05 MB / 0.5108 GB, free: 12.77 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.982e-05/0.3799, allocations: 9.938 kB / 0.5108 GB, free: 12.77 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004082/0.3804, allocations: 91.7 kB / 0.5109 GB, free: 12.72 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008695/0.3812, allocations: 0.5258 MB / 0.5114 GB, free: 12.28 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001168/0.3814, allocations: 108.8 kB / 0.5115 GB, free: 12.19 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001052/0.3815, allocations: 49.27 kB / 0.5116 GB, free: 12.18 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001331/0.3828, allocations: 0.8201 MB / 0.5124 GB, free: 11.58 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.227e-05/0.3828, allocations: 5.375 kB / 0.5124 GB, free: 11.58 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.301e-05/0.3829, allocations: 22.16 kB / 0.5124 GB, free: 11.56 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.192e-05/0.383, allocations: 42.27 kB / 0.5125 GB, free: 11.55 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001166/0.3842, allocations: 0.6432 MB / 0.5131 GB, free: 11.23 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.005133/0.3893, allocations: 4.22 MB / 0.5172 GB, free: 7.391 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008954/0.3902, allocations: 420.5 kB / 0.5176 GB, free: 7.168 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003879/0.3906, allocations: 213.9 kB / 0.5178 GB, free: 7.055 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005723/0.3912, allocations: 0.4965 MB / 0.5183 GB, free: 6.473 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.671e-05/0.3913, allocations: 37.98 kB / 0.5183 GB, free: 6.43 MB / 398.1 MB Notification: Performance of pre-optimization done (n=40): time 2.745e-06/0.3913, allocations: 0 / 0.5183 GB, free: 6.43 MB / 398.1 MB Notification: Performance of matching and sorting (n=45): time 0.003522/0.3948, allocations: 1.529 MB / 0.5198 GB, free: 5.469 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.426e-05/0.3949, allocations: 132.7 kB / 0.52 GB, free: 5.312 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006963/0.3956, allocations: 0.5734 MB / 0.5205 GB, free: 4.969 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.778e-05/0.3957, allocations: 35.48 kB / 0.5205 GB, free: 4.93 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003209/0.396, allocations: 352.8 kB / 0.5209 GB, free: 4.617 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001359/0.3961, allocations: 168.3 kB / 0.521 GB, free: 4.473 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002054/0.3963, allocations: 136.7 kB / 0.5212 GB, free: 4.391 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001668/0.3965, allocations: 379.6 kB / 0.5215 GB, free: 4.027 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003674/0.3969, allocations: 219.2 kB / 0.5217 GB, free: 3.918 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006079/0.3975, allocations: 0.5286 MB / 0.5223 GB, free: 3.391 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001073/0.3986, allocations: 0.7754 MB / 0.523 GB, free: 2.746 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.335e-06/0.3986, allocations: 6.234 kB / 0.523 GB, free: 2.742 MB / 398.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001928/0.4005, allocations: 0.9368 MB / 0.5239 GB, free: 2.246 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.079e-05/0.4006, allocations: 8.781 kB / 0.5239 GB, free: 2.246 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.951e-05/0.4006, allocations: 9.844 kB / 0.524 GB, free: 2.246 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001221/0.4018, allocations: 266.8 kB / 0.5242 GB, free: 2.129 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000441/0.4023, allocations: 127.4 kB / 0.5243 GB, free: 2.098 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001071/0.4034, allocations: 0.864 MB / 0.5252 GB, free: 1.387 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005149/0.4039, allocations: 29.42 kB / 0.5252 GB, free: 1.371 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.777e-05/0.404, allocations: 32.47 kB / 0.5252 GB, free: 1.367 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.0003394/0.4043, allocations: 247.7 kB / 0.5255 GB, free: 1.168 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001156/0.4044, allocations: 67.22 kB / 0.5255 GB, free: 1.133 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001371/0.4058, allocations: 0.7173 MB / 0.5262 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.149e-05/0.4058, allocations: 8.531 kB / 0.5262 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.4059, allocations: 1.156 kB / 0.5262 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.904e-06/0.4059, allocations: 5.141 kB / 0.5263 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00239/0.4083, allocations: 1.4 MB / 0.5276 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/0.4083, allocations: 7.938 kB / 0.5276 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009494/0.4092, allocations: 191.7 kB / 0.5278 GB, free: 15.35 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002402/0.4095, allocations: 61 kB / 0.5279 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.708e-05/0.4096, allocations: 15.94 kB / 0.5279 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002471/0.412, allocations: 2.982 MB / 0.5308 GB, free: 12.01 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.4121, allocations: 4.031 kB / 0.5308 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001583/0.4136, allocations: 1.005 MB / 0.5318 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003168/0.414, allocations: 196.2 kB / 0.532 GB, free: 10.75 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001058/0.4141, allocations: 12.06 kB / 0.532 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004025/0.4145, allocations: 23.98 kB / 0.532 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001083/0.4146, allocations: 35.89 kB / 0.532 GB, free: 10.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.576e-05/0.4147, allocations: 19.94 kB / 0.5321 GB, free: 10.66 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005294/0.4152, allocations: 423 kB / 0.5325 GB, free: 10.24 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4152, allocations: 4 kB / 0.5325 GB, free: 10.24 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0009131/0.4161, allocations: 200 kB / 0.5327 GB, free: 10.04 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.0006008/0.4167, allocations: 235.8 kB / 0.5329 GB, free: 9.805 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00131/0.4181, allocations: 0.604 MB / 0.5335 GB, free: 9.207 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.339e-06/0.4181, allocations: 0 / 0.5335 GB, free: 9.207 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001175/0.4193, allocations: 491.4 kB / 0.5339 GB, free: 8.715 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001558/0.4208, allocations: 375.1 kB / 0.5343 GB, free: 8.352 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002209/0.4231, allocations: 1.4 MB / 0.5357 GB, free: 6.906 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005466/0.4236, allocations: 0.9346 MB / 0.5366 GB, free: 5.941 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0006246/0.4242, allocations: 210 kB / 0.5368 GB, free: 5.734 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001505/0.4244, allocations: 63.42 kB / 0.5368 GB, free: 5.672 MB / 414.1 MB Notification: Performance of SimCode: time 4.31e-07/0.4244, allocations: 0 / 0.5368 GB, free: 5.672 MB / 414.1 MB Notification: Performance of Templates: time 0.0284/0.4528, allocations: 15.28 MB / 0.5518 GB, free: 6.406 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)