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/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+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 ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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/Complex 3.2.1+maint.om/package.mo): time 0.001115/0.001115, allocations: 169.9 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.329/1.329, allocations: 170.6 MB / 183.8 MB, free: 11.42 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001538/0.001538, allocations: 111.5 kB / 223.2 MB, free: 4.043 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1767/0.1767, allocations: 38 MB / 300.4 MB, free: 5.344 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.595e-05/3.604e-05, allocations: 4 kB / 357 MB, free: 32.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1182/0.1182, allocations: 48.71 MB / 405.7 MB, free: 15.64 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8112/0.9295, allocations: 341.4 MB / 0.7296 GB, free: 41.67 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000252/0.9298, allocations: 92.75 kB / 0.7297 GB, free: 41.62 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4862/1.416, allocations: 129.4 MB / 0.856 GB, free: 86.19 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.202e-06/1.416, allocations: 0 / 0.856 GB, free: 86.19 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.095e-05/1.416, allocations: 17.3 kB / 0.856 GB, free: 86.18 MB / 426.7 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.001674/1.418, allocations: 0.8983 MB / 0.8569 GB, free: 85.24 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.733e-05/1.418, allocations: 8.031 kB / 0.8569 GB, free: 85.23 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003293/1.418, allocations: 87.14 kB / 0.857 GB, free: 85.15 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009096/1.419, allocations: 0.5491 MB / 0.8576 GB, free: 84.57 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.005e-05/1.419, allocations: 97.58 kB / 0.8576 GB, free: 84.46 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.163e-05/1.419, allocations: 51.28 kB / 0.8577 GB, free: 84.41 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001055/1.42, allocations: 0.7991 MB / 0.8585 GB, free: 83.54 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.3e-05/1.42, allocations: 7.922 kB / 0.8585 GB, free: 83.53 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.663e-05/1.421, allocations: 30.59 kB / 0.8585 GB, free: 83.5 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.474e-05/1.421, allocations: 44.97 kB / 0.8586 GB, free: 83.46 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007784/1.421, allocations: 0.6088 MB / 0.8591 GB, free: 82.85 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003321/1.425, allocations: 4.004 MB / 0.8631 GB, free: 78.64 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004669/1.425, allocations: 335.3 kB / 0.8634 GB, free: 78.3 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001948/1.425, allocations: 169.2 kB / 0.8635 GB, free: 78.13 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001569/1.427, allocations: 1.825 MB / 0.8653 GB, free: 76.07 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.333e-05/1.427, allocations: 34.56 kB / 0.8654 GB, free: 76.03 MB / 426.7 MB Notification: Performance of pre-optimization done (n=23): time 1.803e-06/1.427, allocations: 0 / 0.8654 GB, free: 76.03 MB / 426.7 MB Notification: Performance of matching and sorting (n=33): time 0.002364/1.429, allocations: 1.122 MB / 0.8665 GB, free: 74.86 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.293e-05/1.429, allocations: 132.5 kB / 0.8666 GB, free: 74.7 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005456/1.43, allocations: 0.5499 MB / 0.8671 GB, free: 74.14 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.844e-05/1.43, allocations: 37.7 kB / 0.8672 GB, free: 74.1 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001819/1.43, allocations: 413.1 kB / 0.8675 GB, free: 73.69 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.068e-05/1.43, allocations: 117.8 kB / 0.8677 GB, free: 73.58 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.443e-05/1.43, allocations: 16 kB / 0.8677 GB, free: 73.56 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.462e-05/1.43, allocations: 378.8 kB / 0.868 GB, free: 73.18 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002229/1.431, allocations: 165.5 kB / 0.8682 GB, free: 73.02 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003483/1.431, allocations: 0.5672 MB / 0.8687 GB, free: 72.25 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003165/1.431, allocations: 295.7 kB / 0.869 GB, free: 71.96 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/1.431, allocations: 4 kB / 0.869 GB, free: 71.96 MB / 426.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.0009228/1.432, allocations: 0.7706 MB / 0.8698 GB, free: 71.18 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.067e-05/1.432, allocations: 8 kB / 0.8698 GB, free: 71.18 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.374e-05/1.432, allocations: 19.94 kB / 0.8698 GB, free: 71.16 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.411e-05/1.432, allocations: 20 kB / 0.8698 GB, free: 71.14 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008346/1.433, allocations: 207.7 kB / 0.87 GB, free: 70.93 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.406e-05/1.433, allocations: 31.86 kB / 0.8701 GB, free: 70.9 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005552/1.434, allocations: 51.94 kB / 0.8701 GB, free: 70.85 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.34e-05/1.434, allocations: 44 kB / 0.8701 GB, free: 70.81 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 61 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 95 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001254/1.434, allocations: 160.6 kB / 0.8703 GB, free: 70.64 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.081e-05/1.434, allocations: 71.11 kB / 0.8704 GB, free: 70.57 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006133/1.435, allocations: 422.3 kB / 0.8708 GB, free: 70.14 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.211e-06/1.435, allocations: 3.984 kB / 0.8708 GB, free: 70.14 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/1.435, allocations: 4 kB / 0.8708 GB, free: 70.13 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/1.435, allocations: 0 / 0.8708 GB, free: 70.13 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001324/1.436, allocations: 1.198 MB / 0.872 GB, free: 68.82 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/1.436, allocations: 4.406 kB / 0.872 GB, free: 68.82 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002359/1.436, allocations: 79.83 kB / 0.872 GB, free: 68.74 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001734/1.436, allocations: 36.84 kB / 0.8721 GB, free: 68.7 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.279e-05/1.437, allocations: 15.98 kB / 0.8721 GB, free: 68.69 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000257/1.437, allocations: 0.5602 MB / 0.8726 GB, free: 68.1 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/1.437, allocations: 7.984 kB / 0.8726 GB, free: 68.09 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006315/1.437, allocations: 0.8244 MB / 0.8734 GB, free: 67.13 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001842/1.438, allocations: 184.1 kB / 0.8736 GB, free: 66.93 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.489e-05/1.438, allocations: 16.06 kB / 0.8736 GB, free: 66.91 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003565/1.438, allocations: 27.98 kB / 0.8737 GB, free: 66.89 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.929e-05/1.438, allocations: 31.86 kB / 0.8737 GB, free: 66.86 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.159e-05/1.438, allocations: 27.98 kB / 0.8737 GB, free: 66.83 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003822/1.439, allocations: 423.1 kB / 0.8741 GB, free: 66.42 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.7e-07/1.439, allocations: 0 / 0.8741 GB, free: 66.42 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007829/1.439, allocations: 211.9 kB / 0.8743 GB, free: 66.21 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 1 (volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 34 * 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.0005476/1.44, allocations: 316.6 kB / 0.8746 GB, free: 65.92 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005912/1.441, allocations: 461.9 kB / 0.8751 GB, free: 65.47 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/1.441, allocations: 0 / 0.8751 GB, free: 65.47 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002848/1.441, allocations: 157.3 kB / 0.8752 GB, free: 65.32 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001175/1.442, allocations: 280.8 kB / 0.8755 GB, free: 65.04 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001346/1.443, allocations: 0.9151 MB / 0.8764 GB, free: 64.06 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003543/1.444, allocations: 0.949 MB / 0.8773 GB, free: 63.09 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.000689/1.444, allocations: 206 kB / 0.8775 GB, free: 62.88 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000117/1.445, allocations: 59.42 kB / 0.8776 GB, free: 62.82 MB / 426.7 MB Notification: Performance of SimCode: time 5.81e-07/1.445, allocations: 0 / 0.8776 GB, free: 62.82 MB / 426.7 MB Notification: Performance of Templates: time 0.0177/1.462, allocations: 11.94 MB / 0.8892 GB, free: 50.95 MB / 426.7 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)