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/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.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 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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009331/0.0009331, allocations: 99.16 kB / 15.05 MB, free: 1.105 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.0009687/0.0009687, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.491/1.491, allocations: 205.4 MB / 222.1 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3279/0.3279, allocations: 38.04 MB / 308.4 MB, free: 10.42 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.1. 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.0005751/0.0005752, allocations: 12.22 kB / 376.4 MB, free: 15.22 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.127/0.1276, allocations: 57.52 MB / 433.9 MB, free: 5.594 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts): time 0.2979/0.4255, allocations: 49.99 MB / 483.9 MB, free: 26.37 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.019/0.4446, allocations: 14.16 MB / 498.1 MB, free: 16.5 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001287/0.4459, allocations: 24.75 kB / 498.1 MB, free: 16.48 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001631/0.4476, allocations: 387.3 kB / 498.5 MB, free: 16.27 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01343/0.461, allocations: 3.878 MB / 0.4906 GB, free: 14.33 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005886/0.4669, allocations: 1.903 MB / 0.4924 GB, free: 13.29 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002442/0.4694, allocations: 1.578 MB / 0.494 GB, free: 12.5 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001079/0.4705, allocations: 0.6992 MB / 0.4947 GB, free: 12.26 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007099/0.4776, allocations: 3.634 MB / 0.4982 GB, free: 11.63 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006505/0.4842, allocations: 3.299 MB / 0.5014 GB, free: 11.17 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003211/0.4845, allocations: 53.72 kB / 0.5015 GB, free: 11.17 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01757/0.5021, allocations: 7.103 MB / 0.5084 GB, free: 9.613 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006137/0.5028, allocations: 259.8 kB / 0.5087 GB, free: 9.5 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007818/0.5036, allocations: 229.1 kB / 0.5089 GB, free: 9.387 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01079/0.5144, allocations: 3.739 MB / 0.5125 GB, free: 8.273 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.5144, allocations: 0 / 0.5125 GB, free: 8.273 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.557e-06/0.5144, allocations: 4 kB / 0.5125 GB, free: 8.27 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.492e-05/0.5145, allocations: 0 / 0.5125 GB, free: 8.27 MB / 382.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.0087/0.5232, allocations: 1.7 MB / 0.5142 GB, free: 7.113 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.707e-05/0.5232, allocations: 13.62 kB / 0.5142 GB, free: 7.109 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002604/0.5258, allocations: 321.9 kB / 0.5145 GB, free: 6.98 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001432/0.5273, allocations: 0.6294 MB / 0.5151 GB, free: 6.48 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002134/0.5275, allocations: 306.7 kB / 0.5154 GB, free: 6.18 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001551/0.5277, allocations: 81.88 kB / 0.5155 GB, free: 6.152 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003407/0.5311, allocations: 1.529 MB / 0.517 GB, free: 5.18 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.321e-05/0.5311, allocations: 9.266 kB / 0.517 GB, free: 5.172 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001196/0.5313, allocations: 39.23 kB / 0.5171 GB, free: 5.145 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.226e-05/0.5313, allocations: 38.91 kB / 0.5171 GB, free: 5.137 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003017/0.5344, allocations: 1.388 MB / 0.5184 GB, free: 4.48 MB / 382.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.007918/0.5423, allocations: 6.438 MB / 0.5247 GB, free: 14.77 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002812/0.5451, allocations: 1.01 MB / 0.5257 GB, free: 14.24 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03386/0.579, allocations: 15.81 MB / 0.5412 GB, free: 12.58 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.61e-05/0.5791, allocations: 39.12 kB / 0.5412 GB, free: 12.54 MB / 414.1 MB Notification: Performance of pre-optimization done (n=59): time 3.297e-06/0.5792, allocations: 3.938 kB / 0.5412 GB, free: 12.53 MB / 414.1 MB Notification: Performance of matching and sorting (n=64): time 0.008939/0.5881, allocations: 3.06 MB / 0.5442 GB, free: 9.414 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.945e-05/0.5882, allocations: 170.8 kB / 0.5443 GB, free: 9.211 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001142/0.5894, allocations: 0.8051 MB / 0.5451 GB, free: 8.395 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 9.878e-05/0.5895, allocations: 45.7 kB / 0.5452 GB, free: 8.344 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004286/0.5899, allocations: 443.4 kB / 0.5456 GB, free: 7.906 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002334/0.5902, allocations: 213 kB / 0.5458 GB, free: 7.695 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.695e-05/0.5902, allocations: 20 kB / 0.5458 GB, free: 7.676 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002095/0.5905, allocations: 398.7 kB / 0.5462 GB, free: 7.277 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009167/0.5914, allocations: 449.7 kB / 0.5466 GB, free: 6.84 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001141/0.5925, allocations: 0.6766 MB / 0.5473 GB, free: 6.066 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009147/0.5935, allocations: 478.8 kB / 0.5477 GB, free: 5.602 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/0.5935, allocations: 0 / 0.5477 GB, free: 5.602 MB / 414.1 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002473/0.596, allocations: 1.25 MB / 0.549 GB, free: 4.34 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.195e-05/0.596, allocations: 4 kB / 0.549 GB, free: 4.336 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.636e-05/0.596, allocations: 8 kB / 0.549 GB, free: 4.328 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003738/0.5964, allocations: 89.39 kB / 0.5491 GB, free: 4.238 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003093/0.5995, allocations: 351.4 kB / 0.5494 GB, free: 3.895 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005558/0.6051, allocations: 6.422 MB / 0.5557 GB, free: 12.93 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001323/0.6064, allocations: 136 kB / 0.5558 GB, free: 12.8 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.445e-05/0.6065, allocations: 39.98 kB / 0.5558 GB, free: 12.76 MB / 430.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 (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 (103): * Single equations (assignments): 98 * 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.0006424/0.6072, allocations: 336.7 kB / 0.5562 GB, free: 12.42 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001622/0.6073, allocations: 90.92 kB / 0.5562 GB, free: 12.33 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00334/0.6107, allocations: 2.258 MB / 0.5585 GB, free: 10.05 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.239e-05/0.6107, allocations: 23.95 kB / 0.5585 GB, free: 10.02 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.6107, allocations: 0 / 0.5585 GB, free: 10.02 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.376e-06/0.6108, allocations: 3.984 kB / 0.5585 GB, free: 10.02 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005583/0.6163, allocations: 3.525 MB / 0.5619 GB, free: 6.43 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.707e-06/0.6164, allocations: 3.953 kB / 0.5619 GB, free: 6.426 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002996/0.6194, allocations: 307.7 kB / 0.5622 GB, free: 6.125 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003809/0.6198, allocations: 103.2 kB / 0.5623 GB, free: 6.023 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.607e-05/0.6199, allocations: 19.98 kB / 0.5623 GB, free: 6.004 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006677/0.6266, allocations: 6.396 MB / 0.5686 GB, free: 15.05 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/0.6266, allocations: 4.031 kB / 0.5686 GB, free: 15.05 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003807/0.6304, allocations: 2.277 MB / 0.5708 GB, free: 12.71 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006171/0.6311, allocations: 342.7 kB / 0.5711 GB, free: 12.36 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001855/0.6313, allocations: 27.98 kB / 0.5712 GB, free: 12.33 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008727/0.6321, allocations: 107.9 kB / 0.5713 GB, free: 12.23 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002741/0.6324, allocations: 128.3 kB / 0.5714 GB, free: 12.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.002e-05/0.6325, allocations: 27.97 kB / 0.5714 GB, free: 12.07 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001198/0.6337, allocations: 0.8844 MB / 0.5723 GB, free: 11.18 MB / 446.1 MB Notification: Performance of sort global known variables: time 3e-07/0.6337, allocations: 0 / 0.5723 GB, free: 11.18 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.006201/0.6399, allocations: 1.23 MB / 0.5735 GB, free: 9.953 MB / 446.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 (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.008808/0.6488, allocations: 1.299 MB / 0.5747 GB, free: 8.652 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00517/0.654, allocations: 1.297 MB / 0.576 GB, free: 7.352 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.365e-06/0.654, allocations: 0 / 0.576 GB, free: 7.352 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003492/0.6575, allocations: 0.9095 MB / 0.5769 GB, free: 6.445 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002805/0.6603, allocations: 0.5343 MB / 0.5774 GB, free: 5.91 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004271/0.6646, allocations: 3.033 MB / 0.5804 GB, free: 2.832 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007713/0.6654, allocations: 1.242 MB / 0.5816 GB, free: 1.559 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001146/0.6666, allocations: 0.4949 MB / 0.5821 GB, free: 1.062 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00022/0.6668, allocations: 83.42 kB / 0.5822 GB, free: 0.9805 MB / 446.1 MB Notification: Performance of SimCode: time 6.51e-07/0.6668, allocations: 0 / 0.5822 GB, free: 0.9805 MB / 446.1 MB Notification: Performance of Templates: time 0.2906/0.9574, allocations: 53.58 MB / 0.6345 GB, free: 151.2 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: