Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.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.Water.ConstantPropertyLiquidWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001334/0.001334, allocations: 100.5 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.001693/0.001693, allocations: 177.3 kB / 15.94 MB, free: 228 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.586/1.586, allocations: 205.4 MB / 222.1 MB, free: 5.641 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.3911/0.3911, allocations: 38.02 MB / 308.4 MB, free: 10.36 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.0006629/0.000663, allocations: 16 kB / 376.4 MB, free: 15.19 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1422/0.1428, allocations: 57.52 MB / 433.9 MB, free: 5.57 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater): time 0.01509/0.158, allocations: 14.15 MB / 448.1 MB, free: 7.367 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006767/0.1648, allocations: 4.753 MB / 452.8 MB, free: 2.609 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008015/0.1656, allocations: 27.75 kB / 452.9 MB, free: 2.582 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008274/0.1665, allocations: 266.7 kB / 453.1 MB, free: 2.32 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001937/0.1684, allocations: 0.6854 MB / 453.8 MB, free: 1.633 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00221/0.1706, allocations: 0.7834 MB / 454.6 MB, free: 0.8477 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.2277/0.3983, allocations: 1.028 MB / 455.6 MB, free: 34.23 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001017/0.3994, allocations: 375.7 kB / 456 MB, free: 34.22 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001229/0.4006, allocations: 0.5616 MB / 456.5 MB, free: 34.22 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005695/0.4012, allocations: 401.5 kB / 456.9 MB, free: 34.22 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.491e-05/0.4013, allocations: 34.44 kB / 457 MB, free: 34.22 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008123/0.4021, allocations: 242.1 kB / 457.2 MB, free: 34.22 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002075/0.4024, allocations: 217.9 kB / 457.4 MB, free: 34.22 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001523/0.4025, allocations: 163.1 kB / 457.6 MB, free: 34.19 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008253/0.4033, allocations: 0.78 MB / 458.4 MB, free: 34.14 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.4034, allocations: 0 / 458.4 MB, free: 34.14 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.4034, allocations: 0 / 458.4 MB, free: 34.14 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.197e-06/0.4034, allocations: 0 / 458.4 MB, free: 34.14 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.00167/0.4051, allocations: 0.9079 MB / 459.3 MB, free: 33.57 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.4051, allocations: 13.72 kB / 459.3 MB, free: 33.56 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003229/0.4054, allocations: 92.8 kB / 459.4 MB, free: 33.52 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007515/0.4062, allocations: 494.8 kB / 459.9 MB, free: 33.28 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001037/0.4063, allocations: 96.84 kB / 460 MB, free: 33.22 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001096/0.4064, allocations: 50.78 kB / 460 MB, free: 33.22 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001142/0.4076, allocations: 0.8314 MB / 460.8 MB, free: 32.98 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.532e-05/0.4076, allocations: 7.719 kB / 460.8 MB, free: 32.98 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.216e-05/0.4077, allocations: 22.92 kB / 460.9 MB, free: 32.98 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.015e-05/0.4078, allocations: 39.84 kB / 460.9 MB, free: 32.98 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008576/0.4086, allocations: 0.6434 MB / 461.5 MB, free: 32.97 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.003807/0.4124, allocations: 4.347 MB / 465.9 MB, free: 29.99 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005549/0.413, allocations: 351.5 kB / 466.2 MB, free: 29.96 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001601/0.4146, allocations: 1.725 MB / 468 MB, free: 28.53 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.469e-05/0.4147, allocations: 36.47 kB / 468 MB, free: 28.49 MB / 382.1 MB Notification: Performance of pre-optimization done (n=26): time 2.575e-06/0.4147, allocations: 0 / 468 MB, free: 28.49 MB / 382.1 MB Notification: Performance of matching and sorting (n=37): time 0.003321/0.418, allocations: 1.402 MB / 469.4 MB, free: 28.08 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.451e-05/0.4181, allocations: 135.3 kB / 469.5 MB, free: 27.92 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007789/0.4189, allocations: 0.6218 MB / 470.2 MB, free: 27.78 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.18e-05/0.419, allocations: 36.27 kB / 470.2 MB, free: 27.75 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002472/0.4192, allocations: 393.5 kB / 470.6 MB, free: 27.53 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.566e-05/0.4193, allocations: 133.2 kB / 470.7 MB, free: 27.45 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.924e-05/0.4193, allocations: 19.28 kB / 470.7 MB, free: 27.45 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001302/0.4195, allocations: 370.5 kB / 471.1 MB, free: 27.14 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002667/0.4197, allocations: 191 kB / 471.3 MB, free: 27.14 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004999/0.4203, allocations: 0.5498 MB / 471.8 MB, free: 26.68 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004483/0.4207, allocations: 297.5 kB / 472.1 MB, free: 26.66 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.103e-06/0.4207, allocations: 13.64 kB / 472.1 MB, free: 26.65 MB / 382.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001187/0.4219, allocations: 0.8265 MB / 472.9 MB, free: 26.56 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/0.422, allocations: 9.188 kB / 473 MB, free: 26.56 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.401e-05/0.422, allocations: 12.81 kB / 473 MB, free: 26.56 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003699/0.4224, allocations: 106 kB / 473.1 MB, free: 26.55 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006128/0.423, allocations: 183.9 kB / 473.3 MB, free: 26.55 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004304/0.4234, allocations: 0.6618 MB / 473.9 MB, free: 26.03 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005131/0.4239, allocations: 36.67 kB / 473.9 MB, free: 26.03 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.546e-05/0.424, allocations: 45.28 kB / 474 MB, free: 26.03 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 54 * 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 (87): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0003306/0.4244, allocations: 263.6 kB / 474.3 MB, free: 25.9 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.283e-05/0.4245, allocations: 68.97 kB / 474.3 MB, free: 25.86 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007731/0.4252, allocations: 0.5081 MB / 474.8 MB, free: 25.77 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.4253, allocations: 7.281 kB / 474.8 MB, free: 25.77 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.4253, allocations: 0 / 474.8 MB, free: 25.77 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.4253, allocations: 3.375 kB / 474.8 MB, free: 25.77 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001607/0.4269, allocations: 1.217 MB / 476.1 MB, free: 25.36 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.189e-06/0.4269, allocations: 3.125 kB / 476.1 MB, free: 25.36 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002743/0.4272, allocations: 70.66 kB / 476.1 MB, free: 25.36 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001617/0.4274, allocations: 44.5 kB / 476.2 MB, free: 25.34 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.469e-05/0.4274, allocations: 14.19 kB / 476.2 MB, free: 25.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002351/0.4276, allocations: 0.5638 MB / 476.7 MB, free: 24.82 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.4277, allocations: 6.562 kB / 476.8 MB, free: 24.82 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008189/0.4285, allocations: 0.8676 MB / 477.6 MB, free: 24.33 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002425/0.4287, allocations: 195 kB / 477.8 MB, free: 24.2 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.296e-05/0.4288, allocations: 12.84 kB / 477.8 MB, free: 24.2 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000395/0.4292, allocations: 41.12 kB / 477.9 MB, free: 24.19 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.806e-05/0.4293, allocations: 27.98 kB / 477.9 MB, free: 24.19 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.138e-05/0.4293, allocations: 26.33 kB / 477.9 MB, free: 24.19 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005025/0.4299, allocations: 447.6 kB / 478.4 MB, free: 24.09 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4299, allocations: 0 / 478.4 MB, free: 24.09 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007862/0.4307, allocations: 212 kB / 478.6 MB, free: 24.08 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 1 (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 (36): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004568/0.4311, allocations: 223.2 kB / 478.8 MB, free: 23.97 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000904/0.432, allocations: 0.4968 MB / 479.3 MB, free: 23.96 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5e-06/0.4321, allocations: 5.484 kB / 479.3 MB, free: 23.96 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002902/0.4323, allocations: 186.3 kB / 479.5 MB, free: 23.95 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001338/0.4337, allocations: 299.9 kB / 479.8 MB, free: 23.94 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001775/0.4355, allocations: 1.507 MB / 481.3 MB, free: 23.18 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003512/0.4359, allocations: 0.9587 MB / 482.2 MB, free: 22.47 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006406/0.4365, allocations: 209 kB / 482.4 MB, free: 22.43 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001225/0.4366, allocations: 58.72 kB / 482.5 MB, free: 22.43 MB / 382.1 MB Notification: Performance of SimCode: time 4.61e-07/0.4366, allocations: 2.406 kB / 482.5 MB, free: 22.43 MB / 382.1 MB Notification: Performance of Templates: time 0.02162/0.4583, allocations: 11.82 MB / 494.3 MB, free: 21.42 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.sim & ./ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe 2>&1) Environment - environmentSimulation: