Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_Vessels_TestTankWithTopPorts",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.01066/0.01066, allocations: 175 kB / 15.12 MB, free: 5.984 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 2.01/2.01, allocations: 194.5 MB / 210.3 MB, free: 8.59 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003028/0.003028, allocations: 120.6 kB / 255.6 MB, free: 11.21 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2663/0.2663, allocations: 40 MB / 340.8 MB, free: 11.54 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004985/0.0004984, allocations: 13.91 kB / 406.3 MB, free: 51.98 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1346/0.1351, allocations: 54.88 MB / 461.2 MB, free: 3.285 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.754/7.889, allocations: 2.597 GB / 3.047 GB, free: 68.45 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003444/7.889, allocations: 88.02 kB / 3.047 GB, free: 68.4 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.048/10.94, allocations: 0.5519 GB / 3.599 GB, free: 44.93 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.035e-06/10.94, allocations: 0 / 3.599 GB, free: 44.93 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.016e-05/10.94, allocations: 23.34 kB / 3.599 GB, free: 44.93 MB / 490.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.01005/10.95, allocations: 2.121 MB / 3.601 GB, free: 43.87 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.918e-05/10.95, allocations: 9.562 kB / 3.601 GB, free: 43.87 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005528/10.95, allocations: 140.4 kB / 3.601 GB, free: 43.83 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003575/10.95, allocations: 322.3 kB / 3.601 GB, free: 43.78 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002219/10.95, allocations: 0.699 MB / 3.602 GB, free: 43.48 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002617/10.95, allocations: 305.7 kB / 3.602 GB, free: 43.2 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002527/10.95, allocations: 85.3 kB / 3.603 GB, free: 43.17 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00536/10.96, allocations: 1.499 MB / 3.604 GB, free: 42.55 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.872e-05/10.96, allocations: 3.938 kB / 3.604 GB, free: 42.54 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000185/10.96, allocations: 41.89 kB / 3.604 GB, free: 42.52 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.695e-05/10.96, allocations: 38.52 kB / 3.604 GB, free: 42.51 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00579/10.97, allocations: 1.362 MB / 3.605 GB, free: 42.16 MB / 490.7 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.01295/10.98, allocations: 6.371 MB / 3.612 GB, free: 37.36 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004697/10.98, allocations: 0.9801 MB / 3.613 GB, free: 37.09 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05655/11.04, allocations: 18.64 MB / 3.631 GB, free: 24.79 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.689e-05/11.04, allocations: 50.09 kB / 3.631 GB, free: 24.74 MB / 490.7 MB Notification: Performance of pre-optimization done (n=59): time 2.605e-06/11.04, allocations: 3.938 kB / 3.631 GB, free: 24.74 MB / 490.7 MB Notification: Performance of matching and sorting (n=64): time 0.01351/11.05, allocations: 2.987 MB / 3.634 GB, free: 23.54 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.04e-05/11.05, allocations: 162.6 kB / 3.634 GB, free: 23.34 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00136/11.06, allocations: 0.6991 MB / 3.635 GB, free: 23.05 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001825/11.06, allocations: 55.72 kB / 3.635 GB, free: 23.01 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004092/11.06, allocations: 455.2 kB / 3.635 GB, free: 22.65 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002621/11.06, allocations: 219 kB / 3.635 GB, free: 22.49 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001053/11.06, allocations: 18 kB / 3.635 GB, free: 22.48 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001555/11.06, allocations: 398.7 kB / 3.636 GB, free: 22.13 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001657/11.06, allocations: 450.7 kB / 3.636 GB, free: 21.99 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001819/11.06, allocations: 0.716 MB / 3.637 GB, free: 21.5 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001635/11.06, allocations: 484.7 kB / 3.637 GB, free: 21.33 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.005e-06/11.06, allocations: 2.5 kB / 3.637 GB, free: 21.33 MB / 490.7 MB Notification: Performance of matching and sorting (n=116) (initialization): time 0.004445/11.07, allocations: 1.286 MB / 3.639 GB, free: 20.85 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.791e-05/11.07, allocations: 8.844 kB / 3.639 GB, free: 20.85 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.736e-05/11.07, allocations: 6.875 kB / 3.639 GB, free: 20.85 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005696/11.07, allocations: 95.77 kB / 3.639 GB, free: 20.82 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007247/11.07, allocations: 426.4 kB / 3.639 GB, free: 20.79 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008683/11.08, allocations: 6.475 MB / 3.645 GB, free: 14.58 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002011/11.08, allocations: 139.1 kB / 3.646 GB, free: 14.55 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001335/11.09, allocations: 45.42 kB / 3.646 GB, free: 14.55 MB / 490.7 MB 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 () * Number of clocked 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 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0007895/11.09, allocations: 347.9 kB / 3.646 GB, free: 14.33 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002545/11.09, allocations: 89.91 kB / 3.646 GB, free: 14.28 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005036/11.09, allocations: 2.197 MB / 3.648 GB, free: 13.31 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.867e-05/11.09, allocations: 25.86 kB / 3.648 GB, free: 13.3 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/11.09, allocations: 0 / 3.648 GB, free: 13.3 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.223e-05/11.09, allocations: 3.188 kB / 3.648 GB, free: 13.3 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008052/11.1, allocations: 3.435 MB / 3.652 GB, free: 10.79 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.978e-06/11.1, allocations: 0 / 3.652 GB, free: 10.79 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006915/11.11, allocations: 365.8 kB / 3.652 GB, free: 10.55 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000576/11.11, allocations: 103.9 kB / 3.652 GB, free: 10.47 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001685/11.11, allocations: 23.22 kB / 3.652 GB, free: 10.45 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009816/11.12, allocations: 6.442 MB / 3.658 GB, free: 19.74 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/11.12, allocations: 0 / 3.658 GB, free: 19.74 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005529/11.12, allocations: 2.235 MB / 3.66 GB, free: 17.7 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006938/11.12, allocations: 320.5 kB / 3.661 GB, free: 17.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002997/11.12, allocations: 27.47 kB / 3.661 GB, free: 17.39 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001517/11.13, allocations: 111.4 kB / 3.661 GB, free: 17.31 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004211/11.13, allocations: 125.7 kB / 3.661 GB, free: 17.24 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.169e-05/11.13, allocations: 30.84 kB / 3.661 GB, free: 17.21 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001498/11.13, allocations: 0.7808 MB / 3.662 GB, free: 16.55 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.71e-07/11.13, allocations: 0 / 3.662 GB, free: 16.55 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.006905/11.13, allocations: 1.299 MB / 3.663 GB, free: 15.28 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (tank.medium.h,tank.level) * Number of discrete variables: 20 ($cse3.phase,$cse3.region,$cse7.phase,$cse7.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.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.01712/11.15, allocations: 4.909 MB / 3.668 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.008616/11.16, allocations: 1.32 MB / 3.669 GB, free: 9.957 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.326e-06/11.16, allocations: 4.062 kB / 3.669 GB, free: 9.953 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.007122/11.17, allocations: 0.9099 MB / 3.67 GB, free: 9.207 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004821/11.17, allocations: 0.5213 MB / 3.671 GB, free: 8.824 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02711/11.2, allocations: 12.89 MB / 3.683 GB, free: 12.57 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001098/11.2, allocations: 1.234 MB / 3.684 GB, free: 11.5 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.002111/11.2, allocations: 0.4898 MB / 3.685 GB, free: 11.18 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001199/11.2, allocations: 469.4 kB / 3.685 GB, free: 10.77 MB / 0.5105 GB Notification: Performance of SimCode: time 1.203e-06/11.2, allocations: 0 / 3.685 GB, free: 10.77 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5838/11.79, allocations: 64.99 MB / 3.749 GB, free: 64.15 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000227/11.79, allocations: 268.3 kB / 3.749 GB, free: 63.79 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.451/17.24, allocations: 5.203 kB / 3.749 GB, free: 63.79 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts_res.mat does not exist to compare? outputFormat=mat