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.001755/0.001755, allocations: 176.2 kB / 7.652 MB, free: 1.426 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.798/1.798, allocations: 194.3 MB / 202.4 MB, free: 12.96 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.001965/0.001965, allocations: 112.3 kB / 247.4 MB, free: 15.96 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.2165/0.2165, allocations: 39.95 MB / 332.2 MB, free: 0.6328 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.186e-05/2.216e-05, allocations: 4 kB / 393.3 MB, free: 3.422 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3453/0.3453, allocations: 54.86 MB / 448.2 MB, free: 13.68 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.151/6.496, allocations: 2.596 GB / 3.034 GB, free: 13.42 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002267/6.496, allocations: 87.66 kB / 3.034 GB, free: 13.38 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.209/8.706, allocations: 0.5449 GB / 3.579 GB, free: 35.95 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.493e-06/8.706, allocations: 0 / 3.579 GB, free: 35.95 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.987e-05/8.706, allocations: 24 kB / 3.579 GB, free: 35.92 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.008992/8.715, allocations: 2.033 MB / 3.581 GB, free: 33.88 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/8.715, allocations: 16.02 kB / 3.581 GB, free: 33.86 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002744/8.718, allocations: 324.6 kB / 3.581 GB, free: 33.55 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001663/8.719, allocations: 0.6921 MB / 3.582 GB, free: 32.82 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002057/8.719, allocations: 275.6 kB / 3.582 GB, free: 32.51 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002867/8.72, allocations: 48.25 kB / 3.582 GB, free: 32.46 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001781/8.722, allocations: 0.976 MB / 3.583 GB, free: 31.48 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001922/8.723, allocations: 1.142 MB / 3.584 GB, free: 30.25 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.77e-05/8.724, allocations: 0 / 3.584 GB, free: 30.25 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000139/8.724, allocations: 4 kB / 3.584 GB, free: 30.25 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.404e-05/8.724, allocations: 37.98 kB / 3.584 GB, free: 30.21 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or 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.04812/8.772, allocations: 27.31 MB / 3.611 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001245/8.773, allocations: 0.5009 MB / 3.611 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006754/8.774, allocations: 322 kB / 3.611 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005073/8.774, allocations: 404.3 kB / 3.612 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.785e-05/8.774, allocations: 43 kB / 3.612 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=54): time 2.846e-06/8.774, allocations: 3.938 kB / 3.612 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of matching and sorting (n=59): time 0.005902/8.78, allocations: 1.874 MB / 3.614 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.647e-05/8.78, allocations: 141.1 kB / 3.614 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008662/8.781, allocations: 0.521 MB / 3.614 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001169/8.781, allocations: 37.69 kB / 3.614 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004943/8.782, allocations: 478.2 kB / 3.615 GB, free: 11.44 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002346/8.782, allocations: 196.4 kB / 3.615 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.05e-05/8.782, allocations: 0 / 3.615 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002213/8.783, allocations: 386.9 kB / 3.615 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006617/8.783, allocations: 358.5 kB / 3.616 GB, free: 10.52 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008354/8.784, allocations: 0.6265 MB / 3.616 GB, free: 9.773 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008643/8.785, allocations: 404.2 kB / 3.617 GB, free: 9.379 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.66e-06/8.785, allocations: 2.844 kB / 3.617 GB, free: 9.379 MB / 0.4948 GB Notification: Performance of matching and sorting (n=116) (initialization): time 0.002181/8.787, allocations: 1.047 MB / 3.618 GB, free: 8.32 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.546e-05/8.787, allocations: 12 kB / 3.618 GB, free: 8.309 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.691e-05/8.787, allocations: 8 kB / 3.618 GB, free: 8.301 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003337/8.788, allocations: 88.8 kB / 3.618 GB, free: 8.211 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00364/8.791, allocations: 431.6 kB / 3.618 GB, free: 7.789 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006886/8.798, allocations: 6.216 MB / 3.624 GB, free: 1.105 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001346/8.799, allocations: 131.8 kB / 3.625 GB, free: 0.9766 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001646/8.8, allocations: 47.98 kB / 3.625 GB, free: 0.9297 MB / 0.4948 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: tank.Wb_flow:VARIABLE(unit = "W" ) "Work flow across boundaries or source term" type: Real 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 () * 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 {2 4} Notification: Performance of prepare postOptimizeDAE: time 0.0003844/8.8, allocations: 147 kB / 3.625 GB, free: 0.7773 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002501/8.8, allocations: 71.22 kB / 3.625 GB, free: 0.707 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4106/9.211, allocations: 1.562 MB / 3.626 GB, free: 63.42 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.097e-05/9.211, allocations: 16.08 kB / 3.626 GB, free: 63.42 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/9.211, allocations: 1.438 kB / 3.626 GB, free: 63.42 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.119e-05/9.211, allocations: 3.047 kB / 3.626 GB, free: 63.42 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004787/9.216, allocations: 2.694 MB / 3.629 GB, free: 63.08 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.073e-05/9.216, allocations: 2.125 kB / 3.629 GB, free: 63.08 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003318/9.219, allocations: 345.7 kB / 3.629 GB, free: 63.08 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000324/9.219, allocations: 99.98 kB / 3.629 GB, free: 63.07 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.479e-05/9.22, allocations: 7.562 kB / 3.629 GB, free: 63.07 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005219/9.225, allocations: 6.183 MB / 3.635 GB, free: 57.57 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.884e-06/9.225, allocations: 3.375 kB / 3.635 GB, free: 57.57 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002276/9.227, allocations: 1.72 MB / 3.637 GB, free: 57.25 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003536/9.227, allocations: 223.9 kB / 3.637 GB, free: 57.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001517/9.228, allocations: 18.12 kB / 3.637 GB, free: 57.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007764/9.228, allocations: 92.89 kB / 3.637 GB, free: 57.16 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002539/9.229, allocations: 126.1 kB / 3.638 GB, free: 57.16 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.814e-05/9.229, allocations: 36.14 kB / 3.638 GB, free: 57.15 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0006209/9.229, allocations: 0.4918 MB / 3.638 GB, free: 57.05 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.3e-07/9.229, allocations: 2.297 kB / 3.638 GB, free: 57.05 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.007128/9.236, allocations: 1.232 MB / 3.639 GB, free: 57.05 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (tank.medium.h,tank.level) * Number of discrete variables: 17 ($cse2.phase,$cse2.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.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) * 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]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (57): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.01059/9.247, allocations: 2.032 MB / 3.641 GB, free: 56.92 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.004883/9.252, allocations: 1.092 MB / 3.642 GB, free: 56.9 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.1e-05/9.252, allocations: 0.875 kB / 3.642 GB, free: 56.9 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003358/9.255, allocations: 0.7449 MB / 3.643 GB, free: 56.89 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001984/9.257, allocations: 336.8 kB / 3.643 GB, free: 56.88 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002795/9.26, allocations: 1.65 MB / 3.645 GB, free: 56.49 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006954/9.261, allocations: 1.162 MB / 3.646 GB, free: 55.79 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001321/9.262, allocations: 0.5385 MB / 3.647 GB, free: 55.77 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000213/9.263, allocations: 73.75 kB / 3.647 GB, free: 55.77 MB / 0.4948 GB Notification: Performance of SimCode: time 8.81e-07/9.263, allocations: 5.969 kB / 3.647 GB, free: 55.77 MB / 0.4948 GB Notification: Performance of Templates: time 0.062/9.325, allocations: 39.99 MB / 3.686 GB, free: 54.43 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)