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.008588/0.008589, allocations: 166.5 kB / 15.11 MB, free: 5.969 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.616/1.616, allocations: 170.8 MB / 186.6 MB, free: 0.9688 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.001846/0.001846, allocations: 118.5 kB / 226.2 MB, free: 10.08 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.3893/0.3893, allocations: 38.05 MB / 303.7 MB, free: 42.58 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004705/0.0004706, allocations: 8 kB / 362.9 MB, free: 5.594 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1607/0.1612, allocations: 48.69 MB / 411.6 MB, free: 4.824 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.012/1.173, allocations: 341.5 MB / 0.7354 GB, free: 6.062 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002604/1.173, allocations: 95.66 kB / 0.7355 GB, free: 6.008 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5645/1.738, allocations: 129.8 MB / 0.8623 GB, free: 50.26 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.825e-06/1.738, allocations: 0 / 0.8623 GB, free: 50.26 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.134e-05/1.738, allocations: 24.14 kB / 0.8624 GB, free: 50.24 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.002015/1.74, allocations: 0.9586 MB / 0.8633 GB, free: 49.23 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/1.74, allocations: 8.031 kB / 0.8633 GB, free: 49.22 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003248/1.74, allocations: 87.06 kB / 0.8634 GB, free: 49.14 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009972/1.741, allocations: 0.5591 MB / 0.8639 GB, free: 48.54 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.789e-05/1.741, allocations: 104.4 kB / 0.864 GB, free: 48.43 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.138e-05/1.741, allocations: 51.89 kB / 0.8641 GB, free: 48.38 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001127/1.743, allocations: 0.8113 MB / 0.8649 GB, free: 47.48 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.27e-05/1.743, allocations: 4 kB / 0.8649 GB, free: 47.47 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.017e-05/1.743, allocations: 27.98 kB / 0.8649 GB, free: 47.45 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.352e-05/1.743, allocations: 36.98 kB / 0.8649 GB, free: 47.41 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008505/1.744, allocations: 0.6165 MB / 0.8655 GB, free: 46.79 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003705/1.747, allocations: 4.019 MB / 0.8695 GB, free: 42.54 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005105/1.748, allocations: 338.2 kB / 0.8698 GB, free: 42.2 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001721/1.75, allocations: 1.78 MB / 0.8715 GB, free: 40.18 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.26e-05/1.75, allocations: 34.56 kB / 0.8716 GB, free: 40.13 MB / 426.7 MB Notification: Performance of pre-optimization done (n=23): time 1.823e-06/1.75, allocations: 3.938 kB / 0.8716 GB, free: 40.13 MB / 426.7 MB Notification: Performance of matching and sorting (n=33): time 0.002501/1.752, allocations: 1.201 MB / 0.8727 GB, free: 38.87 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.213e-05/1.752, allocations: 132.5 kB / 0.8729 GB, free: 38.71 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005723/1.753, allocations: 0.5538 MB / 0.8734 GB, free: 38.15 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.226e-05/1.753, allocations: 29.7 kB / 0.8734 GB, free: 38.12 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002081/1.753, allocations: 417.9 kB / 0.8738 GB, free: 37.7 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.711e-05/1.753, allocations: 126.4 kB / 0.8739 GB, free: 37.58 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.507e-05/1.753, allocations: 19.94 kB / 0.874 GB, free: 37.56 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001001/1.753, allocations: 370.8 kB / 0.8743 GB, free: 37.19 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002203/1.753, allocations: 177.9 kB / 0.8745 GB, free: 37.02 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003985/1.754, allocations: 0.5694 MB / 0.875 GB, free: 36.25 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003246/1.754, allocations: 287.7 kB / 0.8753 GB, free: 35.97 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/1.754, allocations: 4 kB / 0.8753 GB, free: 35.97 MB / 426.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.0009067/1.755, allocations: 0.7822 MB / 0.8761 GB, free: 35.18 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.433e-05/1.755, allocations: 15.98 kB / 0.8761 GB, free: 35.16 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.156e-05/1.755, allocations: 16 kB / 0.8761 GB, free: 35.15 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.615e-05/1.755, allocations: 23.94 kB / 0.8761 GB, free: 35.12 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007436/1.756, allocations: 207.7 kB / 0.8763 GB, free: 34.92 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.124e-05/1.756, allocations: 31.86 kB / 0.8764 GB, free: 34.89 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005381/1.757, allocations: 43.98 kB / 0.8764 GB, free: 34.85 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.866e-05/1.757, allocations: 43.98 kB / 0.8765 GB, free: 34.8 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 () * Number of clocked 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.0002865/1.757, allocations: 263.3 kB / 0.8767 GB, free: 34.54 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.425e-05/1.757, allocations: 67.16 kB / 0.8768 GB, free: 34.47 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006175/1.758, allocations: 438.1 kB / 0.8772 GB, free: 34.02 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/1.758, allocations: 4 kB / 0.8772 GB, free: 34.02 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.271e-06/1.758, allocations: 0 / 0.8772 GB, free: 34.02 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/1.758, allocations: 4 kB / 0.8772 GB, free: 34.02 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001391/1.759, allocations: 1.211 MB / 0.8784 GB, free: 32.69 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/1.759, allocations: 4.406 kB / 0.8784 GB, free: 32.68 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000251/1.759, allocations: 71.91 kB / 0.8785 GB, free: 32.61 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002104/1.76, allocations: 40.83 kB / 0.8785 GB, free: 32.57 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.623e-05/1.76, allocations: 16 kB / 0.8785 GB, free: 32.55 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003079/1.76, allocations: 0.5639 MB / 0.8791 GB, free: 31.96 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/1.76, allocations: 4 kB / 0.8791 GB, free: 31.96 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007299/1.761, allocations: 0.8248 MB / 0.8799 GB, free: 30.99 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002137/1.761, allocations: 184.2 kB / 0.88 GB, free: 30.79 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.781e-05/1.761, allocations: 16.06 kB / 0.8801 GB, free: 30.78 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003686/1.761, allocations: 23.98 kB / 0.8801 GB, free: 30.75 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.35e-05/1.761, allocations: 31.86 kB / 0.8801 GB, free: 30.72 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.707e-05/1.761, allocations: 27.98 kB / 0.8801 GB, free: 30.7 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004183/1.762, allocations: 427 kB / 0.8805 GB, free: 30.29 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.7e-07/1.762, allocations: 0 / 0.8805 GB, free: 30.29 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0008729/1.763, allocations: 211.9 kB / 0.8807 GB, free: 30.08 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 () * Number of clocked 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.0006796/1.763, allocations: 328.7 kB / 0.8811 GB, free: 29.75 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006313/1.764, allocations: 461.9 kB / 0.8815 GB, free: 29.3 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/1.764, allocations: 0 / 0.8815 GB, free: 29.3 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003552/1.764, allocations: 161.5 kB / 0.8817 GB, free: 29.15 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001148/1.766, allocations: 273.8 kB / 0.8819 GB, free: 28.88 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001725/1.767, allocations: 1.513 MB / 0.8834 GB, free: 27.29 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003713/1.768, allocations: 0.9492 MB / 0.8843 GB, free: 26.32 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0006476/1.768, allocations: 198 kB / 0.8845 GB, free: 26.12 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001181/1.769, allocations: 55.42 kB / 0.8846 GB, free: 26.07 MB / 426.7 MB Notification: Performance of SimCode: time 5.31e-07/1.769, allocations: 4 kB / 0.8846 GB, free: 26.06 MB / 426.7 MB Notification: Performance of Templates: time 0.0184/1.787, allocations: 11.66 MB / 0.8959 GB, free: 14.45 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)