Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.conf.json Using package Buildings with version 7.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_MassExchangers_Examples_ConstantEffectiveness",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo): time 0.01056/0.01057, allocations: 92.88 kB / 15.04 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo): time 0.001291/0.001291, allocations: 170.4 kB / 15.92 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo): time 2.419/2.419, allocations: 205.5 MB / 222.2 MB, free: 13.71 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.594/2.594, allocations: 252.8 MB / 0.511 GB, free: 8.355 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005084/0.0005085, allocations: 11.25 kB / 0.6243 GB, free: 28.39 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2483/0.2489, allocations: 106.2 MB / 0.7281 GB, free: 10.18 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.9524/1.201, allocations: 176.9 MB / 0.9008 GB, free: 4.52 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.01537/1.217, allocations: 7.004 MB / 0.9077 GB, free: 4.41 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002242/1.219, allocations: 36 kB / 0.9077 GB, free: 4.41 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.003722/1.223, allocations: 0.729 MB / 0.9084 GB, free: 4.406 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.01046/1.233, allocations: 2.199 MB / 0.9106 GB, free: 4.383 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.005498/1.239, allocations: 1.199 MB / 0.9118 GB, free: 4.328 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.004487/1.243, allocations: 1.613 MB / 0.9133 GB, free: 4.324 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00208/1.246, allocations: 0.8241 MB / 0.9141 GB, free: 4.227 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00466/1.25, allocations: 1.263 MB / 0.9154 GB, free: 4.219 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002332/1.253, allocations: 0.6675 MB / 0.916 GB, free: 4.219 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0006053/1.253, allocations: 47.16 kB / 0.9161 GB, free: 4.219 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005576/1.259, allocations: 1.327 MB / 0.9174 GB, free: 4.215 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0009402/1.26, allocations: 317.5 kB / 0.9177 GB, free: 4.215 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.0008922/1.261, allocations: 268.3 kB / 0.9179 GB, free: 20.18 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.003851/1.265, allocations: 1.608 MB / 0.9195 GB, free: 19.66 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/1.265, allocations: 1.859 kB / 0.9195 GB, free: 19.66 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.826e-06/1.265, allocations: 0 / 0.9195 GB, free: 19.66 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 4.47e-05/1.265, allocations: 0 / 0.9195 GB, free: 19.66 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.006995/1.272, allocations: 1.577 MB / 0.921 GB, free: 18.59 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.877e-05/1.272, allocations: 11.66 kB / 0.921 GB, free: 18.59 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004011/1.272, allocations: 130.3 kB / 0.9212 GB, free: 18.54 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005355/1.278, allocations: 0.5932 MB / 0.9217 GB, free: 18.3 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003057/1.281, allocations: 0.9208 MB / 0.9226 GB, free: 17.83 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001203/1.282, allocations: 194.6 kB / 0.9228 GB, free: 17.79 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004306/1.282, allocations: 91.62 kB / 0.9229 GB, free: 17.78 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004888/1.287, allocations: 1.253 MB / 0.9241 GB, free: 17.45 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.399e-05/1.287, allocations: 0 / 0.9241 GB, free: 17.45 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001798/1.288, allocations: 36.39 kB / 0.9242 GB, free: 17.45 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.509e-05/1.288, allocations: 52.41 kB / 0.9242 GB, free: 17.44 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007379/1.295, allocations: 1.611 MB / 0.9258 GB, free: 17.12 MB / 0.6823 GB 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.01149/1.307, allocations: 4.09 MB / 0.9298 GB, free: 14.78 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004609/1.311, allocations: 1.075 MB / 0.9308 GB, free: 14.55 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00124/1.313, allocations: 291.1 kB / 0.9311 GB, free: 14.32 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.958e-05/1.313, allocations: 43.84 kB / 0.9312 GB, free: 14.28 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=76): time 4.268e-06/1.313, allocations: 0 / 0.9312 GB, free: 14.28 MB / 0.6823 GB Notification: Performance of matching and sorting (n=76): time 0.009018/1.322, allocations: 1.914 MB / 0.933 GB, free: 13.84 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.084e-05/1.322, allocations: 58.31 kB / 0.9331 GB, free: 13.78 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001738/1.324, allocations: 0.8148 MB / 0.9339 GB, free: 13.5 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.000327/1.324, allocations: 41.11 kB / 0.9339 GB, free: 13.47 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004699/1.324, allocations: 448.5 kB / 0.9343 GB, free: 13.26 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004217/1.325, allocations: 260.6 kB / 0.9346 GB, free: 13.07 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.735e-05/1.325, allocations: 12.62 kB / 0.9346 GB, free: 13.07 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001531/1.325, allocations: 338 kB / 0.9349 GB, free: 12.75 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002758/1.328, allocations: 0.5592 MB / 0.9355 GB, free: 12.64 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003016/1.331, allocations: 0.6995 MB / 0.9362 GB, free: 12.4 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00289/1.334, allocations: 0.6169 MB / 0.9368 GB, free: 12.27 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.057e-06/1.334, allocations: 4 kB / 0.9368 GB, free: 12.27 MB / 0.6823 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.006113/1.34, allocations: 1.427 MB / 0.9382 GB, free: 11.91 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002663/1.34, allocations: 0.5554 MB / 0.9387 GB, free: 11.32 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/1.341, allocations: 2.844 kB / 0.9387 GB, free: 11.32 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.51e-05/1.341, allocations: 3.312 kB / 0.9387 GB, free: 11.32 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002946/1.343, allocations: 284.5 kB / 0.939 GB, free: 11.25 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009185/1.344, allocations: 1.193 MB / 0.9401 GB, free: 10.07 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002375/1.347, allocations: 196.7 kB / 0.9403 GB, free: 9.984 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001655/1.347, allocations: 41.03 kB / 0.9404 GB, free: 9.977 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/1.347, allocations: 4.875 kB / 0.9404 GB, free: 9.977 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005616/1.353, allocations: 1.318 MB / 0.9417 GB, free: 9.703 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.298e-06/1.353, allocations: 2.875 kB / 0.9417 GB, free: 9.703 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/1.353, allocations: 3.188 kB / 0.9417 GB, free: 9.703 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002306/1.355, allocations: 254.5 kB / 0.9419 GB, free: 9.645 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.218e-05/1.355, allocations: 4.938 kB / 0.9419 GB, free: 9.645 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002191/1.357, allocations: 196.8 kB / 0.9421 GB, free: 9.562 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001416/1.357, allocations: 40.17 kB / 0.9421 GB, free: 9.551 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 2 (hex.i1_w,hex.i2_w) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009032/1.358, allocations: 376.5 kB / 0.9425 GB, free: 9.348 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003443/1.359, allocations: 100.2 kB / 0.9426 GB, free: 9.297 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006041/1.365, allocations: 1.432 MB / 0.944 GB, free: 8.934 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.354e-05/1.365, allocations: 10.12 kB / 0.944 GB, free: 8.93 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.138e-05/1.365, allocations: 4 kB / 0.944 GB, free: 8.926 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.44e-05/1.365, allocations: 5.953 kB / 0.944 GB, free: 8.922 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009887/1.375, allocations: 2.984 MB / 0.9469 GB, free: 7.816 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.121e-05/1.375, allocations: 7.156 kB / 0.9469 GB, free: 7.812 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002373/1.377, allocations: 258.2 kB / 0.9472 GB, free: 7.75 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.477e-05/1.377, allocations: 7.375 kB / 0.9472 GB, free: 7.75 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001096/1.377, allocations: 23.98 kB / 0.9472 GB, free: 7.746 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007476/1.378, allocations: 1.197 MB / 0.9484 GB, free: 6.562 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.375e-06/1.378, allocations: 6.094 kB / 0.9484 GB, free: 6.562 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006398/1.385, allocations: 1.744 MB / 0.9501 GB, free: 5.699 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001121/1.386, allocations: 306.4 kB / 0.9504 GB, free: 5.504 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003845/1.386, allocations: 20.17 kB / 0.9504 GB, free: 5.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002573/1.389, allocations: 169.9 kB / 0.9506 GB, free: 5.441 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003225/1.389, allocations: 62.56 kB / 0.9506 GB, free: 5.418 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001701/1.389, allocations: 38.81 kB / 0.9507 GB, free: 5.41 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001202/1.391, allocations: 0.5563 MB / 0.9512 GB, free: 5.219 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.523e-06/1.391, allocations: 0 / 0.9512 GB, free: 5.219 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002396/1.393, allocations: 0.5425 MB / 0.9517 GB, free: 5.148 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008029/1.401, allocations: 3.639 MB / 0.9553 GB, free: 2.398 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0103/1.411, allocations: 2.136 MB / 0.9574 GB, free: 0.7422 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.042e-05/1.411, allocations: 0 / 0.9574 GB, free: 0.7422 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.003431/1.415, allocations: 0.7097 MB / 0.9581 GB, free: 228 kB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005069/1.42, allocations: 0.5059 MB / 0.9586 GB, free: 15.8 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009856/1.43, allocations: 3.76 MB / 0.9622 GB, free: 12.23 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009352/1.431, allocations: 1.112 MB / 0.9633 GB, free: 11.11 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.003129/1.434, allocations: 387.5 kB / 0.9637 GB, free: 10.73 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001175/1.435, allocations: 393.9 kB / 0.9641 GB, free: 10.61 MB / 0.698 GB Notification: Performance of SimCode: time 1.713e-06/1.435, allocations: 0 / 0.9641 GB, free: 10.61 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09097/1.526, allocations: 28.23 MB / 0.9916 GB, free: 14.82 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004641/1.527, allocations: 272.1 kB / 0.9919 GB, free: 14.46 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.794/5.321, allocations: 0 / 0.9919 GB, free: 14.46 MB / 0.7292 GB