Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Interfaces_Examples_FourPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.41/4.41, allocations: 433.2 MB / 440.7 MB, free: 4.59 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.711e-05/3.674e-05, allocations: 4.75 kB / 0.5325 GB, free: 12.75 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2458/0.2459, allocations: 98.73 MB / 0.6289 GB, free: 9.141 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.2/1.445, allocations: 390.7 MB / 1.01 GB, free: 10.78 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003866/1.446, allocations: 94.08 kB / 1.011 GB, free: 10.73 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.029/3.474, allocations: 415.6 MB / 1.416 GB, free: 2.766 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.736e-06/3.475, allocations: 0 / 1.416 GB, free: 2.766 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0001799/3.475, allocations: 27.98 kB / 1.416 GB, free: 2.738 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.003936/3.479, allocations: 1.255 MB / 1.418 GB, free: 1.434 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.239e-05/3.479, allocations: 11.97 kB / 1.418 GB, free: 1.422 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008404/3.48, allocations: 134.5 kB / 1.418 GB, free: 1.289 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.6659/4.146, allocations: 12.16 MB / 1.43 GB, free: 175.7 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.487e-05/4.146, allocations: 20.69 kB / 1.43 GB, free: 175.7 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001824/4.146, allocations: 43.25 kB / 1.43 GB, free: 175.7 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001468/4.147, allocations: 448.4 kB / 1.43 GB, free: 175.7 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001719/4.149, allocations: 0.6145 MB / 1.431 GB, free: 175.5 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.626e-05/4.149, allocations: 5.219 kB / 1.431 GB, free: 175.5 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.661e-05/4.149, allocations: 4.469 kB / 1.431 GB, free: 175.5 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.505e-05/4.149, allocations: 19.67 kB / 1.431 GB, free: 175.5 MB / 0.823 GB Warning: The model contains alias variables with conflicting start and/or 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.006993/4.156, allocations: 3.511 MB / 1.434 GB, free: 173.6 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006912/4.157, allocations: 207.8 kB / 1.434 GB, free: 173.6 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002872/4.157, allocations: 124.9 kB / 1.435 GB, free: 173.6 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004575/4.158, allocations: 0.502 MB / 1.435 GB, free: 173 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.299e-05/4.158, allocations: 37.17 kB / 1.435 GB, free: 173 MB / 0.823 GB Notification: Performance of pre-optimization done (n=27): time 3.297e-06/4.158, allocations: 1.594 kB / 1.435 GB, free: 173 MB / 0.823 GB Notification: Performance of matching and sorting (n=27): time 0.001272/4.159, allocations: 323.3 kB / 1.435 GB, free: 172.9 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.461e-05/4.159, allocations: 55.12 kB / 1.435 GB, free: 172.8 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001568/4.161, allocations: 0.6543 MB / 1.436 GB, free: 172.7 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001256/4.161, allocations: 30.36 kB / 1.436 GB, free: 172.7 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004987/4.162, allocations: 0.5153 MB / 1.437 GB, free: 172.5 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001724/4.162, allocations: 96.83 kB / 1.437 GB, free: 172.4 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.203e-05/4.162, allocations: 1.25 kB / 1.437 GB, free: 172.4 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.381e-05/4.162, allocations: 324 kB / 1.437 GB, free: 172.1 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003168/4.162, allocations: 121.5 kB / 1.437 GB, free: 172.1 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004619/4.163, allocations: 321.5 kB / 1.437 GB, free: 171.9 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007271/4.163, allocations: 194.2 kB / 1.438 GB, free: 171.9 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.045e-05/4.164, allocations: 2.094 kB / 1.438 GB, free: 171.9 MB / 0.823 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.00163/4.165, allocations: 480.1 kB / 1.438 GB, free: 171.8 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 3.699e-05/4.165, allocations: 13.95 kB / 1.438 GB, free: 171.8 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.678e-05/4.165, allocations: 5.312 kB / 1.438 GB, free: 171.8 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.899e-05/4.165, allocations: 8.656 kB / 1.438 GB, free: 171.8 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008791/4.166, allocations: 125 kB / 1.438 GB, free: 171.8 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.072e-05/4.166, allocations: 10.12 kB / 1.438 GB, free: 171.8 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001445/4.168, allocations: 77.69 kB / 1.438 GB, free: 171.8 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001448/4.168, allocations: 28.33 kB / 1.438 GB, free: 171.8 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001816/4.168, allocations: 123.5 kB / 1.438 GB, free: 171.7 MB / 0.823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001177/4.169, allocations: 314.2 kB / 1.439 GB, free: 171.6 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001995/4.17, allocations: 84.69 kB / 1.439 GB, free: 171.6 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001276/4.171, allocations: 373 kB / 1.439 GB, free: 171.5 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.424e-05/4.171, allocations: 4.531 kB / 1.439 GB, free: 171.5 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.285e-06/4.171, allocations: 2.75 kB / 1.439 GB, free: 171.5 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007614/4.172, allocations: 354.7 kB / 1.439 GB, free: 171.3 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003191/4.175, allocations: 1.107 MB / 1.441 GB, free: 171 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.965e-06/4.175, allocations: 4.094 kB / 1.441 GB, free: 171 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006591/4.176, allocations: 77.97 kB / 1.441 GB, free: 171 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.07e-05/4.176, allocations: 3.312 kB / 1.441 GB, free: 171 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.703e-05/4.176, allocations: 3.812 kB / 1.441 GB, free: 171 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.531e-06/4.176, allocations: 2.75 kB / 1.441 GB, free: 171 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.052e-06/4.176, allocations: 3.875 kB / 1.441 GB, free: 171 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001481/4.177, allocations: 0.6304 MB / 1.441 GB, free: 170.8 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006705/4.178, allocations: 218.7 kB / 1.441 GB, free: 170.7 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001886/4.178, allocations: 0 / 1.441 GB, free: 170.7 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009265/4.179, allocations: 55.25 kB / 1.442 GB, free: 170.6 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001341/4.179, allocations: 18.67 kB / 1.442 GB, free: 170.6 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.695e-05/4.179, allocations: 14.78 kB / 1.442 GB, free: 170.6 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0009984/4.18, allocations: 0.4958 MB / 1.442 GB, free: 170.6 MB / 0.823 GB Notification: Performance of sort global known variables: time 8.81e-07/4.18, allocations: 3.219 kB / 1.442 GB, free: 170.6 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.002026/4.182, allocations: 368.1 kB / 1.442 GB, free: 170.5 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (fouPor.vol1.dynBal.U,fouPor.vol2.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003377/4.186, allocations: 1.849 MB / 1.444 GB, free: 169.5 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.001042/4.187, allocations: 305.9 kB / 1.445 GB, free: 169.5 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/4.187, allocations: 1.094 kB / 1.445 GB, free: 169.5 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003799/4.187, allocations: 136 kB / 1.445 GB, free: 169.5 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004343/4.192, allocations: 465.9 kB / 1.445 GB, free: 169.5 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004843/4.197, allocations: 1.357 MB / 1.446 GB, free: 169.1 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000624/4.197, allocations: 1.057 MB / 1.447 GB, free: 168.4 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.00127/4.199, allocations: 169.7 kB / 1.448 GB, free: 168.4 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007968/4.199, allocations: 363 kB / 1.448 GB, free: 168.4 MB / 0.823 GB Notification: Performance of SimCode: time 1.553e-06/4.2, allocations: 2.75 kB / 1.448 GB, free: 168.4 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09208/4.292, allocations: 24.69 MB / 1.472 GB, free: 168 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002903/4.292, allocations: 197.9 kB / 1.472 GB, free: 167.8 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.925/8.217, allocations: 3.844 kB / 1.472 GB, free: 167.8 MB / 0.823 GB