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.001434/0.001434, 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.001565/0.001565, allocations: 197.1 kB / 16.54 MB, free: 6.672 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.7/1.7, allocations: 205.1 MB / 222.4 MB, free: 4.621 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.3993/0.3993, allocations: 39.94 MB / 309.7 MB, free: 9.328 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.001532/0.001532, allocations: 59.91 kB / 377.6 MB, free: 12.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1466/0.1481, allocations: 56.88 MB / 434.5 MB, free: 3.676 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.3242/0.4723, allocations: 20.26 MB / 454.8 MB, free: 36.15 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007059/0.4794, allocations: 4.288 MB / 459.1 MB, free: 36.12 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008456/0.4803, allocations: 16.91 kB / 459.1 MB, free: 36.12 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009599/0.4813, allocations: 327 kB / 459.4 MB, free: 36.11 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002029/0.4834, allocations: 0.8505 MB / 460.2 MB, free: 36.07 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002887/0.4863, allocations: 0.8825 MB / 461.1 MB, free: 36.04 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002772/0.489, allocations: 1.794 MB / 462.9 MB, free: 35.84 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009778/0.49, allocations: 457.9 kB / 463.4 MB, free: 35.81 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002723/0.4928, allocations: 0.9201 MB / 464.3 MB, free: 35.62 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001076/0.4939, allocations: 0.6419 MB / 464.9 MB, free: 35.52 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001177/0.494, allocations: 61.19 kB / 465 MB, free: 35.52 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009629/0.495, allocations: 298.3 kB / 465.3 MB, free: 35.5 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002775/0.4953, allocations: 261.8 kB / 465.5 MB, free: 35.47 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004336/0.4957, allocations: 390.5 kB / 465.9 MB, free: 35.37 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001389/0.4971, allocations: 1.08 MB / 467 MB, free: 35.22 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.4971, allocations: 0 / 467 MB, free: 35.22 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.4971, allocations: 4 kB / 467 MB, free: 35.21 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.359e-05/0.4971, allocations: 0 / 467 MB, free: 35.21 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.002495/0.4996, allocations: 1.052 MB / 468.1 MB, free: 34.61 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.866e-05/0.4997, allocations: 10.03 kB / 468.1 MB, free: 34.61 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003492/0.5001, allocations: 85.67 kB / 468.1 MB, free: 34.57 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007382/0.5008, allocations: 0.5035 MB / 468.7 MB, free: 34.3 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001036/0.5009, allocations: 102.3 kB / 468.8 MB, free: 34.23 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.293e-05/0.501, allocations: 54.3 kB / 468.8 MB, free: 34.23 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00118/0.5022, allocations: 0.8203 MB / 469.6 MB, free: 34 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.085e-05/0.5022, allocations: 3.938 kB / 469.6 MB, free: 34 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.099e-05/0.5023, allocations: 23.94 kB / 469.7 MB, free: 34 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.822e-05/0.5024, allocations: 44.78 kB / 469.7 MB, free: 34 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009664/0.5034, allocations: 0.6436 MB / 470.3 MB, free: 33.88 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.004228/0.5076, allocations: 4.221 MB / 474.6 MB, free: 30.5 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007937/0.5084, allocations: 417.2 kB / 475 MB, free: 30.33 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002944/0.5087, allocations: 208 kB / 475.2 MB, free: 30.25 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004216/0.5091, allocations: 0.5014 MB / 475.7 MB, free: 29.68 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.301e-05/0.5092, allocations: 42.12 kB / 475.7 MB, free: 29.63 MB / 382.1 MB Notification: Performance of pre-optimization done (n=40): time 3.957e-06/0.5092, allocations: 0 / 475.7 MB, free: 29.63 MB / 382.1 MB Notification: Performance of matching and sorting (n=45): time 0.003011/0.5122, allocations: 1.526 MB / 477.2 MB, free: 28.81 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.664e-05/0.5123, allocations: 131.4 kB / 477.4 MB, free: 28.66 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006156/0.5129, allocations: 0.5798 MB / 477.9 MB, free: 28.39 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.254e-05/0.513, allocations: 32.52 kB / 478 MB, free: 28.36 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002325/0.5132, allocations: 352.6 kB / 478.3 MB, free: 28.08 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001137/0.5133, allocations: 160 kB / 478.5 MB, free: 27.96 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001773/0.5135, allocations: 143.3 kB / 478.6 MB, free: 27.88 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000102/0.5136, allocations: 377.9 kB / 479 MB, free: 27.54 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003255/0.5139, allocations: 227 kB / 479.2 MB, free: 27.46 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000475/0.5144, allocations: 0.5245 MB / 479.7 MB, free: 26.98 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008298/0.5153, allocations: 0.7752 MB / 480.5 MB, free: 26.39 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.5153, allocations: 3.219 kB / 480.5 MB, free: 26.39 MB / 382.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001484/0.5168, allocations: 0.9438 MB / 481.5 MB, free: 25.99 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/0.5168, allocations: 9.562 kB / 481.5 MB, free: 25.99 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/0.5168, allocations: 9.734 kB / 481.5 MB, free: 25.99 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001007/0.5178, allocations: 270.3 kB / 481.7 MB, free: 25.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003757/0.5182, allocations: 129.3 kB / 481.9 MB, free: 25.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007198/0.5189, allocations: 0.857 MB / 482.7 MB, free: 25.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000477/0.5194, allocations: 32.03 kB / 482.8 MB, free: 25.24 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.28e-05/0.5195, allocations: 36.88 kB / 482.8 MB, free: 25.23 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.000287/0.5198, allocations: 245.4 kB / 483 MB, free: 25.05 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.945e-05/0.5199, allocations: 64.25 kB / 483.1 MB, free: 25.02 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001095/0.521, allocations: 0.7155 MB / 483.8 MB, free: 24.69 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.455e-05/0.521, allocations: 9.375 kB / 483.8 MB, free: 24.69 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.795e-06/0.521, allocations: 0 / 483.8 MB, free: 24.69 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/0.521, allocations: 0 / 483.8 MB, free: 24.69 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001778/0.5228, allocations: 1.407 MB / 485.2 MB, free: 23.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.977e-06/0.5228, allocations: 5.969 kB / 485.2 MB, free: 23.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009692/0.5238, allocations: 193.9 kB / 485.4 MB, free: 23.89 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002431/0.5241, allocations: 58.11 kB / 485.5 MB, free: 23.88 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.093e-05/0.5241, allocations: 17.59 kB / 485.5 MB, free: 23.87 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001913/0.5261, allocations: 2.982 MB / 488.5 MB, free: 20.91 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.5261, allocations: 3.25 kB / 488.5 MB, free: 20.91 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001369/0.5274, allocations: 0.9939 MB / 489.5 MB, free: 20.37 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002612/0.5277, allocations: 200.9 kB / 489.7 MB, free: 20.21 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.027e-05/0.5278, allocations: 10.09 kB / 489.7 MB, free: 20.2 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003617/0.5282, allocations: 17.14 kB / 489.7 MB, free: 20.2 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001022/0.5283, allocations: 48.56 kB / 489.7 MB, free: 20.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.221e-05/0.5283, allocations: 16.97 kB / 489.8 MB, free: 20.18 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004641/0.5288, allocations: 422.6 kB / 490.2 MB, free: 19.99 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5288, allocations: 0 / 490.2 MB, free: 19.99 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008249/0.5296, allocations: 208.7 kB / 490.4 MB, free: 19.96 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.00056/0.5302, allocations: 235.4 kB / 490.6 MB, free: 19.82 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001249/0.5315, allocations: 0.6771 MB / 491.3 MB, free: 19.59 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.5315, allocations: 4 kB / 491.3 MB, free: 19.59 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001056/0.5326, allocations: 480.9 kB / 491.8 MB, free: 19.38 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00164/0.5342, allocations: 373.3 kB / 492.1 MB, free: 19.26 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002575/0.5368, allocations: 1.422 MB / 493.5 MB, free: 18.47 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005365/0.5374, allocations: 0.9397 MB / 494.5 MB, free: 17.75 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0009181/0.5383, allocations: 204.1 kB / 494.7 MB, free: 17.71 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000181/0.5385, allocations: 61.7 kB / 494.7 MB, free: 17.7 MB / 382.1 MB Notification: Performance of SimCode: time 8.61e-07/0.5385, allocations: 1.25 kB / 494.7 MB, free: 17.7 MB / 382.1 MB Notification: Performance of Templates: time 0.03259/0.5711, allocations: 15.12 MB / 0.4979 GB, free: 14.46 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)