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.001393/0.001393, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001652/0.001653, allocations: 197.7 kB / 16.14 MB, free: 6.703 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.456/1.456, allocations: 205.1 MB / 222 MB, free: 4.992 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.3681/0.3681, allocations: 37.99 MB / 307.3 MB, free: 9.816 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.001664/0.001664, allocations: 63.91 kB / 374.6 MB, free: 15.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1199/0.1216, allocations: 56.47 MB / 431 MB, free: 7.074 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts): time 0.2728/0.3944, allocations: 60.54 MB / 491.6 MB, free: 19.13 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01793/0.4124, allocations: 17.52 MB / 0.4971 GB, free: 6.902 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001196/0.4137, allocations: 35.19 kB / 0.4972 GB, free: 6.883 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001476/0.4152, allocations: 389.1 kB / 0.4976 GB, free: 6.672 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01359/0.4288, allocations: 4.039 MB / 0.5015 GB, free: 4.816 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007123/0.4359, allocations: 2.03 MB / 0.5035 GB, free: 3.703 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005599/0.4415, allocations: 3.898 MB / 0.5073 GB, free: 2.395 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001532/0.4431, allocations: 0.7461 MB / 0.508 GB, free: 2.121 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007133/0.4503, allocations: 2.555 MB / 0.5105 GB, free: 1.012 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006175/0.4565, allocations: 2.445 MB / 0.5129 GB, free: 15.95 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003202/0.4568, allocations: 62.47 kB / 0.513 GB, free: 15.95 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01811/0.475, allocations: 7.217 MB / 0.52 GB, free: 13.68 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007406/0.4757, allocations: 285.7 kB / 0.5203 GB, free: 13.49 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001235/0.477, allocations: 0.5419 MB / 0.5208 GB, free: 13.17 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01752/0.4945, allocations: 5.428 MB / 0.5261 GB, free: 9.676 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.173e-05/0.4946, allocations: 1.219 kB / 0.5261 GB, free: 9.676 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.4946, allocations: 0 / 0.5261 GB, free: 9.676 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.863e-05/0.4947, allocations: 4 kB / 0.5261 GB, free: 9.672 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.007942/0.5026, allocations: 1.879 MB / 0.5279 GB, free: 8.375 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.489e-05/0.5027, allocations: 9.625 kB / 0.528 GB, free: 8.375 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002406/0.5051, allocations: 303.2 kB / 0.5282 GB, free: 8.25 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001118/0.5062, allocations: 0.6442 MB / 0.5289 GB, free: 7.742 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002251/0.5065, allocations: 306.9 kB / 0.5292 GB, free: 7.441 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001391/0.5066, allocations: 81.11 kB / 0.5292 GB, free: 7.414 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00323/0.5098, allocations: 1.515 MB / 0.5307 GB, free: 6.438 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.912e-05/0.5099, allocations: 10.73 kB / 0.5307 GB, free: 6.43 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001245/0.51, allocations: 37.97 kB / 0.5308 GB, free: 6.402 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.903e-05/0.5101, allocations: 34.03 kB / 0.5308 GB, free: 6.398 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002967/0.513, allocations: 1.345 MB / 0.5321 GB, free: 5.746 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.008512/0.5216, allocations: 6.408 MB / 0.5384 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002669/0.5243, allocations: 0.96 MB / 0.5393 GB, free: 14.23 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008256/0.5251, allocations: 447.7 kB / 0.5397 GB, free: 13.79 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03041/0.5555, allocations: 15.69 MB / 0.5551 GB, free: 12.24 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.775e-05/0.5556, allocations: 43.12 kB / 0.5551 GB, free: 12.19 MB / 430.1 MB Notification: Performance of pre-optimization done (n=59): time 2.114e-06/0.5556, allocations: 3.938 kB / 0.5551 GB, free: 12.19 MB / 430.1 MB Notification: Performance of matching and sorting (n=64): time 0.008463/0.5641, allocations: 2.946 MB / 0.558 GB, free: 9.184 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.371e-05/0.5642, allocations: 166.8 kB / 0.5581 GB, free: 8.984 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009603/0.5652, allocations: 0.8207 MB / 0.5589 GB, free: 8.152 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.096e-05/0.5653, allocations: 41.7 kB / 0.559 GB, free: 8.105 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003469/0.5657, allocations: 447.3 kB / 0.5594 GB, free: 7.664 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001833/0.5658, allocations: 213.1 kB / 0.5596 GB, free: 7.453 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000273/0.5661, allocations: 174.5 kB / 0.5598 GB, free: 7.277 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001762/0.5663, allocations: 398.7 kB / 0.5602 GB, free: 6.879 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008698/0.5672, allocations: 445.7 kB / 0.5606 GB, free: 6.441 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001029/0.5682, allocations: 0.6688 MB / 0.5612 GB, free: 5.68 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001643/0.5699, allocations: 0.9531 MB / 0.5622 GB, free: 4.637 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.5699, allocations: 4 kB / 0.5622 GB, free: 4.633 MB / 430.1 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002415/0.5723, allocations: 1.223 MB / 0.5634 GB, free: 3.398 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.321e-05/0.5724, allocations: 8 kB / 0.5634 GB, free: 3.391 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.289e-05/0.5724, allocations: 8 kB / 0.5634 GB, free: 3.383 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003739/0.5728, allocations: 89.55 kB / 0.5635 GB, free: 3.293 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003293/0.5761, allocations: 339.4 kB / 0.5638 GB, free: 2.961 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005301/0.5814, allocations: 6.367 MB / 0.57 GB, free: 12.05 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001229/0.5826, allocations: 115.8 kB / 0.5701 GB, free: 11.94 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.101e-05/0.5827, allocations: 47.98 kB / 0.5702 GB, free: 11.89 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.0005794/0.5833, allocations: 339.6 kB / 0.5705 GB, free: 11.55 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002005/0.5835, allocations: 90.95 kB / 0.5706 GB, free: 11.46 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003157/0.5867, allocations: 2.184 MB / 0.5727 GB, free: 9.25 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.08e-05/0.5867, allocations: 15.98 kB / 0.5727 GB, free: 9.234 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.5867, allocations: 0 / 0.5727 GB, free: 9.234 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.648e-06/0.5867, allocations: 7.922 kB / 0.5727 GB, free: 9.23 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004962/0.5917, allocations: 3.47 MB / 0.5761 GB, free: 5.695 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.845e-06/0.5917, allocations: 3.938 kB / 0.5761 GB, free: 5.691 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003135/0.5949, allocations: 283.7 kB / 0.5764 GB, free: 5.414 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003597/0.5953, allocations: 108.7 kB / 0.5765 GB, free: 5.305 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.622e-05/0.5953, allocations: 15.98 kB / 0.5765 GB, free: 5.289 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005231/0.6006, allocations: 6.345 MB / 0.5827 GB, free: 14.39 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.6006, allocations: 0 / 0.5827 GB, free: 14.39 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003571/0.6042, allocations: 2.174 MB / 0.5848 GB, free: 12.19 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004247/0.6046, allocations: 183.7 kB / 0.585 GB, free: 11.99 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002087/0.6048, allocations: 71.36 kB / 0.5851 GB, free: 11.92 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008075/0.6057, allocations: 95.75 kB / 0.5852 GB, free: 11.82 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002778/0.6059, allocations: 124.2 kB / 0.5853 GB, free: 11.7 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.906e-05/0.606, allocations: 27.97 kB / 0.5853 GB, free: 11.68 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001167/0.6072, allocations: 0.8961 MB / 0.5862 GB, free: 10.77 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6072, allocations: 0 / 0.5862 GB, free: 10.77 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.005921/0.6131, allocations: 1.218 MB / 0.5874 GB, free: 9.555 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.006054/0.6192, allocations: 1.307 MB / 0.5887 GB, free: 8.242 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004972/0.6242, allocations: 1.266 MB / 0.5899 GB, free: 6.98 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.203e-06/0.6242, allocations: 4 kB / 0.5899 GB, free: 6.977 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003567/0.6278, allocations: 0.8978 MB / 0.5908 GB, free: 6.078 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0029/0.6307, allocations: 0.5321 MB / 0.5913 GB, free: 5.543 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004251/0.635, allocations: 2.986 MB / 0.5942 GB, free: 2.512 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008134/0.6358, allocations: 1.223 MB / 0.5954 GB, free: 1.262 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001222/0.637, allocations: 0.5063 MB / 0.5959 GB, free: 0.7578 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002559/0.6373, allocations: 83.41 kB / 0.596 GB, free: 0.6758 MB / 462.1 MB Notification: Performance of SimCode: time 7.72e-07/0.6373, allocations: 0 / 0.596 GB, free: 0.6758 MB / 462.1 MB Notification: Performance of Templates: time 0.2729/0.9103, allocations: 53.85 MB / 0.6486 GB, free: 152.2 MB / 494.1 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)