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.0009702/0.0009703, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.007663/0.007664, allocations: 168.9 kB / 16.26 MB, free: 6.656 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.708/1.708, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.4273/0.4273, allocations: 40 MB / 310.7 MB, free: 9.547 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.0006422/0.0006424, allocations: 12 kB / 379.5 MB, free: 11.98 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1565/0.1571, allocations: 57.97 MB / 437.4 MB, free: 1.906 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.2985/0.4556, allocations: 20.36 MB / 457.8 MB, free: 34.28 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005942/0.4616, allocations: 4.399 MB / 462.2 MB, free: 34.22 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007405/0.4624, allocations: 26.72 kB / 462.2 MB, free: 34.22 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007644/0.4632, allocations: 264.5 kB / 462.5 MB, free: 34.22 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001645/0.4648, allocations: 0.8127 MB / 463.3 MB, free: 34.04 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002188/0.467, allocations: 0.7938 MB / 464.1 MB, free: 33.96 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002497/0.4695, allocations: 2.669 MB / 466.7 MB, free: 33.69 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00054/0.4701, allocations: 389.2 kB / 467.1 MB, free: 33.66 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001561/0.4717, allocations: 0.8116 MB / 467.9 MB, free: 33.52 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000742/0.4724, allocations: 0.6572 MB / 468.6 MB, free: 33.41 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.612e-05/0.4725, allocations: 33.06 kB / 468.6 MB, free: 33.41 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006521/0.4732, allocations: 269.4 kB / 468.9 MB, free: 33.39 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000189/0.4734, allocations: 237.7 kB / 469.1 MB, free: 33.35 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003032/0.4737, allocations: 388.8 kB / 469.5 MB, free: 33.21 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009653/0.4746, allocations: 1.035 MB / 470.5 MB, free: 33.07 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.4747, allocations: 0 / 470.5 MB, free: 33.07 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.336e-06/0.4747, allocations: 0 / 470.5 MB, free: 33.07 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.297e-06/0.4747, allocations: 0 / 470.5 MB, free: 33.07 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.001866/0.4766, allocations: 0.9136 MB / 471.4 MB, free: 32.48 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.4766, allocations: 13.75 kB / 471.5 MB, free: 32.48 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003219/0.4769, allocations: 91.33 kB / 471.6 MB, free: 32.45 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000643/0.4776, allocations: 0.5099 MB / 472.1 MB, free: 32.16 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001051/0.4777, allocations: 101.5 kB / 472.2 MB, free: 32.1 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.503e-05/0.4778, allocations: 56.36 kB / 472.2 MB, free: 32.09 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001038/0.4788, allocations: 0.8183 MB / 473 MB, free: 31.86 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.183e-05/0.4789, allocations: 11.84 kB / 473 MB, free: 31.86 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.631e-05/0.4789, allocations: 22.75 kB / 473.1 MB, free: 31.86 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-05/0.479, allocations: 39.11 kB / 473.1 MB, free: 31.85 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008799/0.4799, allocations: 0.6448 MB / 473.8 MB, free: 31.83 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.003651/0.4836, allocations: 4.222 MB / 478 MB, free: 29.01 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007472/0.4843, allocations: 408.9 kB / 478.4 MB, free: 28.98 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002922/0.4846, allocations: 225.5 kB / 478.6 MB, free: 28.96 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003533/0.485, allocations: 0.4946 MB / 479.1 MB, free: 28.4 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.63e-05/0.485, allocations: 38.23 kB / 479.1 MB, free: 28.36 MB / 382.1 MB Notification: Performance of pre-optimization done (n=40): time 2.705e-06/0.485, allocations: 3.938 kB / 479.1 MB, free: 28.36 MB / 382.1 MB Notification: Performance of matching and sorting (n=45): time 0.002787/0.4878, allocations: 1.531 MB / 480.7 MB, free: 27.74 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.699e-05/0.4879, allocations: 134.3 kB / 480.8 MB, free: 27.59 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005358/0.4884, allocations: 0.5694 MB / 481.4 MB, free: 27.33 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.955e-05/0.4885, allocations: 36.64 kB / 481.4 MB, free: 27.29 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001829/0.4887, allocations: 352.2 kB / 481.7 MB, free: 27.01 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.272e-05/0.4888, allocations: 164 kB / 481.9 MB, free: 26.89 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.437e-05/0.4888, allocations: 65.47 kB / 482 MB, free: 26.85 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.12e-05/0.4889, allocations: 381.7 kB / 482.3 MB, free: 26.5 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003192/0.4893, allocations: 218.1 kB / 482.5 MB, free: 26.43 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000424/0.4897, allocations: 0.5224 MB / 483.1 MB, free: 25.96 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007654/0.4905, allocations: 0.7786 MB / 483.9 MB, free: 25.36 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.4905, allocations: 3.219 kB / 483.9 MB, free: 25.36 MB / 382.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001494/0.492, allocations: 0.9412 MB / 484.8 MB, free: 24.96 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.144e-05/0.492, allocations: 9.969 kB / 484.8 MB, free: 24.96 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/0.492, allocations: 9.875 kB / 484.8 MB, free: 24.96 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001059/0.4931, allocations: 276.2 kB / 485.1 MB, free: 24.89 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003845/0.4935, allocations: 124.4 kB / 485.2 MB, free: 24.88 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007969/0.4943, allocations: 0.865 MB / 486.1 MB, free: 24.22 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000542/0.4949, allocations: 49.09 kB / 486.1 MB, free: 24.2 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.901e-05/0.4949, allocations: 34.95 kB / 486.2 MB, free: 24.2 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.0003142/0.4952, allocations: 240.1 kB / 486.4 MB, free: 24.02 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.287e-05/0.4953, allocations: 63.28 kB / 486.4 MB, free: 23.98 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001192/0.4965, allocations: 0.7244 MB / 487.2 MB, free: 23.66 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.031e-05/0.4966, allocations: 6.5 kB / 487.2 MB, free: 23.66 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.4966, allocations: 0 / 487.2 MB, free: 23.66 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.852e-06/0.4966, allocations: 7.516 kB / 487.2 MB, free: 23.65 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001802/0.4984, allocations: 1.404 MB / 488.6 MB, free: 22.88 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.4984, allocations: 3.938 kB / 488.6 MB, free: 22.87 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000956/0.4994, allocations: 196.2 kB / 488.8 MB, free: 22.86 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002954/0.4997, allocations: 65.62 kB / 488.9 MB, free: 22.84 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.991e-05/0.4997, allocations: 14.53 kB / 488.9 MB, free: 22.83 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001862/0.5016, allocations: 2.792 MB / 491.7 MB, free: 20.07 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.5016, allocations: 2.062 kB / 491.7 MB, free: 20.07 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001495/0.5031, allocations: 0.9949 MB / 492.7 MB, free: 19.53 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003024/0.5034, allocations: 205.3 kB / 492.9 MB, free: 19.36 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.818e-05/0.5036, allocations: 18.09 kB / 492.9 MB, free: 19.35 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004236/0.504, allocations: 26.55 kB / 492.9 MB, free: 19.34 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001062/0.5041, allocations: 41.47 kB / 492.9 MB, free: 19.33 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.508e-05/0.5042, allocations: 16.69 kB / 493 MB, free: 19.33 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005637/0.5047, allocations: 428.2 kB / 493.4 MB, free: 19.14 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5047, allocations: 0 / 493.4 MB, free: 19.14 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008612/0.5056, allocations: 209.1 kB / 493.6 MB, free: 19.11 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.0005144/0.5061, allocations: 233.5 kB / 493.8 MB, free: 18.98 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00117/0.5073, allocations: 0.6006 MB / 494.4 MB, free: 18.77 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.092e-06/0.5073, allocations: 3.875 kB / 494.4 MB, free: 18.77 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001107/0.5084, allocations: 493.5 kB / 494.9 MB, free: 18.55 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001851/0.5103, allocations: 346.2 kB / 495.2 MB, free: 18.46 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002265/0.5126, allocations: 1.722 MB / 497 MB, free: 17.46 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004882/0.5131, allocations: 0.9352 MB / 497.9 MB, free: 16.73 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0008993/0.514, allocations: 214 kB / 498.1 MB, free: 16.69 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000211/0.5142, allocations: 61.92 kB / 498.2 MB, free: 16.68 MB / 382.1 MB Notification: Performance of SimCode: time 1.072e-06/0.5142, allocations: 0 / 498.2 MB, free: 16.68 MB / 382.1 MB Notification: Performance of Templates: time 0.03241/0.5466, allocations: 14.44 MB / 0.5006 GB, free: 13.18 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: