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.0018/0.0018, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001665/0.001665, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.828/1.828, allocations: 205.1 MB / 222.4 MB, free: 4.586 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.3594/0.3594, allocations: 38 MB / 307.8 MB, free: 9.953 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.002768/0.002768, allocations: 71.89 kB / 375.3 MB, free: 15.17 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1434/0.1462, allocations: 56.46 MB / 431.7 MB, free: 6.605 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.0227/0.169, allocations: 20.26 MB / 452 MB, free: 2.258 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2902/0.4592, allocations: 4.285 MB / 456.3 MB, free: 35.32 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00162/0.461, allocations: 19.47 kB / 456.3 MB, free: 35.32 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001667/0.4627, allocations: 305.8 kB / 456.6 MB, free: 35.32 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003266/0.4659, allocations: 0.8542 MB / 457.4 MB, free: 35.29 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002787/0.4688, allocations: 0.9022 MB / 458.3 MB, free: 35.27 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002166/0.4709, allocations: 1.791 MB / 460.1 MB, free: 35.27 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006653/0.4716, allocations: 462.5 kB / 460.6 MB, free: 35.25 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002058/0.4737, allocations: 0.91 MB / 461.5 MB, free: 35.16 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008252/0.4745, allocations: 0.6328 MB / 462.1 MB, free: 35.05 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001084/0.4746, allocations: 65.75 kB / 462.2 MB, free: 35.05 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008765/0.4755, allocations: 302.1 kB / 462.5 MB, free: 35.03 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002568/0.4758, allocations: 266.8 kB / 462.7 MB, free: 35 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003792/0.4762, allocations: 392.4 kB / 463.1 MB, free: 34.9 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001162/0.4773, allocations: 1.069 MB / 464.2 MB, free: 34.75 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.4774, allocations: 0 / 464.2 MB, free: 34.75 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.515e-06/0.4774, allocations: 0 / 464.2 MB, free: 34.75 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.271e-05/0.4774, allocations: 0 / 464.2 MB, free: 34.75 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.002069/0.4795, allocations: 1.057 MB / 465.3 MB, free: 34.15 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.4795, allocations: 9.688 kB / 465.3 MB, free: 34.15 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003383/0.4799, allocations: 88.47 kB / 465.4 MB, free: 34.12 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006662/0.4805, allocations: 0.5107 MB / 465.9 MB, free: 33.84 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001031/0.4806, allocations: 103.4 kB / 466 MB, free: 33.77 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.206e-05/0.4807, allocations: 50.38 kB / 466 MB, free: 33.77 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001102/0.4818, allocations: 0.8248 MB / 466.8 MB, free: 33.54 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.897e-05/0.4819, allocations: 7.844 kB / 466.8 MB, free: 33.53 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.466e-05/0.482, allocations: 20.56 kB / 466.9 MB, free: 33.53 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.805e-05/0.482, allocations: 41.25 kB / 466.9 MB, free: 33.53 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009299/0.483, allocations: 0.6415 MB / 467.5 MB, free: 33.51 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.003962/0.4869, allocations: 4.226 MB / 471.8 MB, free: 30.69 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008492/0.4878, allocations: 417.8 kB / 472.2 MB, free: 30.62 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002779/0.4881, allocations: 207.8 kB / 472.4 MB, free: 30.54 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004041/0.4885, allocations: 0.5035 MB / 472.9 MB, free: 29.96 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.292e-05/0.4886, allocations: 38.47 kB / 472.9 MB, free: 29.92 MB / 382.1 MB Notification: Performance of pre-optimization done (n=40): time 2.164e-06/0.4886, allocations: 3.031 kB / 472.9 MB, free: 29.92 MB / 382.1 MB Notification: Performance of matching and sorting (n=45): time 0.002943/0.4915, allocations: 1.53 MB / 474.5 MB, free: 29.09 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.168e-05/0.4916, allocations: 134.7 kB / 474.6 MB, free: 28.94 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005727/0.4922, allocations: 0.5706 MB / 475.2 MB, free: 28.68 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.988e-05/0.4922, allocations: 36.64 kB / 475.2 MB, free: 28.64 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002067/0.4924, allocations: 351.2 kB / 475.5 MB, free: 28.36 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001043/0.4925, allocations: 162.8 kB / 475.7 MB, free: 28.24 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001838/0.4927, allocations: 136 kB / 475.8 MB, free: 28.17 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001036/0.4928, allocations: 378 kB / 476.2 MB, free: 27.82 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003357/0.4932, allocations: 229.6 kB / 476.4 MB, free: 27.75 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004644/0.4937, allocations: 0.5193 MB / 476.9 MB, free: 27.27 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008417/0.4945, allocations: 0.7794 MB / 477.7 MB, free: 26.68 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.4945, allocations: 7.219 kB / 477.7 MB, free: 26.67 MB / 382.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001751/0.4963, allocations: 0.9387 MB / 478.7 MB, free: 26.28 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.178e-05/0.4963, allocations: 9.344 kB / 478.7 MB, free: 26.28 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.265e-05/0.4963, allocations: 9.531 kB / 478.7 MB, free: 26.28 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001037/0.4974, allocations: 269.9 kB / 478.9 MB, free: 26.21 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000365/0.4978, allocations: 131.8 kB / 479.1 MB, free: 26.2 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007237/0.4985, allocations: 0.865 MB / 479.9 MB, free: 25.53 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004297/0.4989, allocations: 30.72 kB / 480 MB, free: 25.52 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.315e-05/0.499, allocations: 36.22 kB / 480 MB, free: 25.52 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.0002813/0.4993, allocations: 245.9 kB / 480.2 MB, free: 25.33 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001062/0.4994, allocations: 63.44 kB / 480.3 MB, free: 25.3 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00117/0.5006, allocations: 0.7154 MB / 481 MB, free: 24.97 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.397e-06/0.5006, allocations: 6.406 kB / 481 MB, free: 24.97 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.443e-06/0.5006, allocations: 0 / 481 MB, free: 24.97 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/0.5006, allocations: 4 kB / 481 MB, free: 24.97 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001827/0.5024, allocations: 1.403 MB / 482.4 MB, free: 24.19 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/0.5025, allocations: 3 kB / 482.4 MB, free: 24.19 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008943/0.5034, allocations: 194.7 kB / 482.6 MB, free: 24.18 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000233/0.5036, allocations: 56.62 kB / 482.7 MB, free: 24.16 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.745e-05/0.5037, allocations: 13.7 kB / 482.7 MB, free: 24.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001761/0.5054, allocations: 2.984 MB / 485.7 MB, free: 21.2 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.5054, allocations: 3.219 kB / 485.7 MB, free: 21.2 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001259/0.5067, allocations: 1.004 MB / 486.7 MB, free: 20.65 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002221/0.5069, allocations: 194.3 kB / 486.9 MB, free: 20.5 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.186e-05/0.507, allocations: 14.31 kB / 486.9 MB, free: 20.49 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003588/0.5074, allocations: 14.22 kB / 486.9 MB, free: 20.48 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.433e-05/0.5075, allocations: 47.88 kB / 487 MB, free: 20.47 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.128e-05/0.5076, allocations: 20.28 kB / 487 MB, free: 20.46 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004279/0.508, allocations: 428.7 kB / 487.4 MB, free: 20.27 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.508, allocations: 0 / 487.4 MB, free: 20.27 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000779/0.5088, allocations: 205.3 kB / 487.6 MB, free: 20.24 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.0005245/0.5093, allocations: 232.7 kB / 487.8 MB, free: 20.11 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001228/0.5106, allocations: 0.676 MB / 488.5 MB, free: 19.89 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.011e-06/0.5106, allocations: 4 kB / 488.5 MB, free: 19.88 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001087/0.5117, allocations: 483 kB / 489 MB, free: 19.67 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001621/0.5133, allocations: 366.8 kB / 489.3 MB, free: 19.56 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002204/0.5155, allocations: 1.423 MB / 490.8 MB, free: 18.77 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004225/0.516, allocations: 0.9386 MB / 491.7 MB, free: 18.05 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0007317/0.5167, allocations: 210.1 kB / 491.9 MB, free: 18 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001357/0.5168, allocations: 63.2 kB / 492 MB, free: 17.99 MB / 382.1 MB Notification: Performance of SimCode: time 1.653e-06/0.5169, allocations: 0 / 492 MB, free: 17.99 MB / 382.1 MB Notification: Performance of Templates: time 0.04215/0.559, allocations: 15.12 MB / 0.4952 GB, free: 15.39 MB / 382.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)