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.0008394/0.0008394, 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.001184/0.001184, allocations: 176.8 kB / 16.27 MB, free: 6.664 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.447/1.447, allocations: 205.4 MB / 222.4 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.3054/0.3054, allocations: 38.03 MB / 308.8 MB, free: 10.33 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.0005651/0.000565, allocations: 12 kB / 377.1 MB, free: 14.83 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1043/0.1049, allocations: 57.54 MB / 434.6 MB, free: 5.195 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater): time 0.01607/0.121, allocations: 16.4 MB / 451 MB, free: 4.723 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2011/0.3222, allocations: 5.514 MB / 456.5 MB, free: 33.4 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009882/0.3232, allocations: 27 kB / 456.5 MB, free: 33.4 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008761/0.3241, allocations: 275.4 kB / 456.8 MB, free: 33.4 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001883/0.326, allocations: 0.7853 MB / 457.6 MB, free: 33.39 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002048/0.3281, allocations: 0.9094 MB / 458.5 MB, free: 33.38 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001965/0.3301, allocations: 2.647 MB / 461.1 MB, free: 33.38 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005202/0.3306, allocations: 400.5 kB / 461.5 MB, free: 33.36 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009683/0.3316, allocations: 0.6541 MB / 462.2 MB, free: 33.31 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007555/0.3323, allocations: 0.6337 MB / 462.8 MB, free: 33.26 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.825e-05/0.3324, allocations: 28.91 kB / 462.8 MB, free: 33.26 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007883/0.3332, allocations: 337.7 kB / 463.2 MB, free: 33.23 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001891/0.3334, allocations: 237.2 kB / 463.4 MB, free: 33.21 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002836/0.3337, allocations: 397.2 kB / 463.8 MB, free: 33.07 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008992/0.3346, allocations: 1.067 MB / 464.9 MB, free: 32.92 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.3346, allocations: 0 / 464.9 MB, free: 32.92 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3346, allocations: 0 / 464.9 MB, free: 32.92 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.616e-06/0.3347, allocations: 0 / 464.9 MB, free: 32.92 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.001471/0.3361, allocations: 0.9036 MB / 465.8 MB, free: 32.33 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.525e-05/0.3362, allocations: 9.312 kB / 465.8 MB, free: 32.33 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003051/0.3365, allocations: 93.52 kB / 465.9 MB, free: 32.29 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006055/0.3371, allocations: 0.5035 MB / 466.4 MB, free: 32.02 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.911e-05/0.3372, allocations: 103.3 kB / 466.5 MB, free: 31.95 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.927e-05/0.3373, allocations: 57.48 kB / 466.5 MB, free: 31.94 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000988/0.3383, allocations: 0.8293 MB / 467.4 MB, free: 31.7 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.236e-05/0.3383, allocations: 15.12 kB / 467.4 MB, free: 31.68 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.886e-05/0.3384, allocations: 23.95 kB / 467.4 MB, free: 31.68 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.663e-05/0.3384, allocations: 40.16 kB / 467.4 MB, free: 31.68 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008437/0.3393, allocations: 0.6427 MB / 468.1 MB, free: 31.66 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.003381/0.3427, allocations: 4.336 MB / 472.4 MB, free: 28.64 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005651/0.3432, allocations: 349.3 kB / 472.8 MB, free: 28.61 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002324/0.3435, allocations: 176.8 kB / 472.9 MB, free: 28.6 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001309/0.3448, allocations: 1.706 MB / 474.6 MB, free: 27.16 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.083e-05/0.3448, allocations: 37.91 kB / 474.7 MB, free: 27.12 MB / 382.1 MB Notification: Performance of pre-optimization done (n=26): time 1.442e-06/0.3449, allocations: 0 / 474.7 MB, free: 27.12 MB / 382.1 MB Notification: Performance of matching and sorting (n=37): time 0.003051/0.3479, allocations: 1.404 MB / 476.1 MB, free: 26.7 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.669e-05/0.348, allocations: 131.9 kB / 476.2 MB, free: 26.54 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005915/0.3486, allocations: 0.6279 MB / 476.8 MB, free: 26.4 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.071e-05/0.3486, allocations: 36.73 kB / 476.9 MB, free: 26.37 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001953/0.3488, allocations: 400 kB / 477.3 MB, free: 26.15 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.372e-05/0.3489, allocations: 129.8 kB / 477.4 MB, free: 26.07 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.184e-05/0.349, allocations: 69.16 kB / 477.5 MB, free: 26.06 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.354e-05/0.3491, allocations: 374.5 kB / 477.8 MB, free: 25.75 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000265/0.3494, allocations: 194.8 kB / 478 MB, free: 25.74 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003869/0.3497, allocations: 0.5504 MB / 478.6 MB, free: 25.27 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006872/0.3504, allocations: 0.7845 MB / 479.3 MB, free: 24.78 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.201e-06/0.3505, allocations: 6.344 kB / 479.3 MB, free: 24.78 MB / 382.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001201/0.3517, allocations: 0.8295 MB / 480.2 MB, free: 24.61 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.913e-05/0.3517, allocations: 13.16 kB / 480.2 MB, free: 24.61 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.387e-05/0.3517, allocations: 9.5 kB / 480.2 MB, free: 24.61 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003921/0.3521, allocations: 104.6 kB / 480.3 MB, free: 24.59 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005736/0.3527, allocations: 176.2 kB / 480.5 MB, free: 24.58 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003955/0.3531, allocations: 0.6716 MB / 481.1 MB, free: 24.05 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005037/0.3536, allocations: 48.17 kB / 481.2 MB, free: 24.04 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.151e-05/0.3537, allocations: 39.41 kB / 481.2 MB, free: 24.04 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.0002889/0.354, allocations: 255.2 kB / 481.5 MB, free: 23.91 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.759e-05/0.3541, allocations: 64.28 kB / 481.5 MB, free: 23.88 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007177/0.3548, allocations: 0.5163 MB / 482.1 MB, free: 23.77 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.3548, allocations: 3.094 kB / 482.1 MB, free: 23.77 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.3548, allocations: 0 / 482.1 MB, free: 23.77 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.3548, allocations: 0 / 482.1 MB, free: 23.77 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001413/0.3563, allocations: 1.216 MB / 483.3 MB, free: 23.34 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-06/0.3563, allocations: 11 kB / 483.3 MB, free: 23.33 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000252/0.3565, allocations: 73.41 kB / 483.4 MB, free: 23.33 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001481/0.3567, allocations: 42.5 kB / 483.4 MB, free: 23.32 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.197e-05/0.3567, allocations: 9.969 kB / 483.4 MB, free: 23.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002079/0.3569, allocations: 0.5688 MB / 484 MB, free: 22.79 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.357, allocations: 7.469 kB / 484 MB, free: 22.79 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007159/0.3577, allocations: 0.7174 MB / 484.7 MB, free: 22.35 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002033/0.3579, allocations: 204.8 kB / 484.9 MB, free: 22.18 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.92e-05/0.358, allocations: 7.75 kB / 484.9 MB, free: 22.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003934/0.3584, allocations: 29.97 kB / 484.9 MB, free: 22.17 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.322e-05/0.3585, allocations: 31 kB / 485 MB, free: 22.16 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.552e-05/0.3585, allocations: 23.95 kB / 485 MB, free: 22.16 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004448/0.3589, allocations: 475 kB / 485.5 MB, free: 21.95 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.359, allocations: 0 / 485.5 MB, free: 21.95 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007446/0.3597, allocations: 201.9 kB / 485.7 MB, free: 21.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.000459/0.3602, allocations: 251.4 kB / 485.9 MB, free: 21.79 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008226/0.361, allocations: 0.4907 MB / 486.4 MB, free: 21.63 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.701e-06/0.361, allocations: 5.766 kB / 486.4 MB, free: 21.63 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002798/0.3613, allocations: 181.5 kB / 486.6 MB, free: 21.58 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001846/0.3632, allocations: 340.1 kB / 486.9 MB, free: 21.5 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002282/0.3655, allocations: 1.598 MB / 488.5 MB, free: 20.53 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005212/0.366, allocations: 0.9407 MB / 489.4 MB, free: 19.8 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0008392/0.3668, allocations: 204.2 kB / 489.6 MB, free: 19.77 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001693/0.367, allocations: 57.91 kB / 489.7 MB, free: 19.76 MB / 382.1 MB Notification: Performance of SimCode: time 5.51e-07/0.367, allocations: 3.938 kB / 489.7 MB, free: 19.76 MB / 382.1 MB Notification: Performance of Templates: time 0.02407/0.3911, allocations: 12.89 MB / 0.4908 GB, free: 18.31 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: