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.000895/0.000895, allocations: 100.1 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.0009361/0.0009362, 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.264/1.264, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.282/0.282, allocations: 40 MB / 310.4 MB, free: 9.629 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.0005182/0.0005182, allocations: 18.97 kB / 378.8 MB, free: 12.36 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1034/0.1039, allocations: 57.95 MB / 436.8 MB, free: 2.305 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts): time 0.2088/0.3128, allocations: 49.99 MB / 486.8 MB, free: 23.77 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01283/0.3257, allocations: 14.16 MB / 0.4892 GB, free: 13.89 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007541/0.3265, allocations: 28.66 kB / 0.4892 GB, free: 13.88 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009446/0.3274, allocations: 387.3 kB / 0.4896 GB, free: 13.66 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008997/0.3364, allocations: 3.876 MB / 0.4934 GB, free: 11.72 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004694/0.3412, allocations: 1.909 MB / 0.4952 GB, free: 10.68 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00219/0.3434, allocations: 1.558 MB / 0.4967 GB, free: 9.91 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001075/0.3444, allocations: 0.7085 MB / 0.4974 GB, free: 9.656 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006291/0.3507, allocations: 3.63 MB / 0.501 GB, free: 9.031 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005531/0.3563, allocations: 3.304 MB / 0.5042 GB, free: 8.562 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002797/0.3566, allocations: 53.62 kB / 0.5043 GB, free: 8.562 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01425/0.3709, allocations: 7.103 MB / 0.5112 GB, free: 7.008 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000481/0.3714, allocations: 261.2 kB / 0.5114 GB, free: 6.895 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005432/0.3719, allocations: 228.1 kB / 0.5117 GB, free: 6.781 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006672/0.3786, allocations: 3.748 MB / 0.5153 GB, free: 4.914 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.3786, allocations: 4 kB / 0.5153 GB, free: 4.91 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.013e-06/0.3786, allocations: 1.375 kB / 0.5153 GB, free: 4.91 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.988e-05/0.3787, allocations: 0 / 0.5153 GB, free: 4.91 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.005216/0.3839, allocations: 1.696 MB / 0.517 GB, free: 3.758 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.384, allocations: 14.84 kB / 0.517 GB, free: 3.754 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002337/0.3863, allocations: 323.8 kB / 0.5173 GB, free: 3.625 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001162/0.3875, allocations: 0.6276 MB / 0.5179 GB, free: 3.129 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001592/0.3877, allocations: 304.1 kB / 0.5182 GB, free: 2.832 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001244/0.3878, allocations: 80.14 kB / 0.5183 GB, free: 2.805 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00283/0.3906, allocations: 1.536 MB / 0.5198 GB, free: 1.824 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.286e-05/0.3907, allocations: 7.031 kB / 0.5198 GB, free: 1.82 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.565e-05/0.3908, allocations: 38.06 kB / 0.5198 GB, free: 1.793 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.183e-05/0.3908, allocations: 36.25 kB / 0.5199 GB, free: 1.789 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002796/0.3936, allocations: 1.387 MB / 0.5212 GB, free: 1.133 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.008215/0.4018, allocations: 6.445 MB / 0.5275 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002753/0.4046, allocations: 1.007 MB / 0.5285 GB, free: 9.621 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03196/0.4366, allocations: 15.81 MB / 0.5439 GB, free: 7.961 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.777e-05/0.4367, allocations: 39.12 kB / 0.544 GB, free: 7.914 MB / 414.1 MB Notification: Performance of pre-optimization done (n=59): time 2.635e-06/0.4367, allocations: 0 / 0.544 GB, free: 7.914 MB / 414.1 MB Notification: Performance of matching and sorting (n=64): time 0.00841/0.4451, allocations: 3.067 MB / 0.547 GB, free: 4.789 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.002e-05/0.4452, allocations: 162.7 kB / 0.5471 GB, free: 4.594 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009298/0.4462, allocations: 0.809 MB / 0.5479 GB, free: 3.773 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.264e-05/0.4462, allocations: 45.7 kB / 0.548 GB, free: 3.723 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000327/0.4466, allocations: 443.4 kB / 0.5484 GB, free: 3.285 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001757/0.4468, allocations: 209.1 kB / 0.5486 GB, free: 3.078 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.109e-05/0.4468, allocations: 20 kB / 0.5486 GB, free: 3.059 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001953/0.447, allocations: 402.7 kB / 0.549 GB, free: 2.656 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009037/0.4479, allocations: 453.7 kB / 0.5494 GB, free: 2.211 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001047/0.449, allocations: 0.6688 MB / 0.5501 GB, free: 1.445 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008892/0.4499, allocations: 474.9 kB / 0.5505 GB, free: 0.9805 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.4499, allocations: 3.938 kB / 0.5505 GB, free: 0.9766 MB / 414.1 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002439/0.4524, allocations: 1.242 MB / 0.5517 GB, free: 15.72 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.4524, allocations: 8 kB / 0.5517 GB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.184e-05/0.4524, allocations: 11.98 kB / 0.5518 GB, free: 15.7 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003256/0.4527, allocations: 93.55 kB / 0.5518 GB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003144/0.4559, allocations: 351.4 kB / 0.5522 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005381/0.4613, allocations: 6.417 MB / 0.5584 GB, free: 8.309 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001116/0.4624, allocations: 136 kB / 0.5586 GB, free: 8.176 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.699e-05/0.4625, allocations: 43.92 kB / 0.5586 GB, free: 8.133 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.0005711/0.4631, allocations: 344.7 kB / 0.5589 GB, free: 7.789 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001773/0.4633, allocations: 86.97 kB / 0.559 GB, free: 7.703 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003271/0.4666, allocations: 2.255 MB / 0.5612 GB, free: 5.426 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.75e-05/0.4666, allocations: 15.98 kB / 0.5612 GB, free: 5.41 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.335e-06/0.4666, allocations: 0 / 0.5612 GB, free: 5.41 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.446e-06/0.4666, allocations: 3.984 kB / 0.5613 GB, free: 5.406 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005161/0.4718, allocations: 3.519 MB / 0.5647 GB, free: 1.824 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/0.4718, allocations: 7.938 kB / 0.5647 GB, free: 1.816 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003097/0.4749, allocations: 311.6 kB / 0.565 GB, free: 1.512 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003382/0.4753, allocations: 96.78 kB / 0.5651 GB, free: 1.414 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.172e-05/0.4753, allocations: 15.98 kB / 0.5651 GB, free: 1.398 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005372/0.4807, allocations: 6.403 MB / 0.5714 GB, free: 10.45 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.4807, allocations: 0 / 0.5714 GB, free: 10.45 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003561/0.4843, allocations: 2.277 MB / 0.5736 GB, free: 8.109 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005015/0.4848, allocations: 346.8 kB / 0.5739 GB, free: 7.75 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002017/0.485, allocations: 23.98 kB / 0.5739 GB, free: 7.727 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008509/0.4859, allocations: 115.9 kB / 0.574 GB, free: 7.613 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002702/0.4862, allocations: 128.3 kB / 0.5742 GB, free: 7.488 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.995e-05/0.4863, allocations: 35.98 kB / 0.5742 GB, free: 7.453 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001112/0.4874, allocations: 0.8766 MB / 0.5751 GB, free: 6.57 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4874, allocations: 0 / 0.5751 GB, free: 6.57 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004048/0.4914, allocations: 1.23 MB / 0.5763 GB, free: 5.34 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.004906/0.4964, allocations: 1.297 MB / 0.5775 GB, free: 4.035 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004941/0.5013, allocations: 1.301 MB / 0.5788 GB, free: 2.734 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.314e-06/0.5014, allocations: 4 kB / 0.5788 GB, free: 2.73 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003553/0.5049, allocations: 0.9057 MB / 0.5797 GB, free: 1.828 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002634/0.5076, allocations: 0.5282 MB / 0.5802 GB, free: 1.293 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0039/0.5115, allocations: 3.037 MB / 0.5832 GB, free: 14.21 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007001/0.5122, allocations: 1.238 MB / 0.5844 GB, free: 12.95 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001054/0.5133, allocations: 0.503 MB / 0.5849 GB, free: 12.44 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000268/0.5135, allocations: 83.42 kB / 0.5849 GB, free: 12.36 MB / 462.1 MB Notification: Performance of SimCode: time 5.41e-07/0.5136, allocations: 0 / 0.5849 GB, free: 12.36 MB / 462.1 MB Notification: Performance of Templates: time 0.2351/0.7487, allocations: 53.57 MB / 0.6373 GB, free: 143.3 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: