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.002349/0.002349, allocations: 186.8 kB / 16.4 MB, free: 5.746 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.923/1.923, allocations: 205.4 MB / 222.5 MB, free: 9.129 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.00113/0.00113, allocations: 96.86 kB / 270.9 MB, free: 8.375 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5064/0.5064, allocations: 43.55 MB / 362.7 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000444/0.0004439, allocations: 15.98 kB / 431.4 MB, free: 6.172 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1229/0.1233, allocations: 58.85 MB / 490.2 MB, free: 11.24 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.641/1.765, allocations: 406.9 MB / 0.8761 GB, free: 131.5 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003905/1.765, allocations: 85.31 kB / 0.8761 GB, free: 131.5 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.069/2.835, allocations: 193.4 MB / 1.065 GB, free: 87.23 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.465e-06/2.835, allocations: 0 / 1.065 GB, free: 87.23 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 9.989e-05/2.835, allocations: 28.78 kB / 1.065 GB, free: 87.23 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.005186/2.84, allocations: 1.452 MB / 1.066 GB, free: 86.62 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.494e-05/2.84, allocations: 13.78 kB / 1.066 GB, free: 86.62 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008073/2.841, allocations: 120 kB / 1.067 GB, free: 86.57 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002579/2.843, allocations: 0.7912 MB / 1.067 GB, free: 86.33 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001396/2.844, allocations: 114.1 kB / 1.067 GB, free: 86.26 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002098/2.844, allocations: 68.23 kB / 1.067 GB, free: 86.26 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002971/2.847, allocations: 1.209 MB / 1.069 GB, free: 86.11 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.51e-05/2.847, allocations: 4.344 kB / 1.069 GB, free: 86.11 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000162/2.847, allocations: 29.58 kB / 1.069 GB, free: 86.11 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001456/2.847, allocations: 82.06 kB / 1.069 GB, free: 86.1 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003071/2.85, allocations: 1.185 MB / 1.07 GB, free: 86.09 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01248/2.863, allocations: 4.714 MB / 1.075 GB, free: 84.39 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002046/2.865, allocations: 0.6792 MB / 1.075 GB, free: 84.36 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004915/2.87, allocations: 2.452 MB / 1.078 GB, free: 83.12 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.24e-05/2.87, allocations: 40.31 kB / 1.078 GB, free: 83.08 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=52): time 3.306e-06/2.87, allocations: 2.625 kB / 1.078 GB, free: 83.08 MB / 0.4948 GB Notification: Performance of matching and sorting (n=57): time 0.01148/2.881, allocations: 3.01 MB / 1.081 GB, free: 82.35 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.794e-05/2.882, allocations: 163.8 kB / 1.081 GB, free: 82.16 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001686/2.883, allocations: 0.8281 MB / 1.082 GB, free: 82.04 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002178/2.883, allocations: 41.98 kB / 1.082 GB, free: 82 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003264/2.884, allocations: 472.3 kB / 1.082 GB, free: 81.73 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002516/2.884, allocations: 203.3 kB / 1.082 GB, free: 81.61 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001161/2.884, allocations: 19.56 kB / 1.082 GB, free: 81.61 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.981e-05/2.884, allocations: 348.1 kB / 1.083 GB, free: 81.3 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001216/2.886, allocations: 450.9 kB / 1.083 GB, free: 81.3 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001371/2.887, allocations: 0.6681 MB / 1.084 GB, free: 81.04 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00131/2.888, allocations: 0.5123 MB / 1.084 GB, free: 81.04 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.903e-06/2.888, allocations: 3.094 kB / 1.084 GB, free: 81.04 MB / 0.4948 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.003927/2.892, allocations: 1.447 MB / 1.086 GB, free: 80.85 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005389/2.893, allocations: 2.451 MB / 1.088 GB, free: 78.31 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.747e-05/2.893, allocations: 5.656 kB / 1.088 GB, free: 78.31 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00274/2.896, allocations: 0.5172 MB / 1.088 GB, free: 78.28 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001561/2.897, allocations: 185.9 kB / 1.089 GB, free: 78.28 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003202/2.9, allocations: 2.941 MB / 1.092 GB, free: 75.99 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001875/2.902, allocations: 58.69 kB / 1.092 GB, free: 75.99 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001556/2.903, allocations: 44 kB / 1.092 GB, free: 75.99 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/2.903, allocations: 6.625 kB / 1.092 GB, free: 75.99 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003857/2.906, allocations: 1.366 MB / 1.093 GB, free: 75.84 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.261e-05/2.906, allocations: 9.344 kB / 1.093 GB, free: 75.84 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001579/2.908, allocations: 399 kB / 1.093 GB, free: 75.82 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001567/2.91, allocations: 185.8 kB / 1.094 GB, free: 75.82 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002701/2.912, allocations: 2.82 MB / 1.096 GB, free: 73.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001307/2.914, allocations: 55.53 kB / 1.096 GB, free: 73.52 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001361/2.914, allocations: 39.88 kB / 1.096 GB, free: 73.52 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 () * Number of clocked 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.0008338/2.915, allocations: 371.6 kB / 1.097 GB, free: 73.33 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003195/2.915, allocations: 97.84 kB / 1.097 GB, free: 73.28 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003785/2.919, allocations: 1.405 MB / 1.098 GB, free: 73.07 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.707e-05/2.919, allocations: 7.25 kB / 1.098 GB, free: 73.07 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/2.919, allocations: 0 / 1.098 GB, free: 73.07 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.216e-05/2.919, allocations: 3.703 kB / 1.098 GB, free: 73.07 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005762/2.925, allocations: 2.355 MB / 1.101 GB, free: 72.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.005e-05/2.925, allocations: 0 / 1.101 GB, free: 72.6 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000924/2.926, allocations: 93.42 kB / 1.101 GB, free: 72.6 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002758/2.928, allocations: 0.5025 MB / 1.101 GB, free: 72.58 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002082/2.929, allocations: 17.98 kB / 1.101 GB, free: 72.58 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003427/2.932, allocations: 2.932 MB / 1.104 GB, free: 70.28 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.409e-06/2.932, allocations: 3.047 kB / 1.104 GB, free: 70.28 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005076/2.937, allocations: 1.777 MB / 1.106 GB, free: 69.92 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001104/2.938, allocations: 313.1 kB / 1.106 GB, free: 69.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002892/2.939, allocations: 18.61 kB / 1.106 GB, free: 69.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00148/2.94, allocations: 44.36 kB / 1.106 GB, free: 69.77 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002553/2.941, allocations: 60.44 kB / 1.106 GB, free: 69.76 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001289/2.941, allocations: 33.3 kB / 1.106 GB, free: 69.76 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001421/2.942, allocations: 0.6613 MB / 1.107 GB, free: 69.65 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.41e-07/2.942, allocations: 0 / 1.107 GB, free: 69.65 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.003848/2.946, allocations: 0.8894 MB / 1.108 GB, free: 69.5 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 () * Number of clocked 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.002991/2.949, allocations: 0.838 MB / 1.108 GB, free: 69.25 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.006447/2.956, allocations: 1.881 MB / 1.11 GB, free: 69 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.095e-05/2.956, allocations: 1.375 kB / 1.11 GB, free: 69 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002102/2.958, allocations: 0.5659 MB / 1.111 GB, free: 68.89 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003499/2.961, allocations: 384.9 kB / 1.111 GB, free: 68.88 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006345/2.968, allocations: 2.287 MB / 1.113 GB, free: 68.01 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007753/2.969, allocations: 1.074 MB / 1.115 GB, free: 67.3 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000708/2.969, allocations: 104.7 kB / 1.115 GB, free: 67.3 MB / 0.4948 GB Notification: Performance of SimCode: time 1.402e-06/2.969, allocations: 0 / 1.115 GB, free: 67.3 MB / 0.4948 GB Notification: Performance of Templates: time 0.05841/3.028, allocations: 31.81 MB / 1.146 GB, free: 65.9 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)