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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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.503/4.503, allocations: 432.6 MB / 445.2 MB, free: 15.81 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.556e-05/4.593e-05, allocations: 4.641 kB / 0.5383 GB, free: 10.26 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2407/0.2408, allocations: 98.74 MB / 0.6347 GB, free: 1.898 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.224/1.465, allocations: 391.4 MB / 1.017 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000363/1.466, allocations: 91.92 kB / 1.017 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.679/4.145, allocations: 418 MB / 1.425 GB, free: 174.8 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.294e-06/4.145, allocations: 3.938 kB / 1.425 GB, free: 174.8 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0001835/4.145, allocations: 29.55 kB / 1.425 GB, free: 174.8 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.004366/4.15, allocations: 1.252 MB / 1.426 GB, free: 174.4 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 9.158e-05/4.15, allocations: 8.688 kB / 1.426 GB, free: 174.4 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003698/4.15, allocations: 118.3 kB / 1.427 GB, free: 174.4 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001345/4.152, allocations: 140 kB / 1.427 GB, free: 174.3 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06981/4.222, allocations: 12.22 MB / 1.439 GB, free: 173.7 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001116/4.222, allocations: 54.53 kB / 1.439 GB, free: 173.7 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003203/4.222, allocations: 73.84 kB / 1.439 GB, free: 173.7 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002978/4.225, allocations: 0.7154 MB / 1.44 GB, free: 173.5 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.721e-05/4.225, allocations: 0.8438 kB / 1.44 GB, free: 173.5 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001435/4.225, allocations: 25.69 kB / 1.44 GB, free: 173.5 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.095e-05/4.226, allocations: 21.5 kB / 1.44 GB, free: 173.5 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002424/4.228, allocations: 487.5 kB / 1.44 GB, free: 173.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.01004/4.238, allocations: 3.514 MB / 1.443 GB, free: 171.8 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001064/4.239, allocations: 221.3 kB / 1.444 GB, free: 171.7 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005061/4.24, allocations: 144.5 kB / 1.444 GB, free: 171.7 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009064/4.241, allocations: 0.6591 MB / 1.444 GB, free: 171 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.858e-05/4.241, allocations: 39.03 kB / 1.444 GB, free: 170.9 MB / 0.823 GB Notification: Performance of pre-optimization done (n=28): time 6.412e-06/4.241, allocations: 0 / 1.444 GB, free: 170.9 MB / 0.823 GB Notification: Performance of matching and sorting (n=28): time 0.001686/4.243, allocations: 349.7 kB / 1.445 GB, free: 170.9 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.009e-05/4.243, allocations: 54.31 kB / 1.445 GB, free: 170.8 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00295/4.246, allocations: 0.8194 MB / 1.446 GB, free: 170.6 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001839/4.246, allocations: 35.58 kB / 1.446 GB, free: 170.6 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008643/4.247, allocations: 0.509 MB / 1.446 GB, free: 170.4 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002911/4.247, allocations: 104.7 kB / 1.446 GB, free: 170.4 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.719e-05/4.247, allocations: 10.38 kB / 1.446 GB, free: 170.4 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001261/4.247, allocations: 329.6 kB / 1.447 GB, free: 170.1 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005433/4.248, allocations: 119.7 kB / 1.447 GB, free: 170.1 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007826/4.249, allocations: 343.9 kB / 1.447 GB, free: 169.8 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007464/4.25, allocations: 184.8 kB / 1.447 GB, free: 169.8 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-05/4.25, allocations: 0 / 1.447 GB, free: 169.8 MB / 0.823 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.002266/4.252, allocations: 0.5244 MB / 1.448 GB, free: 169.8 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 4.708e-05/4.252, allocations: 11.55 kB / 1.448 GB, free: 169.8 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.075e-05/4.252, allocations: 3.844 kB / 1.448 GB, free: 169.8 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.564e-05/4.252, allocations: 11.06 kB / 1.448 GB, free: 169.8 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001283/4.253, allocations: 120.8 kB / 1.448 GB, free: 169.8 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.371e-05/4.253, allocations: 14.34 kB / 1.448 GB, free: 169.8 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002495/4.256, allocations: 111.8 kB / 1.448 GB, free: 169.7 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002131/4.256, allocations: 22.22 kB / 1.448 GB, free: 169.7 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.0002642/4.257, allocations: 137.3 kB / 1.448 GB, free: 169.6 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004808/4.257, allocations: 99.31 kB / 1.448 GB, free: 169.6 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00178/4.259, allocations: 438.3 kB / 1.449 GB, free: 169.5 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.212e-05/4.259, allocations: 3.531 kB / 1.449 GB, free: 169.5 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-05/4.259, allocations: 1.125 kB / 1.449 GB, free: 169.5 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009568/4.26, allocations: 368.8 kB / 1.449 GB, free: 169.4 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004372/4.264, allocations: 1.227 MB / 1.45 GB, free: 169 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.106e-05/4.264, allocations: 1.969 kB / 1.45 GB, free: 169 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009525/4.265, allocations: 78.94 kB / 1.45 GB, free: 169 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.738e-05/4.265, allocations: 7.578 kB / 1.45 GB, free: 169 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.601e-05/4.266, allocations: 5.969 kB / 1.45 GB, free: 169 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.536e-06/4.266, allocations: 0 / 1.45 GB, free: 169 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.54e-06/4.266, allocations: 3.125 kB / 1.45 GB, free: 169 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002123/4.268, allocations: 0.6719 MB / 1.451 GB, free: 168.8 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001182/4.269, allocations: 233.8 kB / 1.451 GB, free: 168.6 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004726/4.27, allocations: 3.875 kB / 1.451 GB, free: 168.6 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001973/4.272, allocations: 62.44 kB / 1.451 GB, free: 168.6 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000324/4.272, allocations: 26.28 kB / 1.451 GB, free: 168.6 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001629/4.272, allocations: 7.844 kB / 1.451 GB, free: 168.6 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.003642/4.276, allocations: 0.6613 MB / 1.452 GB, free: 168.5 MB / 0.823 GB Notification: Performance of sort global known variables: time 2.495e-06/4.276, allocations: 0 / 1.452 GB, free: 168.5 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.002027/4.278, allocations: 366.7 kB / 1.452 GB, free: 168.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.003018/4.281, allocations: 1.884 MB / 1.454 GB, free: 167.4 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0009995/4.282, allocations: 326.4 kB / 1.454 GB, free: 167.4 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 8.195e-06/4.282, allocations: 0 / 1.454 GB, free: 167.4 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.000357/4.282, allocations: 136.8 kB / 1.455 GB, free: 167.4 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005457/4.288, allocations: 0.593 MB / 1.455 GB, free: 167.4 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004886/4.293, allocations: 1.415 MB / 1.457 GB, free: 167 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006409/4.294, allocations: 1.061 MB / 1.458 GB, free: 166.2 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.001451/4.295, allocations: 194.6 kB / 1.458 GB, free: 166.2 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007866/4.296, allocations: 382.5 kB / 1.458 GB, free: 166.2 MB / 0.823 GB Notification: Performance of SimCode: time 1.132e-06/4.296, allocations: 0 / 1.458 GB, free: 166.2 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1641/4.46, allocations: 32.38 MB / 1.49 GB, free: 165.5 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002386/4.46, allocations: 214.1 kB / 1.49 GB, free: 165.3 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.09/8.55, allocations: 0 / 1.49 GB, free: 165.3 MB / 0.823 GB