Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo): time 0.01533/0.01534, allocations: 105.3 kB / 15.06 MB, free: 6.035 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo): time 0.001865/0.001866, allocations: 171.7 kB / 15.93 MB, free: 5.965 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo): time 1.874/1.874, allocations: 170.9 MB / 187.5 MB, free: 1.008 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo): time 0.262/0.262, allocations: 38.09 MB / 265.1 MB, free: 3.969 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000477/0.0004772, allocations: 12 kB / 323.6 MB, free: 29.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09481/0.09533, allocations: 48.71 MB / 372.3 MB, free: 12.84 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts): time 0.08561/0.181, allocations: 49.28 MB / 421.6 MB, free: 11.45 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.3263/0.5074, allocations: 13.99 MB / 435.6 MB, free: 12.74 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001238/0.5087, allocations: 29.81 kB / 435.6 MB, free: 12.74 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002035/0.5107, allocations: 392.1 kB / 436 MB, free: 12.74 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01681/0.5276, allocations: 3.83 MB / 439.8 MB, free: 12.7 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008127/0.5358, allocations: 1.87 MB / 441.7 MB, free: 12.67 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.003442/0.5392, allocations: 1.558 MB / 443.2 MB, free: 12.66 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001711/0.541, allocations: 0.7043 MB / 443.9 MB, free: 12.58 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01167/0.5527, allocations: 3.592 MB / 447.5 MB, free: 12.54 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009872/0.5626, allocations: 3.269 MB / 450.8 MB, free: 12.5 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003489/0.563, allocations: 51.34 kB / 450.9 MB, free: 12.5 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02109/0.5842, allocations: 6.996 MB / 457.9 MB, free: 11.96 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006563/0.5849, allocations: 256.2 kB / 458.1 MB, free: 11.9 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006874/0.5856, allocations: 228 kB / 458.3 MB, free: 11.87 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00947/0.5951, allocations: 3.698 MB / 462 MB, free: 10.18 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.5951, allocations: 0 / 462 MB, free: 10.18 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.565e-06/0.5951, allocations: 4 kB / 462 MB, free: 10.18 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.103e-05/0.5952, allocations: 0 / 462 MB, free: 10.18 MB / 330.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.006809/0.602, allocations: 1.688 MB / 463.7 MB, free: 9.137 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.2e-05/0.6021, allocations: 15.41 kB / 463.7 MB, free: 9.133 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005506/0.6026, allocations: 142.9 kB / 463.9 MB, free: 9.074 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003493/0.6061, allocations: 323.3 kB / 464.2 MB, free: 8.957 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001874/0.6081, allocations: 0.6302 MB / 464.8 MB, free: 8.602 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002733/0.6084, allocations: 301.4 kB / 465.1 MB, free: 8.344 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002779/0.6087, allocations: 79.69 kB / 465.2 MB, free: 8.344 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005351/0.6141, allocations: 1.521 MB / 466.7 MB, free: 7.758 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.473e-05/0.6142, allocations: 5.781 kB / 466.7 MB, free: 7.758 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001792/0.6143, allocations: 37.28 kB / 466.8 MB, free: 7.758 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.901e-05/0.6144, allocations: 42.27 kB / 466.8 MB, free: 7.738 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005598/0.62, allocations: 1.384 MB / 468.2 MB, free: 6.707 MB / 330.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.01284/0.6329, allocations: 6.389 MB / 474.6 MB, free: 0.6328 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004741/0.6377, allocations: 0.9972 MB / 475.6 MB, free: 15.84 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06568/0.7034, allocations: 18.79 MB / 494.4 MB, free: 11.17 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.823e-05/0.7036, allocations: 50.33 kB / 494.4 MB, free: 11.12 MB / 362.7 MB Notification: Performance of pre-optimization done (n=59): time 3.847e-06/0.7036, allocations: 0 / 494.4 MB, free: 11.12 MB / 362.7 MB Notification: Performance of matching and sorting (n=64): time 0.01486/0.7184, allocations: 3.023 MB / 497.4 MB, free: 8.672 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.908e-05/0.7186, allocations: 162.8 kB / 497.6 MB, free: 8.477 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001564/0.7202, allocations: 0.7956 MB / 498.4 MB, free: 7.863 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002647/0.7205, allocations: 48.2 kB / 498.4 MB, free: 7.824 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004871/0.721, allocations: 455.2 kB / 498.9 MB, free: 7.504 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003565/0.7214, allocations: 217.5 kB / 499.1 MB, free: 7.328 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.425e-05/0.7215, allocations: 22.66 kB / 499.1 MB, free: 7.324 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002228/0.7217, allocations: 399.2 kB / 499.5 MB, free: 6.961 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001846/0.7236, allocations: 460.9 kB / 499.9 MB, free: 6.645 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002102/0.7257, allocations: 0.7263 MB / 0.4889 GB, free: 5.961 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001927/0.7277, allocations: 495.3 kB / 0.4894 GB, free: 5.637 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.099e-05/0.7277, allocations: 7.188 kB / 0.4894 GB, free: 5.633 MB / 362.7 MB Notification: Performance of matching and sorting (n=116) (initialization): time 0.005042/0.7328, allocations: 1.291 MB / 0.4907 GB, free: 4.703 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.465e-05/0.7329, allocations: 8.781 kB / 0.4907 GB, free: 4.695 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.348e-05/0.7329, allocations: 8 kB / 0.4907 GB, free: 4.688 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000584/0.7335, allocations: 97.78 kB / 0.4908 GB, free: 4.609 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006987/0.7405, allocations: 362.5 kB / 0.4911 GB, free: 4.277 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008828/0.7494, allocations: 6.421 MB / 0.4974 GB, free: 13.7 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002109/0.7515, allocations: 135.4 kB / 0.4975 GB, free: 13.59 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003009/0.7519, allocations: 45.36 kB / 0.4976 GB, free: 13.55 MB / 378.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.001041/0.7529, allocations: 347.2 kB / 0.4979 GB, free: 13.3 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000349/0.7533, allocations: 86.97 kB / 0.498 GB, free: 13.21 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005899/0.7592, allocations: 2.215 MB / 0.5002 GB, free: 11.68 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.157e-05/0.7593, allocations: 15.23 kB / 0.5002 GB, free: 11.67 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.7593, allocations: 4 kB / 0.5002 GB, free: 11.67 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.65e-05/0.7594, allocations: 3.984 kB / 0.5002 GB, free: 11.66 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00932/0.7687, allocations: 3.436 MB / 0.5035 GB, free: 9.246 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.518e-05/0.7687, allocations: 4 kB / 0.5035 GB, free: 9.242 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00667/0.7754, allocations: 304.3 kB / 0.5038 GB, free: 8.957 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006146/0.7761, allocations: 108.2 kB / 0.5039 GB, free: 8.875 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001653/0.7763, allocations: 18.48 kB / 0.5039 GB, free: 8.863 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00896/0.7853, allocations: 6.405 MB / 0.5102 GB, free: 2.277 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.46e-06/0.7853, allocations: 2.625 kB / 0.5102 GB, free: 2.277 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006377/0.7917, allocations: 2.253 MB / 0.5124 GB, free: 0.6016 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006958/0.7924, allocations: 311.8 kB / 0.5127 GB, free: 332 kB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000386/0.7929, allocations: 26.86 kB / 0.5127 GB, free: 316 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001761/0.7946, allocations: 113.3 kB / 0.5128 GB, free: 212 kB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005688/0.7952, allocations: 131.3 kB / 0.513 GB, free: 96 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000117/0.7954, allocations: 25.11 kB / 0.513 GB, free: 76 kB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001695/0.7971, allocations: 0.7788 MB / 0.5137 GB, free: 15.49 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.81e-07/0.7971, allocations: 0 / 0.5137 GB, free: 15.49 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.005263/0.8024, allocations: 1.214 MB / 0.5149 GB, free: 14.34 MB / 394.7 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,$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.01512/0.8176, allocations: 4.331 MB / 0.5192 GB, free: 10.74 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.009274/0.8269, allocations: 1.318 MB / 0.5204 GB, free: 9.781 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.897e-06/0.827, allocations: 0 / 0.5204 GB, free: 9.781 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007437/0.8344, allocations: 0.9072 MB / 0.5213 GB, free: 9.145 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004627/0.8391, allocations: 0.5057 MB / 0.5218 GB, free: 8.727 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02433/0.8635, allocations: 12.86 MB / 0.5344 GB, free: 12.57 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001221/0.8647, allocations: 1.232 MB / 0.5356 GB, free: 11.32 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002115/0.8669, allocations: 0.5045 MB / 0.5361 GB, free: 10.82 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00109/0.868, allocations: 467.3 kB / 0.5365 GB, free: 10.36 MB / 410.7 MB Notification: Performance of SimCode: time 1.332e-06/0.868, allocations: 4 kB / 0.5365 GB, free: 10.36 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4437/1.312, allocations: 64.6 MB / 0.5996 GB, free: 174.8 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002963/1.312, allocations: 266 kB / 0.5999 GB, free: 174.5 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.286/8.598, allocations: 1.219 kB / 0.5999 GB, free: 174.5 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