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.001197/0.001197, allocations: 182 kB / 12.74 MB, free: 2.582 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.757/1.757, allocations: 194.3 MB / 207.5 MB, free: 3.461 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.001646/0.001646, allocations: 114.8 kB / 252.6 MB, free: 4.781 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.237/0.237, allocations: 39.93 MB / 337.5 MB, free: 480 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.811e-05/3.814e-05, allocations: 4 kB / 400.3 MB, free: 69.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1372/0.1372, allocations: 54.86 MB / 455.1 MB, free: 14.99 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.269/7.406, allocations: 2.597 GB / 3.041 GB, free: 81.48 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002906/7.407, allocations: 91.34 kB / 3.041 GB, free: 81.45 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.207/9.614, allocations: 0.5503 GB / 3.591 GB, free: 46.32 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.663e-06/9.614, allocations: 0 / 3.591 GB, free: 46.32 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.96e-05/9.614, allocations: 23.89 kB / 3.591 GB, free: 46.31 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.009498/9.623, allocations: 2.04 MB / 3.593 GB, free: 45.32 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.819e-05/9.623, allocations: 11.59 kB / 3.593 GB, free: 45.32 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002724/9.626, allocations: 319.3 kB / 3.594 GB, free: 45.27 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001769/9.628, allocations: 0.6977 MB / 3.594 GB, free: 45 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002865/9.628, allocations: 303.4 kB / 3.595 GB, free: 44.74 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001587/9.628, allocations: 79.73 kB / 3.595 GB, free: 44.74 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003083/9.631, allocations: 1.477 MB / 3.596 GB, free: 44.47 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.125e-05/9.631, allocations: 5.5 kB / 3.596 GB, free: 44.47 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001107/9.632, allocations: 34.72 kB / 3.596 GB, free: 44.47 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.544e-05/9.632, allocations: 43.08 kB / 3.596 GB, free: 44.47 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002385/9.634, allocations: 1.264 MB / 3.598 GB, free: 44.46 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.008347/9.642, allocations: 6.375 MB / 3.604 GB, free: 40.4 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002176/9.645, allocations: 0.8855 MB / 3.605 GB, free: 40.35 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005526/9.645, allocations: 373.9 kB / 3.605 GB, free: 40.33 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0345/9.68, allocations: 18.69 MB / 3.623 GB, free: 28.52 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.75e-05/9.68, allocations: 41.16 kB / 3.623 GB, free: 28.48 MB / 490.7 MB Notification: Performance of pre-optimization done (n=59): time 3.446e-06/9.68, allocations: 0 / 3.623 GB, free: 28.48 MB / 490.7 MB Notification: Performance of matching and sorting (n=64): time 0.006542/9.686, allocations: 2.473 MB / 3.626 GB, free: 27.92 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.443e-05/9.686, allocations: 164.9 kB / 3.626 GB, free: 27.73 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009218/9.687, allocations: 0.6909 MB / 3.627 GB, free: 27.6 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 8.407e-05/9.688, allocations: 52.48 kB / 3.627 GB, free: 27.56 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003083/9.688, allocations: 462.8 kB / 3.627 GB, free: 27.34 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001745/9.688, allocations: 213.9 kB / 3.627 GB, free: 27.21 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.055e-05/9.688, allocations: 18.5 kB / 3.627 GB, free: 27.21 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001434/9.688, allocations: 394.8 kB / 3.628 GB, free: 26.9 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005569/9.689, allocations: 391.4 kB / 3.628 GB, free: 26.9 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007191/9.69, allocations: 0.6503 MB / 3.629 GB, free: 26.57 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006156/9.69, allocations: 430.5 kB / 3.629 GB, free: 26.54 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/9.69, allocations: 3.5 kB / 3.629 GB, free: 26.54 MB / 490.7 MB Notification: Performance of matching and sorting (n=116) (initialization): time 0.001842/9.692, allocations: 1.154 MB / 3.63 GB, free: 26.42 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.579e-05/9.692, allocations: 7.156 kB / 3.63 GB, free: 26.42 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.59e-05/9.692, allocations: 6.656 kB / 3.63 GB, free: 26.42 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004135/9.692, allocations: 100.4 kB / 3.63 GB, free: 26.41 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003403/9.696, allocations: 419.6 kB / 3.631 GB, free: 26.39 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005524/9.701, allocations: 6.408 MB / 3.637 GB, free: 20.33 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001701/9.703, allocations: 152.8 kB / 3.637 GB, free: 20.29 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001061/9.703, allocations: 42.38 kB / 3.637 GB, free: 20.29 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 () * 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.0003573/9.704, allocations: 185.6 kB / 3.637 GB, free: 20.12 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001856/9.704, allocations: 88.94 kB / 3.637 GB, free: 20.08 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002964/9.707, allocations: 2.072 MB / 3.639 GB, free: 19.11 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.85e-05/9.707, allocations: 14.66 kB / 3.639 GB, free: 19.11 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/9.707, allocations: 3.938 kB / 3.639 GB, free: 19.11 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.039e-05/9.707, allocations: 7.75 kB / 3.639 GB, free: 19.11 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004957/9.712, allocations: 3.298 MB / 3.643 GB, free: 17.61 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.993e-06/9.712, allocations: 3.969 kB / 3.643 GB, free: 17.61 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003249/9.715, allocations: 373.4 kB / 3.643 GB, free: 17.59 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003442/9.715, allocations: 100.9 kB / 3.643 GB, free: 17.55 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.164e-05/9.716, allocations: 22.14 kB / 3.643 GB, free: 17.54 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0059/9.721, allocations: 6.39 MB / 3.649 GB, free: 27.37 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.828e-06/9.721, allocations: 3.469 kB / 3.649 GB, free: 27.37 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003054/9.725, allocations: 2.035 MB / 3.651 GB, free: 26.3 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006959/9.725, allocations: 319.9 kB / 3.652 GB, free: 26.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001835/9.725, allocations: 28.67 kB / 3.652 GB, free: 26.05 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008866/9.726, allocations: 124.3 kB / 3.652 GB, free: 26.03 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003238/9.727, allocations: 125.4 kB / 3.652 GB, free: 26.01 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.872e-05/9.727, allocations: 22.28 kB / 3.652 GB, free: 26.01 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001203/9.728, allocations: 0.7681 MB / 3.653 GB, free: 25.69 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.21e-07/9.728, allocations: 0 / 3.653 GB, free: 25.69 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.006715/9.735, allocations: 1.302 MB / 3.654 GB, free: 25.43 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]) * 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.008579/9.743, allocations: 1.893 MB / 3.656 GB, free: 24.95 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.004249/9.748, allocations: 1.185 MB / 3.657 GB, free: 24.58 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.805e-06/9.748, allocations: 0 / 3.657 GB, free: 24.58 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003144/9.751, allocations: 0.8641 MB / 3.658 GB, free: 24.29 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002793/9.754, allocations: 0.5006 MB / 3.658 GB, free: 24.17 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003339/9.757, allocations: 1.898 MB / 3.66 GB, free: 22.95 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007997/9.758, allocations: 1.238 MB / 3.661 GB, free: 21.88 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001231/9.759, allocations: 0.4923 MB / 3.662 GB, free: 21.57 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002366/9.759, allocations: 87.17 kB / 3.662 GB, free: 21.49 MB / 0.4948 GB Notification: Performance of SimCode: time 1.252e-06/9.759, allocations: 0 / 3.662 GB, free: 21.49 MB / 0.4948 GB Notification: Performance of Templates: time 0.4552/10.21, allocations: 53.77 MB / 3.714 GB, free: 58.98 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)