Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol1.medium.T|vol1.medium.p",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization") translateModel(ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol1.medium.T|vol1.medium.p",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001578/0.001579, allocations: 181.9 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.084/2.084, allocations: 205.2 MB / 219.4 MB, free: 14.28 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001089/0.001088, allocations: 86.7 kB / 267.5 MB, free: 14.11 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2782/0.2782, allocations: 43.48 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.289e-05/3.294e-05, allocations: 4 kB / 425.3 MB, free: 23.36 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1166/0.1167, allocations: 58.85 MB / 484.1 MB, free: 12.46 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.218/1.335, allocations: 406.8 MB / 0.87 GB, free: 17.66 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003033/1.335, allocations: 90.55 kB / 0.8701 GB, free: 17.62 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.9864/2.322, allocations: 192.8 MB / 1.058 GB, free: 31.72 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.333e-06/2.322, allocations: 0 / 1.058 GB, free: 31.72 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 8.616e-05/2.322, allocations: 27.98 kB / 1.058 GB, free: 31.69 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 179 * Number of variables: 179 Notification: Performance of Generate backend data structure: time 0.004019/2.326, allocations: 1.344 MB / 1.06 GB, free: 30.3 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/2.326, allocations: 15.97 kB / 1.06 GB, free: 30.29 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000564/2.327, allocations: 118.8 kB / 1.06 GB, free: 30.17 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002227/2.329, allocations: 0.7804 MB / 1.061 GB, free: 29.35 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001169/2.329, allocations: 112.7 kB / 1.061 GB, free: 29.22 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001817/2.329, allocations: 71.92 kB / 1.061 GB, free: 29.15 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002554/2.332, allocations: 1.195 MB / 1.062 GB, free: 27.91 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.742e-05/2.332, allocations: 7.938 kB / 1.062 GB, free: 27.9 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000152/2.332, allocations: 27.98 kB / 1.062 GB, free: 27.88 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001425/2.332, allocations: 73.94 kB / 1.062 GB, free: 27.8 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00262/2.335, allocations: 1.167 MB / 1.063 GB, free: 26.63 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01201/2.347, allocations: 4.731 MB / 1.068 GB, free: 21.67 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001866/2.349, allocations: 0.6678 MB / 1.068 GB, free: 20.99 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009288/2.35, allocations: 420.8 kB / 1.069 GB, free: 20.58 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004888/2.354, allocations: 2.493 MB / 1.071 GB, free: 17.88 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.019e-05/2.355, allocations: 39 kB / 1.071 GB, free: 17.83 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=52): time 3.797e-06/2.355, allocations: 0 / 1.071 GB, free: 17.83 MB / 0.4948 GB Notification: Performance of matching and sorting (n=57): time 0.00751/2.362, allocations: 2.357 MB / 1.074 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.169e-05/2.362, allocations: 158.8 kB / 1.074 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001596/2.364, allocations: 0.8327 MB / 1.075 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002299/2.364, allocations: 41.7 kB / 1.075 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003176/2.364, allocations: 461.8 kB / 1.075 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002329/2.365, allocations: 201.1 kB / 1.075 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001084/2.365, allocations: 20 kB / 1.075 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.333e-05/2.365, allocations: 347.2 kB / 1.076 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001076/2.366, allocations: 437.8 kB / 1.076 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001196/2.367, allocations: 0.6699 MB / 1.077 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001161/2.368, allocations: 0.5018 MB / 1.077 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.923e-06/2.368, allocations: 4 kB / 1.077 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.003503/2.372, allocations: 1.433 MB / 1.079 GB, free: 10.12 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004971/2.372, allocations: 2.444 MB / 1.081 GB, free: 7.488 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.539e-05/2.372, allocations: 4 kB / 1.081 GB, free: 7.484 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002527/2.375, allocations: 0.506 MB / 1.081 GB, free: 6.969 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0015/2.377, allocations: 187.7 kB / 1.082 GB, free: 6.785 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003004/2.38, allocations: 2.927 MB / 1.085 GB, free: 3.672 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001724/2.381, allocations: 60.11 kB / 1.085 GB, free: 3.613 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001451/2.381, allocations: 39.98 kB / 1.085 GB, free: 3.574 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/2.381, allocations: 7.938 kB / 1.085 GB, free: 3.566 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003504/2.385, allocations: 1.353 MB / 1.086 GB, free: 2.184 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.351e-05/2.385, allocations: 4 kB / 1.086 GB, free: 2.18 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001499/2.387, allocations: 394.2 kB / 1.086 GB, free: 1.785 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001456/2.388, allocations: 183.7 kB / 1.086 GB, free: 1.605 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3521/2.74, allocations: 2.799 MB / 1.089 GB, free: 96.21 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001348/2.742, allocations: 58.45 kB / 1.089 GB, free: 96.21 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001482/2.742, allocations: 43.83 kB / 1.089 GB, free: 96.21 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 4 (vol1.inFlow[1],vol1.inFlow[2],vol1.regularFlow[2],vol1.regularFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 96 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 2 {2 5,2 5} Notification: Performance of prepare postOptimizeDAE: time 0.0003641/2.742, allocations: 165 kB / 1.089 GB, free: 96.11 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003326/2.742, allocations: 95.38 kB / 1.09 GB, free: 96.11 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003983/2.746, allocations: 1.381 MB / 1.091 GB, free: 95.93 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.767e-05/2.747, allocations: 7.719 kB / 1.091 GB, free: 95.93 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/2.747, allocations: 0.5625 kB / 1.091 GB, free: 95.93 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.546e-05/2.747, allocations: 3.969 kB / 1.091 GB, free: 95.93 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005664/2.752, allocations: 2.336 MB / 1.093 GB, free: 95.49 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.104e-06/2.752, allocations: 0.9688 kB / 1.093 GB, free: 95.49 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000894/2.753, allocations: 95.3 kB / 1.093 GB, free: 95.49 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002344/2.756, allocations: 0.5014 MB / 1.094 GB, free: 95.47 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.443e-05/2.756, allocations: 19.78 kB / 1.094 GB, free: 95.46 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002902/2.759, allocations: 2.908 MB / 1.097 GB, free: 93.19 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/2.759, allocations: 1.766 kB / 1.097 GB, free: 93.19 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004314/2.763, allocations: 1.765 MB / 1.098 GB, free: 92.87 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008959/2.764, allocations: 310 kB / 1.099 GB, free: 92.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000231/2.764, allocations: 19.08 kB / 1.099 GB, free: 92.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001227/2.765, allocations: 41.58 kB / 1.099 GB, free: 92.73 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002379/2.766, allocations: 58.5 kB / 1.099 GB, free: 92.73 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001157/2.766, allocations: 31.06 kB / 1.099 GB, free: 92.73 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001432/2.767, allocations: 0.6494 MB / 1.099 GB, free: 92.61 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.81e-07/2.767, allocations: 0 / 1.099 GB, free: 92.61 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.003659/2.771, allocations: 0.8964 MB / 1.1 GB, free: 92.61 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (vol1.medium.p,vol1.medium.T) * Number of discrete variables: 2 (vol1.inFlow[1],vol1.inFlow[2]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 2 {2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.002829/2.774, allocations: 0.8357 MB / 1.101 GB, free: 92.52 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.005888/2.78, allocations: 1.849 MB / 1.103 GB, free: 92.3 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.167e-06/2.78, allocations: 1.188 kB / 1.103 GB, free: 92.3 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001786/2.781, allocations: 0.5684 MB / 1.104 GB, free: 92.17 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003117/2.785, allocations: 383.8 kB / 1.104 GB, free: 92.17 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004881/2.79, allocations: 1.523 MB / 1.105 GB, free: 91.8 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008119/2.79, allocations: 1.078 MB / 1.106 GB, free: 91.09 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006243/2.791, allocations: 97.84 kB / 1.107 GB, free: 91.09 MB / 0.4948 GB Notification: Performance of SimCode: time 9.72e-07/2.791, allocations: 0 / 1.107 GB, free: 91.09 MB / 0.4948 GB Notification: Performance of Templates: time 0.05424/2.845, allocations: 31.72 MB / 1.137 GB, free: 90.27 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.pipe 2>&1)