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.001265/0.001265, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001748/0.001749, allocations: 195.9 kB / 16.14 MB, free: 6.703 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.588/1.588, allocations: 205.1 MB / 222 MB, free: 4.734 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.3631/0.3631, allocations: 39.93 MB / 309.3 MB, free: 9.355 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.001385/0.001385, allocations: 62.78 kB / 376.9 MB, free: 13.12 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1414/0.1428, allocations: 56.89 MB / 433.8 MB, free: 4.113 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.2914/0.4342, allocations: 20.99 MB / 454.8 MB, free: 35.61 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006397/0.4407, allocations: 4.446 MB / 459.3 MB, free: 35.58 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007519/0.4415, allocations: 26.59 kB / 459.3 MB, free: 35.58 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008654/0.4424, allocations: 271.7 kB / 459.5 MB, free: 35.57 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001843/0.4442, allocations: 0.8091 MB / 460.4 MB, free: 35.53 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00233/0.4466, allocations: 0.7981 MB / 461.2 MB, free: 35.5 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002843/0.4494, allocations: 2.667 MB / 463.8 MB, free: 35.32 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006355/0.4501, allocations: 393.5 kB / 464.2 MB, free: 35.28 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001805/0.4519, allocations: 0.8119 MB / 465 MB, free: 35.1 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008509/0.4528, allocations: 0.6605 MB / 465.7 MB, free: 34.99 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.056e-05/0.4529, allocations: 36.59 kB / 465.7 MB, free: 34.99 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007703/0.4537, allocations: 268.6 kB / 466 MB, free: 34.97 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002153/0.4539, allocations: 235.5 kB / 466.2 MB, free: 34.94 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003429/0.4542, allocations: 369 kB / 466.6 MB, free: 34.83 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009768/0.4552, allocations: 1.048 MB / 467.6 MB, free: 34.69 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.4552, allocations: 0 / 467.6 MB, free: 34.69 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.4552, allocations: 0 / 467.6 MB, free: 34.69 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.344e-05/0.4553, allocations: 0 / 467.6 MB, free: 34.69 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.002159/0.4574, allocations: 1.05 MB / 468.7 MB, free: 34.09 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/0.4575, allocations: 14 kB / 468.7 MB, free: 34.08 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003443/0.4578, allocations: 90.95 kB / 468.8 MB, free: 34.05 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007147/0.4585, allocations: 0.504 MB / 469.3 MB, free: 33.77 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001025/0.4587, allocations: 101.6 kB / 469.4 MB, free: 33.7 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001015/0.4588, allocations: 45.62 kB / 469.4 MB, free: 33.7 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001238/0.46, allocations: 0.8273 MB / 470.2 MB, free: 33.47 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.451e-05/0.46, allocations: 7.281 kB / 470.3 MB, free: 33.46 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.174e-05/0.4601, allocations: 22 kB / 470.3 MB, free: 33.46 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.557e-05/0.4602, allocations: 41.05 kB / 470.3 MB, free: 33.46 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009511/0.4611, allocations: 0.6479 MB / 471 MB, free: 33.39 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.004044/0.4652, allocations: 4.215 MB / 475.2 MB, free: 30.02 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007893/0.466, allocations: 414.6 kB / 475.6 MB, free: 29.85 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002866/0.4663, allocations: 215.4 kB / 475.8 MB, free: 29.76 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003786/0.4667, allocations: 0.499 MB / 476.3 MB, free: 29.19 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.561e-05/0.4667, allocations: 40.61 kB / 476.3 MB, free: 29.14 MB / 382.1 MB Notification: Performance of pre-optimization done (n=40): time 2.825e-06/0.4667, allocations: 0 / 476.3 MB, free: 29.14 MB / 382.1 MB Notification: Performance of matching and sorting (n=45): time 0.003/0.4697, allocations: 1.527 MB / 477.9 MB, free: 28.33 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.582e-05/0.4698, allocations: 134.7 kB / 478 MB, free: 28.17 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006282/0.4705, allocations: 0.5643 MB / 478.6 MB, free: 27.92 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.936e-05/0.4705, allocations: 36.61 kB / 478.6 MB, free: 27.88 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002088/0.4707, allocations: 352.7 kB / 478.9 MB, free: 27.6 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001028/0.4708, allocations: 168.8 kB / 479.1 MB, free: 27.47 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001815/0.471, allocations: 144.1 kB / 479.2 MB, free: 27.39 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001084/0.4711, allocations: 383.7 kB / 479.6 MB, free: 27.05 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003453/0.4715, allocations: 223.8 kB / 479.8 MB, free: 26.98 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004366/0.4719, allocations: 0.5187 MB / 480.3 MB, free: 26.51 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00078/0.4727, allocations: 0.7757 MB / 481.1 MB, free: 25.91 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.4727, allocations: 3 kB / 481.1 MB, free: 25.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001513/0.4743, allocations: 0.9421 MB / 482.1 MB, free: 25.52 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.358e-05/0.4743, allocations: 11.91 kB / 482.1 MB, free: 25.52 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.272e-05/0.4743, allocations: 9.344 kB / 482.1 MB, free: 25.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001045/0.4754, allocations: 267.3 kB / 482.4 MB, free: 25.45 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003914/0.4758, allocations: 121.5 kB / 482.5 MB, free: 25.44 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007638/0.4766, allocations: 0.8686 MB / 483.3 MB, free: 24.78 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000561/0.4771, allocations: 44.7 kB / 483.4 MB, free: 24.76 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.724e-05/0.4772, allocations: 38.44 kB / 483.4 MB, free: 24.75 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.0003198/0.4775, allocations: 248.3 kB / 483.7 MB, free: 24.57 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001033/0.4776, allocations: 63.06 kB / 483.7 MB, free: 24.54 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001153/0.4788, allocations: 0.7181 MB / 484.4 MB, free: 24.21 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.946e-06/0.4788, allocations: 6.594 kB / 484.4 MB, free: 24.21 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/0.4788, allocations: 0 / 484.4 MB, free: 24.21 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/0.4788, allocations: 5.203 kB / 484.5 MB, free: 24.21 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001898/0.4807, allocations: 1.401 MB / 485.9 MB, free: 23.43 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.002e-06/0.4808, allocations: 2.5 kB / 485.9 MB, free: 23.43 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008924/0.4817, allocations: 200.9 kB / 486.1 MB, free: 23.42 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002317/0.4819, allocations: 55.84 kB / 486.1 MB, free: 23.4 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.643e-05/0.482, allocations: 17.77 kB / 486.1 MB, free: 23.39 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001613/0.4836, allocations: 2.778 MB / 488.9 MB, free: 20.64 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.4836, allocations: 7.156 kB / 488.9 MB, free: 20.63 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001289/0.4849, allocations: 0.9958 MB / 489.9 MB, free: 20.09 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002537/0.4852, allocations: 204.5 kB / 490.1 MB, free: 19.93 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.302e-05/0.4853, allocations: 19.06 kB / 490.1 MB, free: 19.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004057/0.4857, allocations: 30 kB / 490.2 MB, free: 19.9 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.758e-05/0.4858, allocations: 36.45 kB / 490.2 MB, free: 19.89 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.354e-05/0.4858, allocations: 23.73 kB / 490.2 MB, free: 19.89 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004384/0.4863, allocations: 422.3 kB / 490.6 MB, free: 19.7 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4863, allocations: 0 / 490.6 MB, free: 19.7 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007752/0.4871, allocations: 208.5 kB / 490.8 MB, free: 19.67 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.0004627/0.4875, allocations: 243.4 kB / 491.1 MB, free: 19.54 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009791/0.4885, allocations: 0.6029 MB / 491.7 MB, free: 19.33 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.4885, allocations: 0.5 kB / 491.7 MB, free: 19.33 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001003/0.4895, allocations: 488.1 kB / 492.1 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.001522/0.4911, allocations: 353 kB / 492.5 MB, free: 19.02 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002107/0.4932, allocations: 1.63 MB / 494.1 MB, free: 18.03 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003965/0.4936, allocations: 0.938 MB / 495.1 MB, free: 17.3 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.00077/0.4944, allocations: 211.1 kB / 495.3 MB, free: 17.27 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001647/0.4946, allocations: 62.23 kB / 495.3 MB, free: 17.26 MB / 382.1 MB Notification: Performance of SimCode: time 3.61e-07/0.4946, allocations: 1 kB / 495.3 MB, free: 17.26 MB / 382.1 MB Notification: Performance of Templates: time 0.03145/0.526, allocations: 14.51 MB / 0.4979 GB, free: 14.12 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)