Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.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.LinearWater_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007435/0.0007433, allocations: 94.28 kB / 15.37 MB, free: 0.7266 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.0009011/0.0009012, allocations: 176.8 kB / 16.27 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.443/1.443, allocations: 205.4 MB / 222.5 MB, free: 5.555 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.3545/0.3545, allocations: 38.03 MB / 308.8 MB, free: 10.32 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.0005939/0.0005942, allocations: 12 kB / 377.1 MB, free: 14.81 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1356/0.1362, allocations: 57.53 MB / 434.6 MB, free: 5.188 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.3142/0.4504, allocations: 45.36 MB / 479.9 MB, free: 28.42 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007232/0.4577, allocations: 4.482 MB / 484.4 MB, free: 26.33 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001309/0.4591, allocations: 29.34 kB / 484.5 MB, free: 26.31 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001254/0.4604, allocations: 276.6 kB / 484.7 MB, free: 26.18 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002709/0.4631, allocations: 0.8052 MB / 485.5 MB, free: 25.73 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002697/0.4658, allocations: 0.799 MB / 486.3 MB, free: 25.3 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003316/0.4692, allocations: 2.658 MB / 489 MB, free: 24.44 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001036/0.4702, allocations: 396.4 kB / 489.4 MB, free: 24.3 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.08947/0.5597, allocations: 43.33 MB / 0.5202 GB, free: 2.363 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01434/0.5741, allocations: 7.971 MB / 0.528 GB, free: 12.48 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002609/0.5744, allocations: 28 kB / 0.528 GB, free: 12.45 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0213/0.5957, allocations: 10.62 MB / 0.5384 GB, free: 1.695 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006392/0.5964, allocations: 235.3 kB / 0.5386 GB, free: 1.465 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008116/0.5972, allocations: 395.9 kB / 0.539 GB, free: 1.07 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001673/0.5989, allocations: 1.032 MB / 0.54 GB, free: 36 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.5989, allocations: 0 / 0.54 GB, free: 36 kB / 398.1 MB Notification: Performance of FrontEnd: time 2.564e-06/0.5989, allocations: 0 / 0.54 GB, free: 36 kB / 398.1 MB Notification: Performance of Transformations before backend: time 9.999e-06/0.599, allocations: 4 kB / 0.54 GB, free: 32 kB / 398.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.002109/0.6011, allocations: 0.9128 MB / 0.5409 GB, free: 15.07 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.105e-05/0.6011, allocations: 15.97 kB / 0.5409 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003298/0.6015, allocations: 92.08 kB / 0.541 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007388/0.6022, allocations: 0.5053 MB / 0.5415 GB, free: 14.42 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000128/0.6023, allocations: 104.9 kB / 0.5416 GB, free: 14.3 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.958e-05/0.6025, allocations: 48.38 kB / 0.5416 GB, free: 14.26 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001228/0.6037, allocations: 0.8252 MB / 0.5425 GB, free: 13.36 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.223e-05/0.6037, allocations: 3.938 kB / 0.5425 GB, free: 13.35 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.93e-05/0.6038, allocations: 24 kB / 0.5425 GB, free: 13.33 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.68e-05/0.6039, allocations: 36.98 kB / 0.5425 GB, free: 13.29 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001068/0.6049, allocations: 0.6439 MB / 0.5431 GB, free: 12.64 MB / 414.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.004895/0.6098, allocations: 4.217 MB / 0.5473 GB, free: 8.141 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000902/0.6108, allocations: 416 kB / 0.5477 GB, free: 7.727 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004058/0.6112, allocations: 213.3 kB / 0.5479 GB, free: 7.516 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005086/0.6117, allocations: 0.5068 MB / 0.5484 GB, free: 6.898 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.61e-05/0.6117, allocations: 34.89 kB / 0.5484 GB, free: 6.855 MB / 414.1 MB Notification: Performance of pre-optimization done (n=40): time 2.755e-06/0.6118, allocations: 0 / 0.5484 GB, free: 6.855 MB / 414.1 MB Notification: Performance of matching and sorting (n=45): time 0.003219/0.615, allocations: 1.522 MB / 0.5499 GB, free: 5.277 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001032/0.6151, allocations: 136.5 kB / 0.55 GB, free: 5.113 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007024/0.6158, allocations: 0.5654 MB / 0.5506 GB, free: 4.539 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.616e-05/0.6159, allocations: 37.64 kB / 0.5506 GB, free: 4.496 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002723/0.6161, allocations: 358.9 kB / 0.5509 GB, free: 4.141 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000134/0.6163, allocations: 165.7 kB / 0.5511 GB, free: 3.977 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.969e-05/0.6164, allocations: 61.69 kB / 0.5512 GB, free: 3.91 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002721/0.6167, allocations: 378.6 kB / 0.5515 GB, free: 3.531 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004098/0.6171, allocations: 225.9 kB / 0.5517 GB, free: 3.312 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006581/0.6177, allocations: 0.5279 MB / 0.5522 GB, free: 2.648 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009807/0.6187, allocations: 0.7718 MB / 0.553 GB, free: 1.746 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.751e-06/0.6188, allocations: 4 kB / 0.553 GB, free: 1.742 MB / 414.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001753/0.6205, allocations: 0.9414 MB / 0.5539 GB, free: 0.793 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.37e-05/0.6205, allocations: 8 kB / 0.5539 GB, free: 0.7852 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.351e-05/0.6206, allocations: 12 kB / 0.5539 GB, free: 0.7734 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001221/0.6218, allocations: 273.9 kB / 0.5542 GB, free: 0.5039 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004051/0.6222, allocations: 123.8 kB / 0.5543 GB, free: 392 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001082/0.6233, allocations: 0.8684 MB / 0.5552 GB, free: 15.49 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005443/0.6239, allocations: 39.91 kB / 0.5552 GB, free: 15.45 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.259e-05/0.6239, allocations: 49.86 kB / 0.5553 GB, free: 15.4 MB / 430.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.0004074/0.6244, allocations: 245.5 kB / 0.5555 GB, free: 15.15 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001075/0.6245, allocations: 63.25 kB / 0.5555 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001339/0.6258, allocations: 0.7218 MB / 0.5563 GB, free: 14.35 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.106e-05/0.6258, allocations: 4 kB / 0.5563 GB, free: 14.35 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.6259, allocations: 0 / 0.5563 GB, free: 14.35 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.815e-06/0.6259, allocations: 4 kB / 0.5563 GB, free: 14.34 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002423/0.6283, allocations: 1.404 MB / 0.5576 GB, free: 12.86 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.624e-06/0.6283, allocations: 7.938 kB / 0.5576 GB, free: 12.85 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009382/0.6293, allocations: 192 kB / 0.5578 GB, free: 12.66 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000303/0.6296, allocations: 64.69 kB / 0.5579 GB, free: 12.6 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.505e-05/0.6296, allocations: 12 kB / 0.5579 GB, free: 12.59 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002277/0.6319, allocations: 2.797 MB / 0.5606 GB, free: 9.52 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.6319, allocations: 3.938 kB / 0.5606 GB, free: 9.516 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001452/0.6334, allocations: 0.9958 MB / 0.5616 GB, free: 8.477 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002853/0.6337, allocations: 200.1 kB / 0.5618 GB, free: 8.262 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.988e-05/0.6338, allocations: 19.98 kB / 0.5618 GB, free: 8.242 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000396/0.6342, allocations: 31.86 kB / 0.5618 GB, free: 8.211 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.402e-05/0.6343, allocations: 43.95 kB / 0.5619 GB, free: 8.168 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.703e-05/0.6343, allocations: 23.98 kB / 0.5619 GB, free: 8.145 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004977/0.6348, allocations: 419 kB / 0.5623 GB, free: 7.738 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6348, allocations: 0 / 0.5623 GB, free: 7.738 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0008291/0.6357, allocations: 204 kB / 0.5625 GB, free: 7.539 MB / 430.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.0005153/0.6362, allocations: 234.5 kB / 0.5627 GB, free: 7.309 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001113/0.6373, allocations: 0.6047 MB / 0.5633 GB, free: 6.707 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.6373, allocations: 0 / 0.5633 GB, free: 6.707 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001104/0.6384, allocations: 494.8 kB / 0.5638 GB, free: 6.211 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001791/0.6402, allocations: 356.7 kB / 0.5641 GB, free: 5.863 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002201/0.6425, allocations: 1.717 MB / 0.5658 GB, free: 4.098 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004884/0.643, allocations: 0.9346 MB / 0.5667 GB, free: 3.137 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0007158/0.6437, allocations: 208.4 kB / 0.5669 GB, free: 2.941 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000159/0.6439, allocations: 63.42 kB / 0.567 GB, free: 2.879 MB / 430.1 MB Notification: Performance of SimCode: time 2.8e-07/0.6439, allocations: 4 kB / 0.567 GB, free: 2.875 MB / 430.1 MB Notification: Performance of Templates: time 0.02516/0.669, allocations: 14.43 MB / 0.5811 GB, free: 4.488 MB / 446.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.sim & ./ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe 2>&1) Environment - environmentSimulation: