Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_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.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.LinearFluid.LinearColdWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.2_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.001404/0.001404, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001997/0.001997, allocations: 191.1 kB / 16.25 MB, free: 6.633 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.565/1.565, allocations: 205.1 MB / 222.1 MB, free: 4.703 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.4081/0.4081, allocations: 39.93 MB / 309.4 MB, free: 9.051 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.001391/0.001391, allocations: 59.91 kB / 377.1 MB, free: 12.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1591/0.1605, allocations: 56.9 MB / 434 MB, free: 3.734 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.3094/0.4699, allocations: 20.78 MB / 454.8 MB, free: 35.99 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005967/0.4759, allocations: 4.364 MB / 459.2 MB, free: 35.95 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007347/0.4767, allocations: 28.03 kB / 459.2 MB, free: 35.95 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008905/0.4777, allocations: 276.9 kB / 459.5 MB, free: 35.95 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001878/0.4796, allocations: 0.8057 MB / 460.3 MB, free: 35.9 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002369/0.482, allocations: 0.8268 MB / 461.1 MB, free: 35.88 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002217/0.4842, allocations: 1.801 MB / 462.9 MB, free: 35.66 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006769/0.4849, allocations: 460.4 kB / 463.3 MB, free: 35.62 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002202/0.4871, allocations: 0.9057 MB / 464.2 MB, free: 35.45 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009057/0.488, allocations: 0.6682 MB / 464.9 MB, free: 35.35 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001044/0.4881, allocations: 58.09 kB / 465 MB, free: 35.35 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008127/0.4889, allocations: 312.7 kB / 465.3 MB, free: 35.32 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002278/0.4892, allocations: 268 kB / 465.5 MB, free: 35.29 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003533/0.4895, allocations: 388.4 kB / 465.9 MB, free: 35.19 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00123/0.4908, allocations: 1.075 MB / 467 MB, free: 35.04 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.4908, allocations: 0 / 467 MB, free: 35.04 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.4908, allocations: 3.125 kB / 467 MB, free: 35.04 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.238e-05/0.4908, allocations: 0 / 467 MB, free: 35.04 MB / 382.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.00211/0.4929, allocations: 1.053 MB / 468 MB, free: 34.44 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.796e-05/0.493, allocations: 9.531 kB / 468.1 MB, free: 34.44 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003627/0.4934, allocations: 91.36 kB / 468.1 MB, free: 34.4 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006472/0.494, allocations: 0.5038 MB / 468.6 MB, free: 34.12 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.418e-05/0.4941, allocations: 104.2 kB / 468.7 MB, free: 34.06 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.342e-05/0.4942, allocations: 47.06 kB / 468.8 MB, free: 34.06 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001239/0.4955, allocations: 0.8273 MB / 469.6 MB, free: 33.82 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.187e-05/0.4955, allocations: 3.125 kB / 469.6 MB, free: 33.82 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.262e-05/0.4956, allocations: 27.2 kB / 469.6 MB, free: 33.82 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.627e-05/0.4957, allocations: 39.36 kB / 469.7 MB, free: 33.82 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009535/0.4966, allocations: 0.6452 MB / 470.3 MB, free: 33.61 MB / 382.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.004414/0.501, allocations: 4.217 MB / 474.5 MB, free: 30.23 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008755/0.5019, allocations: 422.1 kB / 475 MB, free: 30.06 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003365/0.5023, allocations: 210 kB / 475.2 MB, free: 29.97 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005274/0.5028, allocations: 0.4924 MB / 475.7 MB, free: 29.41 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.237e-05/0.5029, allocations: 46.16 kB / 475.7 MB, free: 29.36 MB / 382.1 MB Notification: Performance of pre-optimization done (n=40): time 4.027e-06/0.5029, allocations: 0 / 475.7 MB, free: 29.36 MB / 382.1 MB Notification: Performance of matching and sorting (n=45): time 0.004036/0.5069, allocations: 1.522 MB / 477.2 MB, free: 28.54 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.26e-05/0.507, allocations: 135.1 kB / 477.4 MB, free: 28.39 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007218/0.5078, allocations: 0.5746 MB / 477.9 MB, free: 28.12 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.862e-05/0.5078, allocations: 36.92 kB / 478 MB, free: 28.09 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002047/0.508, allocations: 360.1 kB / 478.3 MB, free: 27.8 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000108/0.5082, allocations: 161.6 kB / 478.5 MB, free: 27.68 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000181/0.5083, allocations: 141 kB / 478.6 MB, free: 27.61 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001114/0.5085, allocations: 379 kB / 479 MB, free: 27.26 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003101/0.5088, allocations: 223.2 kB / 479.2 MB, free: 27.19 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004314/0.5092, allocations: 0.522 MB / 479.7 MB, free: 26.71 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008626/0.5101, allocations: 0.7775 MB / 480.5 MB, free: 26.11 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.141e-06/0.5101, allocations: 3 kB / 480.5 MB, free: 26.11 MB / 382.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001835/0.512, allocations: 0.9339 MB / 481.4 MB, free: 25.72 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.27e-05/0.512, allocations: 12.83 kB / 481.5 MB, free: 25.72 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.509e-05/0.512, allocations: 11.2 kB / 481.5 MB, free: 25.72 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001219/0.5133, allocations: 269.2 kB / 481.7 MB, free: 25.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003957/0.5137, allocations: 124.7 kB / 481.8 MB, free: 25.64 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008775/0.5146, allocations: 0.8661 MB / 482.7 MB, free: 24.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006429/0.5152, allocations: 52.27 kB / 482.8 MB, free: 24.96 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.119e-05/0.5153, allocations: 32.66 kB / 482.8 MB, free: 24.96 MB / 382.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.0003691/0.5157, allocations: 242.7 kB / 483 MB, free: 24.78 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001121/0.5158, allocations: 62.66 kB / 483.1 MB, free: 24.75 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001191/0.517, allocations: 0.7175 MB / 483.8 MB, free: 24.42 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.044e-05/0.517, allocations: 3.281 kB / 483.8 MB, free: 24.42 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.686e-06/0.517, allocations: 7.188 kB / 483.8 MB, free: 24.41 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.015e-06/0.517, allocations: 7.359 kB / 483.8 MB, free: 24.41 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001882/0.5189, allocations: 1.396 MB / 485.2 MB, free: 23.64 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.58e-06/0.5189, allocations: 0.5 kB / 485.2 MB, free: 23.64 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008771/0.5198, allocations: 195.7 kB / 485.4 MB, free: 23.62 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002411/0.5201, allocations: 60.8 kB / 485.5 MB, free: 23.6 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.785e-05/0.5201, allocations: 21.45 kB / 485.5 MB, free: 23.59 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001688/0.5218, allocations: 2.976 MB / 488.5 MB, free: 20.64 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.5218, allocations: 7.188 kB / 488.5 MB, free: 20.64 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001307/0.5232, allocations: 0.9982 MB / 489.5 MB, free: 20.09 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002533/0.5234, allocations: 203.9 kB / 489.7 MB, free: 19.93 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.564e-05/0.5235, allocations: 21.91 kB / 489.7 MB, free: 19.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004015/0.5239, allocations: 26.11 kB / 489.7 MB, free: 19.91 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.911e-05/0.524, allocations: 40.8 kB / 489.8 MB, free: 19.89 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.39e-05/0.5241, allocations: 22.81 kB / 489.8 MB, free: 19.89 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004339/0.5245, allocations: 418.9 kB / 490.2 MB, free: 19.71 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5245, allocations: 0 / 490.2 MB, free: 19.71 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000888/0.5254, allocations: 206.5 kB / 490.4 MB, free: 19.68 MB / 382.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.0004862/0.5259, allocations: 241.2 kB / 490.6 MB, free: 19.54 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001192/0.5271, allocations: 0.672 MB / 491.3 MB, free: 19.31 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/0.5271, allocations: 2.875 kB / 491.3 MB, free: 19.31 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001002/0.5281, allocations: 478.6 kB / 491.8 MB, free: 19.11 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001551/0.5297, allocations: 382.9 kB / 492.2 MB, free: 19 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002105/0.5318, allocations: 1.626 MB / 493.8 MB, free: 18 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003937/0.5322, allocations: 0.9417 MB / 494.7 MB, free: 17.27 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0008286/0.5331, allocations: 205.8 kB / 494.9 MB, free: 17.23 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001693/0.5332, allocations: 66.56 kB / 495 MB, free: 17.22 MB / 382.1 MB Notification: Performance of SimCode: time 4.3e-07/0.5332, allocations: 0 / 495 MB, free: 17.22 MB / 382.1 MB Notification: Performance of Templates: time 0.03544/0.5687, allocations: 15.06 MB / 0.4981 GB, free: 14.14 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.sim & ./ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1)