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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001261/0.001262, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00124/0.00124, allocations: 191.9 kB / 16.13 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.462/1.462, allocations: 205.1 MB / 222 MB, free: 4.984 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3041/0.3041, allocations: 39.94 MB / 309.3 MB, free: 9.547 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 72.22 kB / 376.9 MB, free: 13.45 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1196/0.1209, allocations: 56.88 MB / 433.8 MB, free: 4.477 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts): time 0.2257/0.3466, allocations: 60.54 MB / 494.3 MB, free: 16.79 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01584/0.3625, allocations: 17.52 MB / 0.4999 GB, free: 4.562 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007716/0.3634, allocations: 31.62 kB / 0.4999 GB, free: 4.547 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001113/0.3645, allocations: 383.5 kB / 0.5003 GB, free: 4.336 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01166/0.3762, allocations: 4.045 MB / 0.5042 GB, free: 2.48 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005719/0.3819, allocations: 2.026 MB / 0.5062 GB, free: 1.375 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00388/0.3858, allocations: 3.898 MB / 0.51 GB, free: 68 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001158/0.387, allocations: 0.7497 MB / 0.5107 GB, free: 15.79 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006708/0.3937, allocations: 2.55 MB / 0.5132 GB, free: 14.68 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00563/0.3993, allocations: 2.458 MB / 0.5156 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000266/0.3996, allocations: 57.31 kB / 0.5157 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01585/0.4155, allocations: 7.212 MB / 0.5227 GB, free: 10.69 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000594/0.4161, allocations: 297.7 kB / 0.523 GB, free: 10.48 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001108/0.4173, allocations: 0.5425 MB / 0.5235 GB, free: 10.16 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01594/0.4332, allocations: 5.441 MB / 0.5288 GB, free: 6.66 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.966e-06/0.4333, allocations: 0 / 0.5288 GB, free: 6.66 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.156e-06/0.4333, allocations: 0 / 0.5288 GB, free: 6.66 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.093e-05/0.4333, allocations: 0 / 0.5288 GB, free: 6.66 MB / 398.1 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.006364/0.4397, allocations: 1.873 MB / 0.5307 GB, free: 5.367 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.814e-05/0.4398, allocations: 8.219 kB / 0.5307 GB, free: 5.367 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002447/0.4422, allocations: 308.8 kB / 0.531 GB, free: 5.238 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001156/0.4434, allocations: 0.6324 MB / 0.5316 GB, free: 4.734 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002551/0.4437, allocations: 311.3 kB / 0.5319 GB, free: 4.434 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001442/0.4438, allocations: 90.55 kB / 0.532 GB, free: 4.398 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003333/0.4472, allocations: 1.509 MB / 0.5334 GB, free: 3.426 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.971e-05/0.4472, allocations: 7.875 kB / 0.5335 GB, free: 3.418 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001076/0.4473, allocations: 35.19 kB / 0.5335 GB, free: 3.395 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.785e-05/0.4474, allocations: 43.39 kB / 0.5335 GB, free: 3.387 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003153/0.4506, allocations: 1.337 MB / 0.5348 GB, free: 2.059 MB / 398.1 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.007878/0.4585, allocations: 6.404 MB / 0.5411 GB, free: 11.18 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002704/0.4612, allocations: 0.9562 MB / 0.542 GB, free: 10.2 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008682/0.4621, allocations: 453.1 kB / 0.5425 GB, free: 9.754 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02979/0.4919, allocations: 15.69 MB / 0.5578 GB, free: 8.219 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.899e-05/0.4919, allocations: 46.62 kB / 0.5578 GB, free: 8.168 MB / 430.1 MB Notification: Performance of pre-optimization done (n=59): time 2.424e-06/0.4919, allocations: 0 / 0.5578 GB, free: 8.168 MB / 430.1 MB Notification: Performance of matching and sorting (n=64): time 0.008613/0.5006, allocations: 2.95 MB / 0.5607 GB, free: 5.16 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.047e-05/0.5007, allocations: 162.8 kB / 0.5609 GB, free: 4.965 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001041/0.5017, allocations: 0.8168 MB / 0.5617 GB, free: 4.137 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.508e-05/0.5018, allocations: 49.69 kB / 0.5617 GB, free: 4.082 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000319/0.5021, allocations: 439.4 kB / 0.5621 GB, free: 3.645 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001935/0.5023, allocations: 213 kB / 0.5623 GB, free: 3.434 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002871/0.5026, allocations: 178.5 kB / 0.5625 GB, free: 3.25 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002012/0.5029, allocations: 402.7 kB / 0.5629 GB, free: 2.848 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000887/0.5037, allocations: 441.7 kB / 0.5633 GB, free: 2.418 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001111/0.5049, allocations: 0.6688 MB / 0.5639 GB, free: 1.652 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001804/0.5067, allocations: 0.957 MB / 0.5649 GB, free: 0.6094 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.46e-06/0.5067, allocations: 4 kB / 0.5649 GB, free: 0.6055 MB / 430.1 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002518/0.5092, allocations: 1.219 MB / 0.5661 GB, free: 15.38 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.391e-05/0.5093, allocations: 12.12 kB / 0.5661 GB, free: 15.36 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.482e-05/0.5093, allocations: 8 kB / 0.5661 GB, free: 15.36 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003689/0.5097, allocations: 88.8 kB / 0.5662 GB, free: 15.27 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003413/0.5131, allocations: 331.4 kB / 0.5665 GB, free: 14.94 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006498/0.5196, allocations: 6.373 MB / 0.5727 GB, free: 8.023 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001253/0.5209, allocations: 116 kB / 0.5728 GB, free: 7.91 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.094e-05/0.521, allocations: 39.98 kB / 0.5729 GB, free: 7.871 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 21 (Boundary_fixed.medium.phase,massFlowRate[2].medium.phase,massFlowRate[1].medium.phase,tank.aboveLevel[4],$PRE.tank.aboveLevel[4],tank.aboveLevel[3],$PRE.tank.aboveLevel[3],tank.aboveLevel[2],$PRE.tank.aboveLevel[2],tank.aboveLevel[1],$PRE.tank.aboveLevel[1],tank.ports_m_flow_out[4],$PRE.tank.ports_m_flow_out[4],tank.ports_m_flow_out[3],$PRE.tank.ports_m_flow_out[3],tank.ports_m_flow_out[2],$PRE.tank.ports_m_flow_out[2],tank.ports_m_flow_out[1],$PRE.tank.ports_m_flow_out[1],tank.heatTransfer.states[1].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 (103): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0005361/0.5216, allocations: 349.9 kB / 0.5732 GB, free: 7.523 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002051/0.5218, allocations: 86.97 kB / 0.5733 GB, free: 7.438 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003174/0.525, allocations: 2.199 MB / 0.5754 GB, free: 5.219 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.846e-05/0.525, allocations: 15.98 kB / 0.5754 GB, free: 5.203 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.525, allocations: 0 / 0.5754 GB, free: 5.203 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/0.525, allocations: 3.984 kB / 0.5755 GB, free: 5.199 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005098/0.5301, allocations: 3.466 MB / 0.5788 GB, free: 1.664 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.522e-06/0.5302, allocations: 4.125 kB / 0.5788 GB, free: 1.66 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003274/0.5334, allocations: 287.5 kB / 0.5791 GB, free: 1.379 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000348/0.5338, allocations: 92.78 kB / 0.5792 GB, free: 1.285 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.335e-05/0.5339, allocations: 23.98 kB / 0.5792 GB, free: 1.262 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005473/0.5394, allocations: 6.354 MB / 0.5854 GB, free: 10.36 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/0.5394, allocations: 3.984 kB / 0.5854 GB, free: 10.35 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003511/0.5429, allocations: 2.164 MB / 0.5876 GB, free: 8.152 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003352/0.5433, allocations: 179.8 kB / 0.5877 GB, free: 7.957 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002213/0.5435, allocations: 71.27 kB / 0.5878 GB, free: 7.887 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008251/0.5443, allocations: 95.8 kB / 0.5879 GB, free: 7.793 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002885/0.5447, allocations: 132.2 kB / 0.588 GB, free: 7.664 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.384e-05/0.5447, allocations: 27.98 kB / 0.588 GB, free: 7.637 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001233/0.546, allocations: 0.8883 MB / 0.5889 GB, free: 6.742 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.546, allocations: 0 / 0.5889 GB, free: 6.742 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004672/0.5507, allocations: 1.222 MB / 0.5901 GB, free: 5.52 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (tank.level,tank.medium.h) * Number of discrete variables: 20 ($cse3.phase,$cse3.region,$cse7.phase,$cse7.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.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 (not torn): 4 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006348/0.557, allocations: 1.298 MB / 0.5914 GB, free: 4.219 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005108/0.5622, allocations: 1.27 MB / 0.5926 GB, free: 2.949 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.143e-06/0.5622, allocations: 4 kB / 0.5926 GB, free: 2.945 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003796/0.566, allocations: 0.9056 MB / 0.5935 GB, free: 2.043 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002793/0.5688, allocations: 0.5279 MB / 0.594 GB, free: 1.52 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004148/0.573, allocations: 2.997 MB / 0.5969 GB, free: 14.48 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007625/0.5738, allocations: 1.223 MB / 0.5981 GB, free: 13.22 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001155/0.5749, allocations: 0.5033 MB / 0.5986 GB, free: 12.71 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002421/0.5752, allocations: 79.42 kB / 0.5987 GB, free: 12.63 MB / 478.1 MB Notification: Performance of SimCode: time 5.41e-07/0.5752, allocations: 0 / 0.5987 GB, free: 12.63 MB / 478.1 MB Notification: Performance of Templates: time 0.2419/0.8171, allocations: 53.84 MB / 0.6513 GB, free: 149.1 MB / 494.1 MB 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)