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.001164/0.001164, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00134/0.00134, allocations: 190 kB / 16.25 MB, free: 6.629 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.538/1.538, allocations: 205.1 MB / 222.1 MB, free: 4.723 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.4016/0.4016, allocations: 37.98 MB / 307.4 MB, free: 10.06 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.001818/0.001818, allocations: 60.47 kB / 374.8 MB, free: 15.53 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1289/0.1307, allocations: 56.46 MB / 431.2 MB, free: 6.969 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater): time 0.01884/0.1496, allocations: 16.94 MB / 448.2 MB, free: 5.945 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00799/0.1577, allocations: 5.536 MB / 453.7 MB, free: 408 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001133/0.1588, allocations: 31.75 kB / 453.7 MB, free: 376 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009385/0.1599, allocations: 270.5 kB / 454 MB, free: 104 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.1858/0.3457, allocations: 0.7754 MB / 454.8 MB, free: 35.19 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00248/0.3482, allocations: 0.9258 MB / 455.7 MB, free: 35.19 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001949/0.3502, allocations: 1.794 MB / 457.5 MB, free: 35.19 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005866/0.3508, allocations: 448 kB / 457.9 MB, free: 35.17 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001064/0.3519, allocations: 0.7516 MB / 458.7 MB, free: 35.16 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006589/0.3525, allocations: 0.6427 MB / 459.3 MB, free: 35.09 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.792e-05/0.3526, allocations: 59.38 kB / 459.4 MB, free: 35.09 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007638/0.3534, allocations: 349.1 kB / 459.7 MB, free: 35.08 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002153/0.3536, allocations: 267.8 kB / 460 MB, free: 35.05 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000307/0.3539, allocations: 395 kB / 460.4 MB, free: 34.95 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001071/0.355, allocations: 1.107 MB / 461.5 MB, free: 34.81 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.355, allocations: 3.938 kB / 461.5 MB, free: 34.81 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.644e-06/0.355, allocations: 4 kB / 461.5 MB, free: 34.8 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.162e-05/0.3551, allocations: 3.344 kB / 461.5 MB, free: 34.8 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.001767/0.3568, allocations: 1.038 MB / 462.5 MB, free: 34.21 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/0.3569, allocations: 9.219 kB / 462.5 MB, free: 34.21 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003246/0.3572, allocations: 92.67 kB / 462.6 MB, free: 34.17 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005938/0.3578, allocations: 0.5076 MB / 463.1 MB, free: 33.91 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.32e-05/0.3579, allocations: 106.8 kB / 463.2 MB, free: 33.84 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.809e-05/0.358, allocations: 54.73 kB / 463.3 MB, free: 33.84 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001041/0.359, allocations: 0.8313 MB / 464.1 MB, free: 33.6 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.196e-05/0.3591, allocations: 6 kB / 464.1 MB, free: 33.6 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.909e-05/0.3591, allocations: 23.34 kB / 464.1 MB, free: 33.6 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.783e-05/0.3592, allocations: 42.97 kB / 464.2 MB, free: 33.6 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008475/0.3601, allocations: 0.6409 MB / 464.8 MB, free: 33.59 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.003459/0.3635, allocations: 4.333 MB / 469.2 MB, free: 30.6 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005425/0.3641, allocations: 342.8 kB / 469.5 MB, free: 30.57 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002352/0.3643, allocations: 184 kB / 469.7 MB, free: 30.56 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001368/0.3657, allocations: 1.714 MB / 471.4 MB, free: 29.12 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.317e-05/0.3657, allocations: 36.94 kB / 471.4 MB, free: 29.08 MB / 382.1 MB Notification: Performance of pre-optimization done (n=26): time 2.935e-06/0.3657, allocations: 3.984 kB / 471.4 MB, free: 29.07 MB / 382.1 MB Notification: Performance of matching and sorting (n=37): time 0.003134/0.3689, allocations: 1.39 MB / 472.8 MB, free: 28.66 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.145e-05/0.369, allocations: 134.5 kB / 472.9 MB, free: 28.51 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006299/0.3696, allocations: 0.6286 MB / 473.6 MB, free: 28.37 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.046e-05/0.3696, allocations: 35.45 kB / 473.6 MB, free: 28.34 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000229/0.3699, allocations: 398.7 kB / 474 MB, free: 28.11 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.901e-05/0.37, allocations: 133.8 kB / 474.1 MB, free: 28.04 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001881/0.3702, allocations: 148 kB / 474.3 MB, free: 28.01 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001004/0.3703, allocations: 384.2 kB / 474.6 MB, free: 27.69 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002648/0.3705, allocations: 187.3 kB / 474.8 MB, free: 27.63 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004087/0.371, allocations: 0.5523 MB / 475.4 MB, free: 27.09 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006857/0.3717, allocations: 0.779 MB / 476.2 MB, free: 26.46 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.698e-06/0.3717, allocations: 7.062 kB / 476.2 MB, free: 26.46 MB / 382.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001098/0.3728, allocations: 0.8272 MB / 477 MB, free: 26.18 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.488e-05/0.3728, allocations: 12.66 kB / 477 MB, free: 26.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.389e-05/0.3728, allocations: 12.25 kB / 477 MB, free: 26.18 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003849/0.3732, allocations: 96.94 kB / 477.1 MB, free: 26.15 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006028/0.3738, allocations: 185.4 kB / 477.3 MB, free: 26.14 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004322/0.3743, allocations: 0.6685 MB / 478 MB, free: 25.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005351/0.3748, allocations: 43.97 kB / 478 MB, free: 25.55 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.456e-05/0.3749, allocations: 41.3 kB / 478.1 MB, free: 25.55 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 (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 {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0003024/0.3752, allocations: 258.6 kB / 478.3 MB, free: 25.37 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001049/0.3753, allocations: 69.03 kB / 478.4 MB, free: 25.34 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007935/0.3761, allocations: 0.4995 MB / 478.9 MB, free: 25.1 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.3761, allocations: 7 kB / 478.9 MB, free: 25.09 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.3761, allocations: 0 / 478.9 MB, free: 25.09 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.71e-06/0.3761, allocations: 0 / 478.9 MB, free: 25.09 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001528/0.3777, allocations: 1.222 MB / 480.1 MB, free: 24.38 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.3777, allocations: 3.25 kB / 480.1 MB, free: 24.38 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002638/0.378, allocations: 76.92 kB / 480.2 MB, free: 24.38 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001631/0.3781, allocations: 43 kB / 480.2 MB, free: 24.36 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.719e-05/0.3782, allocations: 14.8 kB / 480.2 MB, free: 24.36 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002436/0.3784, allocations: 0.5636 MB / 480.8 MB, free: 23.82 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.297e-06/0.3784, allocations: 3.125 kB / 480.8 MB, free: 23.82 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007624/0.3792, allocations: 0.7263 MB / 481.5 MB, free: 23.36 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002156/0.3794, allocations: 197.1 kB / 481.7 MB, free: 23.2 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001021/0.3795, allocations: 10.47 kB / 481.7 MB, free: 23.19 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004098/0.38, allocations: 34.81 kB / 481.8 MB, free: 23.18 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.559e-05/0.38, allocations: 27.86 kB / 481.8 MB, free: 23.17 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.89e-05/0.3801, allocations: 23.53 kB / 481.8 MB, free: 23.17 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004734/0.3805, allocations: 475.4 kB / 482.3 MB, free: 22.96 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3805, allocations: 0 / 482.3 MB, free: 22.96 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008052/0.3813, allocations: 205.9 kB / 482.5 MB, free: 22.93 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 (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 {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000529/0.3819, allocations: 249.6 kB / 482.7 MB, free: 22.81 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009861/0.3829, allocations: 0.5287 MB / 483.3 MB, free: 22.67 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.683e-06/0.3829, allocations: 9.984 kB / 483.3 MB, free: 22.67 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002899/0.3832, allocations: 182.7 kB / 483.4 MB, free: 22.62 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001532/0.3847, allocations: 358.7 kB / 483.8 MB, free: 22.53 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001829/0.3866, allocations: 1.511 MB / 485.3 MB, free: 21.59 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003624/0.387, allocations: 0.9366 MB / 486.2 MB, free: 20.86 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0007146/0.3877, allocations: 206.8 kB / 486.4 MB, free: 20.82 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001486/0.3878, allocations: 54.59 kB / 486.5 MB, free: 20.81 MB / 382.1 MB Notification: Performance of SimCode: time 1.603e-06/0.3878, allocations: 7.125 kB / 486.5 MB, free: 20.81 MB / 382.1 MB Notification: Performance of Templates: time 0.03091/0.4188, allocations: 13.41 MB / 499.9 MB, free: 19.65 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.makefile (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)