Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_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.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.Water.WaterIF97_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00127/0.00127, allocations: 100 kB / 15.05 MB, free: 1.105 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.001327/0.001327, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.463/1.463, allocations: 205.4 MB / 222.1 MB, free: 5.664 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.3525/0.3525, allocations: 40 MB / 310.4 MB, free: 9.973 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.0006139/0.000614, allocations: 20 kB / 378.8 MB, free: 12.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.121/0.1216, allocations: 57.95 MB / 436.8 MB, free: 2.578 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT): time 0.2675/0.3892, allocations: 33.12 MB / 469.9 MB, free: 34.75 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01752/0.4068, allocations: 17.2 MB / 487.1 MB, free: 23.87 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001057/0.4079, allocations: 24.25 kB / 487.1 MB, free: 23.86 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001103/0.409, allocations: 387.6 kB / 487.5 MB, free: 23.64 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01151/0.4205, allocations: 3.999 MB / 491.5 MB, free: 21.66 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006611/0.4272, allocations: 2.103 MB / 493.6 MB, free: 20.51 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002059/0.4292, allocations: 1.153 MB / 494.8 MB, free: 19.94 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008218/0.4301, allocations: 410.9 kB / 495.2 MB, free: 19.79 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01096/0.4411, allocations: 6.273 MB / 0.4897 GB, free: 18.93 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01783/0.4589, allocations: 8.762 MB / 0.4982 GB, free: 18.04 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003826/0.4594, allocations: 35.09 kB / 0.4983 GB, free: 18.04 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01776/0.4771, allocations: 7.029 MB / 0.5051 GB, free: 16.5 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005103/0.4777, allocations: 224.8 kB / 0.5053 GB, free: 16.42 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005023/0.4782, allocations: 188.6 kB / 0.5055 GB, free: 16.32 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008297/0.4865, allocations: 3.361 MB / 0.5088 GB, free: 14.86 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.4865, allocations: 0 / 0.5088 GB, free: 14.86 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.4866, allocations: 0 / 0.5088 GB, free: 14.86 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.062e-05/0.4866, allocations: 0 / 0.5088 GB, free: 14.86 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: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.004909/0.4915, allocations: 1.469 MB / 0.5102 GB, free: 13.34 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.4915, allocations: 8.562 kB / 0.5102 GB, free: 13.33 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001413/0.493, allocations: 230.8 kB / 0.5105 GB, free: 13.11 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007995/0.4938, allocations: 0.52 MB / 0.511 GB, free: 12.54 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.106e-05/0.4939, allocations: 112.6 kB / 0.5111 GB, free: 12.42 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.723e-05/0.494, allocations: 59.98 kB / 0.5111 GB, free: 12.36 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001606/0.4956, allocations: 1.068 MB / 0.5122 GB, free: 11.19 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.272e-05/0.4956, allocations: 7.922 kB / 0.5122 GB, free: 11.18 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.477e-05/0.4957, allocations: 39.94 kB / 0.5122 GB, free: 11.14 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.546e-05/0.4958, allocations: 44.98 kB / 0.5123 GB, free: 11.1 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001383/0.4972, allocations: 0.8154 MB / 0.5131 GB, free: 10.29 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.004701/0.5019, allocations: 5.566 MB / 0.5185 GB, free: 4.359 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001008/0.5029, allocations: 0.5224 MB / 0.519 GB, free: 3.812 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09518/0.5981, allocations: 47.88 MB / 0.5658 GB, free: 14.32 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.623e-05/0.5982, allocations: 46.5 kB / 0.5658 GB, free: 14.27 MB / 446.1 MB Notification: Performance of pre-optimization done (n=39): time 3.126e-06/0.5982, allocations: 0 / 0.5658 GB, free: 14.27 MB / 446.1 MB Notification: Performance of matching and sorting (n=44): time 0.006971/0.6052, allocations: 2.132 MB / 0.5679 GB, free: 12.08 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.316e-05/0.6053, allocations: 191.8 kB / 0.5681 GB, free: 11.85 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000907/0.6063, allocations: 0.6368 MB / 0.5687 GB, free: 11.2 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.984e-05/0.6063, allocations: 33.7 kB / 0.5687 GB, free: 11.16 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002925/0.6066, allocations: 403.1 kB / 0.5691 GB, free: 10.76 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001471/0.6068, allocations: 161.7 kB / 0.5693 GB, free: 10.6 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.241e-05/0.6068, allocations: 16 kB / 0.5693 GB, free: 10.59 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001623/0.607, allocations: 382.8 kB / 0.5697 GB, free: 10.2 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003748/0.6074, allocations: 221.9 kB / 0.5699 GB, free: 9.988 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006582/0.608, allocations: 0.5868 MB / 0.5704 GB, free: 9.227 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005338/0.6086, allocations: 339.6 kB / 0.5708 GB, free: 8.895 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.916e-06/0.6086, allocations: 4 kB / 0.5708 GB, free: 8.891 MB / 446.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001458/0.6101, allocations: 0.8877 MB / 0.5716 GB, free: 7.992 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.653e-05/0.6101, allocations: 12 kB / 0.5716 GB, free: 7.98 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.851e-05/0.6101, allocations: 12 kB / 0.5717 GB, free: 7.969 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003095/0.6132, allocations: 273.4 kB / 0.5719 GB, free: 7.699 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001161/0.6144, allocations: 279.6 kB / 0.5722 GB, free: 7.426 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001641/0.6161, allocations: 2.035 MB / 0.5742 GB, free: 5.23 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006375/0.6167, allocations: 51.97 kB / 0.5742 GB, free: 5.18 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.942e-05/0.6168, allocations: 44.86 kB / 0.5743 GB, free: 5.137 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 10 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1],volume.medium.phase,shortPipe.flowModel.states[2].phase,shortPipe.flowModel.states[1].phase,ambient.state.phase,ambient.medium.phase,fixedMassFlowRate.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (94): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 1} Notification: Performance of prepare postOptimizeDAE: time 0.0004131/0.6172, allocations: 277.5 kB / 0.5745 GB, free: 4.855 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000169/0.6174, allocations: 75.11 kB / 0.5746 GB, free: 4.781 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002328/0.6197, allocations: 2.033 MB / 0.5766 GB, free: 2.738 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.502e-05/0.6198, allocations: 24.06 kB / 0.5766 GB, free: 2.715 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.6198, allocations: 3.984 kB / 0.5766 GB, free: 2.711 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.538e-06/0.6198, allocations: 7.984 kB / 0.5766 GB, free: 2.703 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003661/0.6235, allocations: 2.995 MB / 0.5795 GB, free: 15.63 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.783e-06/0.6235, allocations: 0 / 0.5795 GB, free: 15.63 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008768/0.6244, allocations: 187.7 kB / 0.5797 GB, free: 15.45 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001793/0.6262, allocations: 307.9 kB / 0.58 GB, free: 15.14 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.342e-05/0.6262, allocations: 12 kB / 0.58 GB, free: 15.13 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001562/0.6278, allocations: 2.089 MB / 0.5821 GB, free: 12.89 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.6278, allocations: 0 / 0.5821 GB, free: 12.89 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002236/0.6301, allocations: 1.959 MB / 0.584 GB, free: 10.89 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005543/0.6306, allocations: 283.4 kB / 0.5843 GB, free: 10.6 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001907/0.6309, allocations: 16.12 kB / 0.5843 GB, free: 10.58 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006004/0.6315, allocations: 31.88 kB / 0.5843 GB, free: 10.55 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.733e-05/0.6316, allocations: 36.33 kB / 0.5843 GB, free: 10.52 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.09e-05/0.6316, allocations: 20 kB / 0.5844 GB, free: 10.5 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0008078/0.6324, allocations: 0.5654 MB / 0.5849 GB, free: 9.934 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.6324, allocations: 0 / 0.5849 GB, free: 9.934 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004446/0.6369, allocations: 1.093 MB / 0.586 GB, free: 8.84 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 12 ($cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.00644/0.6434, allocations: 1.192 MB / 0.5871 GB, free: 7.645 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002183/0.6456, allocations: 0.909 MB / 0.588 GB, free: 6.738 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.794e-06/0.6456, allocations: 4 kB / 0.588 GB, free: 6.734 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001289/0.6469, allocations: 0.6439 MB / 0.5887 GB, free: 6.09 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002105/0.649, allocations: 375.5 kB / 0.589 GB, free: 5.723 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0038/0.6528, allocations: 2.574 MB / 0.5915 GB, free: 3.113 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001072/0.6539, allocations: 1.12 MB / 0.5926 GB, free: 1.965 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001185/0.6551, allocations: 345.9 kB / 0.593 GB, free: 1.625 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002346/0.6554, allocations: 67.42 kB / 0.593 GB, free: 1.562 MB / 462.1 MB Notification: Performance of SimCode: time 1.082e-06/0.6554, allocations: 0 / 0.593 GB, free: 1.562 MB / 462.1 MB Notification: Performance of Templates: time 0.277/0.9324, allocations: 44.68 MB / 0.6367 GB, free: 150.7 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.sim & ./ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe 2>&1) Environment - environmentSimulation: