Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts,fileNamePrefix="ModelicaTest_3_2_1_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.1+maint.om/package.mo): time 0.01576/0.01576, allocations: 165 kB / 15.11 MB, free: 5.934 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.823/1.823, allocations: 170.8 MB / 186.6 MB, free: 1.121 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.002012/0.002012, allocations: 106.5 kB / 226.2 MB, free: 10.11 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4512/0.4512, allocations: 38.06 MB / 303.7 MB, free: 42.38 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000705/0.000705, allocations: 16 kB / 363 MB, free: 5.488 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.1084, allocations: 48.71 MB / 411.7 MB, free: 4.703 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.805/7.913, allocations: 2.486 GB / 2.888 GB, free: 49.39 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003058/7.913, allocations: 88.39 kB / 2.888 GB, free: 49.34 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.771/10.68, allocations: 0.538 GB / 3.426 GB, free: 10.45 MB / 442.7 MB Notification: Performance of FrontEnd: time 4.869e-06/10.68, allocations: 0 / 3.426 GB, free: 10.45 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001319/10.68, allocations: 23.17 kB / 3.426 GB, free: 10.43 MB / 442.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.01015/10.7, allocations: 2.088 MB / 3.428 GB, free: 8.344 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.483e-05/10.7, allocations: 8.031 kB / 3.428 GB, free: 8.336 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004942/10.7, allocations: 147.2 kB / 3.428 GB, free: 8.184 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003414/10.7, allocations: 302.6 kB / 3.429 GB, free: 7.887 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002137/10.7, allocations: 0.7022 MB / 3.429 GB, free: 7.16 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002318/10.7, allocations: 300.6 kB / 3.43 GB, free: 6.816 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001972/10.7, allocations: 87.81 kB / 3.43 GB, free: 6.734 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005266/10.71, allocations: 1.502 MB / 3.431 GB, free: 5.148 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.457e-05/10.71, allocations: 4 kB / 3.431 GB, free: 5.145 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001766/10.71, allocations: 36 kB / 3.431 GB, free: 5.109 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.213e-05/10.71, allocations: 42.33 kB / 3.431 GB, free: 5.066 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005472/10.71, allocations: 1.373 MB / 3.433 GB, free: 3.695 MB / 442.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.01313/10.73, allocations: 6.36 MB / 3.439 GB, free: 12.92 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005051/10.73, allocations: 0.9897 MB / 3.44 GB, free: 11.91 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4147/11.15, allocations: 18.53 MB / 3.458 GB, free: 41.71 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.995e-05/11.15, allocations: 42.69 kB / 3.458 GB, free: 41.68 MB / 458.7 MB Notification: Performance of pre-optimization done (n=59): time 4.057e-06/11.15, allocations: 0.75 kB / 3.458 GB, free: 41.68 MB / 458.7 MB Notification: Performance of matching and sorting (n=64): time 0.01436/11.16, allocations: 2.981 MB / 3.461 GB, free: 41.24 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.158e-05/11.16, allocations: 169.4 kB / 3.461 GB, free: 41.05 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001366/11.16, allocations: 0.7011 MB / 3.462 GB, free: 40.93 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002688/11.16, allocations: 48.14 kB / 3.462 GB, free: 40.9 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004287/11.16, allocations: 461.5 kB / 3.462 GB, free: 40.71 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003012/11.16, allocations: 218.7 kB / 3.462 GB, free: 40.61 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001064/11.16, allocations: 18.72 kB / 3.462 GB, free: 40.61 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001598/11.16, allocations: 394.5 kB / 3.463 GB, free: 40.3 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001745/11.17, allocations: 455.7 kB / 3.463 GB, free: 40.29 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001875/11.17, allocations: 0.7145 MB / 3.464 GB, free: 39.97 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001783/11.17, allocations: 486 kB / 3.464 GB, free: 39.96 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.548e-06/11.17, allocations: 3.031 kB / 3.464 GB, free: 39.96 MB / 458.7 MB Notification: Performance of matching and sorting (n=116) (initialization): time 0.005159/11.17, allocations: 1.283 MB / 3.466 GB, free: 39.87 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.991e-05/11.17, allocations: 10.16 kB / 3.466 GB, free: 39.87 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.265e-05/11.17, allocations: 6.156 kB / 3.466 GB, free: 39.87 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005838/11.17, allocations: 97.83 kB / 3.466 GB, free: 39.86 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007528/11.18, allocations: 425 kB / 3.466 GB, free: 39.86 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009132/11.19, allocations: 6.467 MB / 3.472 GB, free: 34.07 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002176/11.19, allocations: 139.3 kB / 3.472 GB, free: 34.07 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001878/11.19, allocations: 47.39 kB / 3.473 GB, free: 34.07 MB / 458.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.0009093/11.19, allocations: 353 kB / 3.473 GB, free: 33.95 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003068/11.2, allocations: 86.69 kB / 3.473 GB, free: 33.91 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005265/11.2, allocations: 2.202 MB / 3.475 GB, free: 33.69 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.85e-05/11.2, allocations: 20.95 kB / 3.475 GB, free: 33.69 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/11.2, allocations: 7.453 kB / 3.475 GB, free: 33.68 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.256e-05/11.2, allocations: 5.906 kB / 3.475 GB, free: 33.68 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00846/11.21, allocations: 3.433 MB / 3.478 GB, free: 33.29 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.258e-05/11.21, allocations: 3.344 kB / 3.478 GB, free: 33.29 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007024/11.22, allocations: 364.4 kB / 3.479 GB, free: 33.29 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005927/11.22, allocations: 103.8 kB / 3.479 GB, free: 33.28 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001758/11.22, allocations: 18 kB / 3.479 GB, free: 33.28 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008795/11.23, allocations: 6.446 MB / 3.485 GB, free: 27.49 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.081e-06/11.23, allocations: 6.766 kB / 3.485 GB, free: 27.49 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005776/11.23, allocations: 2.229 MB / 3.487 GB, free: 27.04 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007484/11.23, allocations: 314 kB / 3.488 GB, free: 26.88 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003556/11.23, allocations: 30.66 kB / 3.488 GB, free: 26.88 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001556/11.23, allocations: 112.7 kB / 3.488 GB, free: 26.88 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004349/11.23, allocations: 131.8 kB / 3.488 GB, free: 26.88 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.288e-05/11.23, allocations: 25.97 kB / 3.488 GB, free: 26.88 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001588/11.24, allocations: 0.7794 MB / 3.489 GB, free: 26.77 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.21e-07/11.24, allocations: 3.812 kB / 3.489 GB, free: 26.77 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.007012/11.24, allocations: 1.289 MB / 3.49 GB, free: 26.77 MB / 458.7 MB 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.01725/11.26, allocations: 4.902 MB / 3.495 GB, free: 25.35 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.008658/11.27, allocations: 1.314 MB / 3.496 GB, free: 25.34 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.153e-05/11.27, allocations: 5.109 kB / 3.496 GB, free: 25.34 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007/11.28, allocations: 0.9167 MB / 3.497 GB, free: 25.34 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004823/11.28, allocations: 0.4997 MB / 3.497 GB, free: 25.33 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02372/11.31, allocations: 12.88 MB / 3.51 GB, free: 17.73 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009829/11.31, allocations: 1.233 MB / 3.511 GB, free: 17.02 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002065/11.31, allocations: 0.4969 MB / 3.512 GB, free: 17.01 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008848/11.31, allocations: 471.7 kB / 3.512 GB, free: 17.01 MB / 458.7 MB Notification: Performance of SimCode: time 1.923e-06/11.31, allocations: 0 / 3.512 GB, free: 17.01 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1588/11.47, allocations: 64.84 MB / 3.576 GB, free: 13.71 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003114/11.47, allocations: 269.3 kB / 3.576 GB, free: 13.36 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.205/16.67, allocations: 0 / 3.576 GB, free: 13.36 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts_res.mat does not exist to compare? outputFormat=mat