Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts") translateModel(ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002002/0.002003, allocations: 171.3 kB / 7.638 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.726/1.726, allocations: 170.6 MB / 178.7 MB, free: 15.58 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001806/0.001806, allocations: 107.5 kB / 218 MB, free: 8.34 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.25/0.25, allocations: 37.98 MB / 295.1 MB, free: 9.48 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.927e-05/1.929e-05, allocations: 2.594 kB / 350 MB, free: 36.96 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1319/0.1319, allocations: 48.72 MB / 398.7 MB, free: 5.336 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.574/6.706, allocations: 2.485 GB / 2.875 GB, free: 27.19 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000432/6.707, allocations: 83.95 kB / 2.875 GB, free: 27.11 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.52/9.226, allocations: 0.5312 GB / 3.406 GB, free: 38.57 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.372e-06/9.226, allocations: 3.094 kB / 3.406 GB, free: 38.57 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001276/9.227, allocations: 24.12 kB / 3.406 GB, free: 38.57 MB / 442.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.00988/9.236, allocations: 1.993 MB / 3.408 GB, free: 37.84 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.323e-05/9.237, allocations: 11 kB / 3.408 GB, free: 37.84 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003158/9.24, allocations: 310.6 kB / 3.408 GB, free: 37.79 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00211/9.242, allocations: 0.7114 MB / 3.409 GB, free: 37.5 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002274/9.242, allocations: 272.1 kB / 3.409 GB, free: 37.25 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002978/9.242, allocations: 50.33 kB / 3.409 GB, free: 37.25 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002154/9.245, allocations: 0.9709 MB / 3.41 GB, free: 37.25 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001972/9.247, allocations: 1.136 MB / 3.411 GB, free: 36.99 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.925e-05/9.247, allocations: 6.844 kB / 3.411 GB, free: 36.99 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.617e-05/9.247, allocations: 2.875 kB / 3.411 GB, free: 36.99 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.289e-05/9.247, allocations: 44.86 kB / 3.411 GB, free: 36.98 MB / 442.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.04953/9.296, allocations: 27.17 MB / 3.438 GB, free: 19.96 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00115/9.298, allocations: 0.4976 MB / 3.438 GB, free: 19.94 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005597/9.298, allocations: 326.9 kB / 3.439 GB, free: 19.93 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003489/9.298, allocations: 407.8 kB / 3.439 GB, free: 19.55 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.586e-05/9.299, allocations: 42.2 kB / 3.439 GB, free: 19.51 MB / 442.7 MB Notification: Performance of pre-optimization done (n=54): time 3.306e-06/9.299, allocations: 0 / 3.439 GB, free: 19.51 MB / 442.7 MB Notification: Performance of matching and sorting (n=59): time 0.005639/9.304, allocations: 1.887 MB / 3.441 GB, free: 19.07 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.789e-05/9.304, allocations: 132.4 kB / 3.441 GB, free: 18.92 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009307/9.305, allocations: 0.5209 MB / 3.442 GB, free: 18.79 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001077/9.305, allocations: 39.66 kB / 3.442 GB, free: 18.76 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004657/9.306, allocations: 485.7 kB / 3.442 GB, free: 18.49 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000236/9.306, allocations: 188.1 kB / 3.442 GB, free: 18.38 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.404e-05/9.306, allocations: 0 / 3.442 GB, free: 18.38 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001589/9.306, allocations: 387.8 kB / 3.443 GB, free: 18.06 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005606/9.307, allocations: 358 kB / 3.443 GB, free: 18.06 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007022/9.308, allocations: 0.6266 MB / 3.444 GB, free: 17.75 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008552/9.308, allocations: 404.9 kB / 3.444 GB, free: 17.74 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.416e-06/9.308, allocations: 0 / 3.444 GB, free: 17.74 MB / 442.7 MB Notification: Performance of matching and sorting (n=116) (initialization): time 0.002293/9.311, allocations: 1.049 MB / 3.445 GB, free: 17.65 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.588e-05/9.311, allocations: 10.05 kB / 3.445 GB, free: 17.64 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.333e-05/9.311, allocations: 10.22 kB / 3.445 GB, free: 17.64 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003627/9.311, allocations: 91.16 kB / 3.445 GB, free: 17.64 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00356/9.315, allocations: 418.1 kB / 3.445 GB, free: 17.64 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008025/9.323, allocations: 6.216 MB / 3.452 GB, free: 28.08 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001386/9.324, allocations: 130.3 kB / 3.452 GB, free: 28.07 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000163/9.324, allocations: 43.97 kB / 3.452 GB, free: 28.07 MB / 458.7 MB 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.0005162/9.325, allocations: 154.5 kB / 3.452 GB, free: 27.95 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002696/9.325, allocations: 70.86 kB / 3.452 GB, free: 27.92 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00229/9.327, allocations: 1.575 MB / 3.453 GB, free: 27.74 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.68e-05/9.328, allocations: 14.75 kB / 3.453 GB, free: 27.74 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/9.328, allocations: 0 / 3.453 GB, free: 27.74 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.296e-06/9.328, allocations: 10.53 kB / 3.453 GB, free: 27.74 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004502/9.332, allocations: 2.693 MB / 3.456 GB, free: 27.34 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.021e-06/9.332, allocations: 0 / 3.456 GB, free: 27.34 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00323/9.335, allocations: 344.8 kB / 3.456 GB, free: 27.34 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003173/9.336, allocations: 97.38 kB / 3.457 GB, free: 27.33 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.021e-05/9.336, allocations: 10.06 kB / 3.457 GB, free: 27.33 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008023/9.344, allocations: 6.182 MB / 3.463 GB, free: 21.77 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.519e-05/9.344, allocations: 7.688 kB / 3.463 GB, free: 21.77 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003929/9.348, allocations: 1.726 MB / 3.464 GB, free: 21.39 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007975/9.349, allocations: 224.5 kB / 3.464 GB, free: 21.23 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004828/9.349, allocations: 19.19 kB / 3.464 GB, free: 21.23 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00118/9.35, allocations: 92.75 kB / 3.465 GB, free: 21.23 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003341/9.351, allocations: 125.7 kB / 3.465 GB, free: 21.23 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001045/9.351, allocations: 25.44 kB / 3.465 GB, free: 21.23 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0009299/9.352, allocations: 0.4936 MB / 3.465 GB, free: 21.14 MB / 458.7 MB Notification: Performance of sort global known variables: time 3.71e-07/9.352, allocations: 0 / 3.465 GB, free: 21.14 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.007957/9.36, allocations: 1.226 MB / 3.466 GB, free: 20.98 MB / 458.7 MB 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.01216/9.372, allocations: 2.032 MB / 3.468 GB, free: 20.66 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.004516/9.376, allocations: 1.091 MB / 3.469 GB, free: 20.64 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 9.688e-06/9.377, allocations: 3.031 kB / 3.469 GB, free: 20.64 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003258/9.38, allocations: 0.7502 MB / 3.47 GB, free: 20.64 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002216/9.382, allocations: 340.6 kB / 3.471 GB, free: 20.61 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00383/9.386, allocations: 1.636 MB / 3.472 GB, free: 20.12 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001148/9.387, allocations: 1.171 MB / 3.473 GB, free: 19.41 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001488/9.389, allocations: 0.5307 MB / 3.474 GB, free: 19.38 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003408/9.389, allocations: 72.67 kB / 3.474 GB, free: 19.37 MB / 458.7 MB Notification: Performance of SimCode: time 2.465e-06/9.389, allocations: 0 / 3.474 GB, free: 19.37 MB / 458.7 MB Notification: Performance of Templates: time 0.06509/9.454, allocations: 39.82 MB / 3.513 GB, free: 16.59 MB / 458.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts.pipe 2>&1)