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.002172/0.002172, allocations: 178.4 kB / 8.362 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.105/2.105, allocations: 205.3 MB / 214.1 MB, free: 14.09 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001146/0.001146, allocations: 86.02 kB / 262.1 MB, free: 13.86 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2974/0.2974, allocations: 43.49 MB / 353.6 MB, free: 2.266 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.963e-05/1.966e-05, allocations: 4.219 kB / 418.2 MB, free: 41.04 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4097/0.4097, allocations: 58.85 MB / 477.1 MB, free: 5.27 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.272/1.681, allocations: 406.1 MB / 0.8625 GB, free: 141.3 MB / 0.4952 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002828/1.682, allocations: 84.09 kB / 0.8626 GB, free: 141.3 MB / 0.4952 GB Notification: Performance of FrontEnd - DAE generated: time 1.037/2.719, allocations: 191.3 MB / 1.049 GB, free: 103.1 MB / 0.4952 GB Notification: Performance of FrontEnd: time 3.005e-06/2.719, allocations: 0 / 1.049 GB, free: 103.1 MB / 0.4952 GB Notification: Performance of Transformations before backend: time 0.0001046/2.719, allocations: 30.61 kB / 1.049 GB, free: 103.1 MB / 0.4952 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.004801/2.724, allocations: 1.341 MB / 1.051 GB, free: 102.5 MB / 0.4952 GB Notification: Performance of prepare preOptimizeDAE: time 4.543e-05/2.724, allocations: 7.688 kB / 1.051 GB, free: 102.5 MB / 0.4952 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008723/2.724, allocations: 126.1 kB / 1.051 GB, free: 102.5 MB / 0.4952 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002716/2.727, allocations: 0.7764 MB / 1.052 GB, free: 102.2 MB / 0.4952 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001312/2.727, allocations: 95.39 kB / 1.052 GB, free: 102.2 MB / 0.4952 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002134/2.728, allocations: 42.84 kB / 1.052 GB, free: 102.2 MB / 0.4952 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002539/2.73, allocations: 1.061 MB / 1.053 GB, free: 102.2 MB / 0.4952 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002452/2.733, allocations: 1.102 MB / 1.054 GB, free: 102 MB / 0.4952 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.133e-05/2.733, allocations: 0 / 1.054 GB, free: 102 MB / 0.4952 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001499/2.733, allocations: 11.66 kB / 1.054 GB, free: 102 MB / 0.4952 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001502/2.733, allocations: 71.31 kB / 1.054 GB, free: 102 MB / 0.4952 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01261/2.746, allocations: 4.535 MB / 1.058 GB, free: 100.3 MB / 0.4952 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001786/2.747, allocations: 0.6514 MB / 1.059 GB, free: 100.3 MB / 0.4952 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008461/2.748, allocations: 419.3 kB / 1.059 GB, free: 100.3 MB / 0.4952 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005171/2.754, allocations: 2.573 MB / 1.062 GB, free: 98.86 MB / 0.4952 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.283e-05/2.754, allocations: 39.62 kB / 1.062 GB, free: 98.82 MB / 0.4952 GB Notification: Performance of pre-optimization done (n=50): time 4.519e-06/2.754, allocations: 0 / 1.062 GB, free: 98.82 MB / 0.4952 GB Notification: Performance of matching and sorting (n=55): time 0.01467/2.768, allocations: 3.067 MB / 1.065 GB, free: 98.26 MB / 0.4952 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.78e-05/2.768, allocations: 162.6 kB / 1.065 GB, free: 98.07 MB / 0.4952 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001164/2.77, allocations: 0.6209 MB / 1.066 GB, free: 97.95 MB / 0.4952 GB Notification: Performance of collectPreVariables (initialization): time 0.0001969/2.77, allocations: 26.36 kB / 1.066 GB, free: 97.92 MB / 0.4952 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003442/2.77, allocations: 0.4978 MB / 1.066 GB, free: 97.59 MB / 0.4952 GB Notification: Performance of collectInitialBindings (initialization): time 0.000245/2.77, allocations: 188 kB / 1.066 GB, free: 97.48 MB / 0.4952 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.186e-05/2.771, allocations: 0 / 1.066 GB, free: 97.48 MB / 0.4952 GB Notification: Performance of setup shared object (initialization): time 9.237e-05/2.771, allocations: 354.1 kB / 1.067 GB, free: 97.16 MB / 0.4952 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000963/2.772, allocations: 431.3 kB / 1.067 GB, free: 97.16 MB / 0.4952 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001088/2.773, allocations: 0.6532 MB / 1.068 GB, free: 96.9 MB / 0.4952 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01256/2.785, allocations: 1.62 MB / 1.069 GB, free: 96.89 MB / 0.4952 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-05/2.785, allocations: 0 / 1.069 GB, free: 96.89 MB / 0.4952 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.0151/2.8, allocations: 2.488 MB / 1.072 GB, free: 96.71 MB / 0.4952 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005292/2.801, allocations: 2.446 MB / 1.074 GB, free: 94.17 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.105e-05/2.801, allocations: 6.438 kB / 1.074 GB, free: 94.17 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001704/2.803, allocations: 437.7 kB / 1.075 GB, free: 94.15 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001578/2.804, allocations: 184.2 kB / 1.075 GB, free: 94.14 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004946/2.809, allocations: 3.142 MB / 1.078 GB, free: 91.91 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001817/2.811, allocations: 42.48 kB / 1.078 GB, free: 91.91 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00019/2.811, allocations: 40.84 kB / 1.078 GB, free: 91.91 MB / 0.4952 GB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/2.812, allocations: 3.312 kB / 1.078 GB, free: 91.91 MB / 0.4952 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01446/2.826, allocations: 2.333 MB / 1.08 GB, free: 91.77 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.313e-05/2.826, allocations: 10.22 kB / 1.08 GB, free: 91.77 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001335/2.827, allocations: 373.8 kB / 1.081 GB, free: 91.75 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001534/2.829, allocations: 186 kB / 1.081 GB, free: 91.75 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003943/2.833, allocations: 2.961 MB / 1.084 GB, free: 89.51 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001352/2.834, allocations: 29.73 kB / 1.084 GB, free: 89.51 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001408/2.835, allocations: 48.3 kB / 1.084 GB, free: 89.51 MB / 0.4952 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.0003704/2.835, allocations: 128.2 kB / 1.084 GB, free: 89.4 MB / 0.4952 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002888/2.835, allocations: 86.89 kB / 1.084 GB, free: 89.36 MB / 0.4952 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005356/2.841, allocations: 1.457 MB / 1.085 GB, free: 89.16 MB / 0.4952 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-05/2.841, allocations: 10.97 kB / 1.085 GB, free: 89.16 MB / 0.4952 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/2.841, allocations: 0 / 1.085 GB, free: 89.16 MB / 0.4952 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.225e-05/2.841, allocations: 3.516 kB / 1.085 GB, free: 89.16 MB / 0.4952 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007406/2.848, allocations: 2.414 MB / 1.088 GB, free: 88.73 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.416e-06/2.848, allocations: 0 / 1.088 GB, free: 88.73 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008685/2.849, allocations: 94.14 kB / 1.088 GB, free: 88.73 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001623/2.851, allocations: 424.4 kB / 1.088 GB, free: 88.71 MB / 0.4952 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001255/2.851, allocations: 10.38 kB / 1.088 GB, free: 88.71 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004514/2.855, allocations: 3.086 MB / 1.091 GB, free: 86.47 MB / 0.4952 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.112e-06/2.855, allocations: 0 / 1.091 GB, free: 86.47 MB / 0.4952 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005769/2.861, allocations: 1.91 MB / 1.093 GB, free: 86.11 MB / 0.4952 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008669/2.862, allocations: 285 kB / 1.093 GB, free: 85.97 MB / 0.4952 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000238/2.862, allocations: 7.703 kB / 1.093 GB, free: 85.96 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001209/2.864, allocations: 31.12 kB / 1.093 GB, free: 85.96 MB / 0.4952 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002199/2.864, allocations: 57.55 kB / 1.093 GB, free: 85.96 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001202/2.864, allocations: 27.58 kB / 1.094 GB, free: 85.96 MB / 0.4952 GB Notification: Performance of sorting global known variables: time 0.0008468/2.865, allocations: 490.4 kB / 1.094 GB, free: 85.87 MB / 0.4952 GB Notification: Performance of sort global known variables: time 5.81e-07/2.865, allocations: 2.594 kB / 1.094 GB, free: 85.87 MB / 0.4952 GB Notification: Performance of remove unused functions: time 0.00363/2.868, allocations: 0.8359 MB / 1.095 GB, free: 85.72 MB / 0.4952 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.002863/2.871, allocations: 0.8386 MB / 1.096 GB, free: 85.46 MB / 0.4952 GB Notification: Performance of simCode: created initialization part: time 0.005135/2.877, allocations: 1.764 MB / 1.097 GB, free: 85.25 MB / 0.4952 GB Notification: Performance of simCode: created event and clocks part: time 8.626e-06/2.877, allocations: 2.75 kB / 1.097 GB, free: 85.25 MB / 0.4952 GB Notification: Performance of simCode: created simulation system equations: time 0.001626/2.878, allocations: 0.5479 MB / 1.098 GB, free: 85.13 MB / 0.4952 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002761/2.881, allocations: 318.2 kB / 1.098 GB, free: 85.11 MB / 0.4952 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004689/2.886, allocations: 1.461 MB / 1.1 GB, free: 84.72 MB / 0.4952 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006502/2.886, allocations: 1.078 MB / 1.101 GB, free: 83.99 MB / 0.4952 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005644/2.887, allocations: 92.48 kB / 1.101 GB, free: 83.98 MB / 0.4952 GB Notification: Performance of SimCode: time 9.12e-07/2.887, allocations: 0 / 1.101 GB, free: 83.98 MB / 0.4952 GB Notification: Performance of Templates: time 0.05444/2.942, allocations: 30.74 MB / 1.131 GB, free: 79.32 MB / 0.4952 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)