Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts") translateModel(ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.005698/0.005698, allocations: 175.9 kB / 15.12 MB, free: 5.578 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.612/1.612, allocations: 194.5 MB / 210.3 MB, free: 8.516 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001793/0.001793, allocations: 124.6 kB / 255.6 MB, free: 11.12 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2048/0.2048, allocations: 40.01 MB / 340.8 MB, free: 11.52 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004375/0.0004376, allocations: 19.5 kB / 406.2 MB, free: 51.98 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1441/0.1446, allocations: 54.87 MB / 461 MB, free: 3.383 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.724/7.869, allocations: 2.597 GB / 3.047 GB, free: 73.75 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003057/7.869, allocations: 93.22 kB / 3.047 GB, free: 73.7 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.656/10.53, allocations: 0.5519 GB / 3.599 GB, free: 43.95 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.276e-06/10.53, allocations: 1.859 kB / 3.599 GB, free: 43.95 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001302/10.53, allocations: 25.5 kB / 3.599 GB, free: 43.95 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.01172/10.54, allocations: 2.122 MB / 3.601 GB, free: 42.88 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.331e-05/10.54, allocations: 11.75 kB / 3.601 GB, free: 42.88 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003343/10.54, allocations: 328 kB / 3.601 GB, free: 42.82 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00258/10.54, allocations: 0.6896 MB / 3.602 GB, free: 42.54 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000311/10.54, allocations: 302 kB / 3.602 GB, free: 42.28 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004749/10.54, allocations: 87.64 kB / 3.602 GB, free: 42.28 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004368/10.55, allocations: 1.506 MB / 3.604 GB, free: 42 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.266e-05/10.55, allocations: 3.938 kB / 3.604 GB, free: 42 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001952/10.55, allocations: 36.03 kB / 3.604 GB, free: 42 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-05/10.55, allocations: 40.23 kB / 3.604 GB, free: 41.99 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003417/10.55, allocations: 1.364 MB / 3.605 GB, free: 41.97 MB / 490.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009804/10.56, allocations: 6.375 MB / 3.611 GB, free: 37.86 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002784/10.56, allocations: 0.9847 MB / 3.612 GB, free: 37.8 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0375/10.6, allocations: 18.64 MB / 3.631 GB, free: 25.59 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.363e-05/10.6, allocations: 42.98 kB / 3.631 GB, free: 25.54 MB / 490.7 MB Notification: Performance of pre-optimization done (n=59): time 2.304e-06/10.6, allocations: 0 / 3.631 GB, free: 25.54 MB / 490.7 MB Notification: Performance of matching and sorting (n=64): time 0.01039/10.61, allocations: 2.986 MB / 3.634 GB, free: 24.34 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001067/10.61, allocations: 165.2 kB / 3.634 GB, free: 24.15 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001367/10.61, allocations: 0.6981 MB / 3.634 GB, free: 23.86 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001583/10.61, allocations: 52.28 kB / 3.634 GB, free: 23.82 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004713/10.61, allocations: 456.2 kB / 3.635 GB, free: 23.46 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002795/10.62, allocations: 216.9 kB / 3.635 GB, free: 23.3 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.301e-05/10.62, allocations: 19.72 kB / 3.635 GB, free: 23.29 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002075/10.62, allocations: 397 kB / 3.635 GB, free: 22.94 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001046/10.62, allocations: 452.8 kB / 3.636 GB, free: 22.8 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001169/10.62, allocations: 0.7205 MB / 3.637 GB, free: 22.31 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009944/10.62, allocations: 485 kB / 3.637 GB, free: 22.14 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.708e-06/10.62, allocations: 3.844 kB / 3.637 GB, free: 22.14 MB / 490.7 MB Notification: Performance of matching and sorting (n=116) (initialization): time 0.002888/10.62, allocations: 1.275 MB / 3.638 GB, free: 21.66 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.02e-05/10.62, allocations: 11.22 kB / 3.638 GB, free: 21.66 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.92e-05/10.62, allocations: 6.062 kB / 3.638 GB, free: 21.66 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004466/10.62, allocations: 98 kB / 3.638 GB, free: 21.63 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003766/10.63, allocations: 424.7 kB / 3.639 GB, free: 21.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006171/10.63, allocations: 6.474 MB / 3.645 GB, free: 15.41 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001732/10.63, allocations: 144.5 kB / 3.645 GB, free: 15.37 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002703/10.63, allocations: 43.5 kB / 3.645 GB, free: 15.36 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 21 (tank.heatTransfer.states[1].phase,$PRE.tank.ports_m_flow_out[1],tank.ports_m_flow_out[1],$PRE.tank.ports_m_flow_out[2],tank.ports_m_flow_out[2],$PRE.tank.ports_m_flow_out[3],tank.ports_m_flow_out[3],$PRE.tank.ports_m_flow_out[4],tank.ports_m_flow_out[4],$PRE.tank.aboveLevel[1],tank.aboveLevel[1],$PRE.tank.aboveLevel[2],tank.aboveLevel[2],$PRE.tank.aboveLevel[3],tank.aboveLevel[3],$PRE.tank.aboveLevel[4],tank.aboveLevel[4],massFlowRate[1].medium.phase,massFlowRate[2].medium.phase,Boundary_fixed.medium.phase,Boundary_fixed.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (111): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.001128/10.64, allocations: 349.4 kB / 3.646 GB, free: 15.14 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004347/10.64, allocations: 89.8 kB / 3.646 GB, free: 15.1 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003915/10.64, allocations: 2.203 MB / 3.648 GB, free: 14.11 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.012e-05/10.64, allocations: 23.72 kB / 3.648 GB, free: 14.11 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.121e-05/10.64, allocations: 3.938 kB / 3.648 GB, free: 14.11 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.267e-05/10.64, allocations: 3.703 kB / 3.648 GB, free: 14.11 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006469/10.65, allocations: 3.429 MB / 3.651 GB, free: 12.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.074e-05/10.65, allocations: 3.906 kB / 3.651 GB, free: 12.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003768/10.65, allocations: 366.2 kB / 3.652 GB, free: 12.58 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004052/10.65, allocations: 99.77 kB / 3.652 GB, free: 12.55 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001099/10.65, allocations: 26.2 kB / 3.652 GB, free: 12.54 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008666/10.66, allocations: 6.439 MB / 3.658 GB, free: 22.36 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.264e-06/10.66, allocations: 3.688 kB / 3.658 GB, free: 22.36 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004526/10.66, allocations: 2.233 MB / 3.66 GB, free: 21.25 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009942/10.67, allocations: 309.6 kB / 3.661 GB, free: 21.01 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004819/10.67, allocations: 27.89 kB / 3.661 GB, free: 20.98 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001308/10.67, allocations: 119.9 kB / 3.661 GB, free: 20.89 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003764/10.67, allocations: 126.8 kB / 3.661 GB, free: 20.82 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001146/10.67, allocations: 31.78 kB / 3.661 GB, free: 20.8 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001579/10.67, allocations: 0.7765 MB / 3.662 GB, free: 20.14 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.71e-07/10.67, allocations: 4 kB / 3.662 GB, free: 20.14 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.00926/10.68, allocations: 1.295 MB / 3.663 GB, free: 18.87 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (tank.medium.h,tank.level) * Number of discrete variables: 20 ($cse3.phase,$cse3.region,$cse7.phase,$cse7.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,tank.heatTransfer.states[1].phase,tank.ports_m_flow_out[1],tank.ports_m_flow_out[2],tank.ports_m_flow_out[3],tank.ports_m_flow_out[4],tank.aboveLevel[1],tank.aboveLevel[2],tank.aboveLevel[3],tank.aboveLevel[4],massFlowRate[1].medium.phase,massFlowRate[2].medium.phase,Boundary_fixed.medium.phase) * Number of discrete states: 8 (tank.aboveLevel[1],tank.ports_m_flow_out[1],tank.aboveLevel[2],tank.ports_m_flow_out[2],tank.aboveLevel[3],tank.ports_m_flow_out[3],tank.aboveLevel[4],tank.ports_m_flow_out[4]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.01449/10.69, allocations: 1.882 MB / 3.665 GB, free: 17.45 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.006683/10.7, allocations: 1.321 MB / 3.666 GB, free: 16.36 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.51e-05/10.7, allocations: 0 / 3.666 GB, free: 16.36 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.00426/10.7, allocations: 0.9232 MB / 3.667 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003827/10.71, allocations: 0.5138 MB / 3.667 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006689/10.71, allocations: 2.973 MB / 3.67 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001374/10.72, allocations: 1.229 MB / 3.671 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001894/10.72, allocations: 499.8 kB / 3.672 GB, free: 11.17 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004217/10.72, allocations: 91.08 kB / 3.672 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of SimCode: time 1.513e-06/10.72, allocations: 4 kB / 3.672 GB, free: 11.08 MB / 0.4948 GB Notification: Performance of Templates: time 0.4827/11.2, allocations: 51.02 MB / 3.722 GB, free: 55.01 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts.pipe 2>&1)