Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.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 Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUMassFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01707/0.01708, allocations: 107.5 kB / 15.06 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.002053/0.002053, allocations: 181.8 kB / 15.95 MB, free: 5.52 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.188/2.188, allocations: 194.6 MB / 211.3 MB, free: 11.22 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.536/2.536, allocations: 236.2 MB / 492.6 MB, free: 11.34 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000613/0.0006132, allocations: 16 kB / 0.587 GB, free: 2.066 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7729/0.7736, allocations: 98.72 MB / 0.6834 GB, free: 16.73 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow): time 0.2986/1.072, allocations: 171.9 MB / 0.8513 GB, free: 2.023 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.028/1.1, allocations: 12.76 MB / 0.8638 GB, free: 5.238 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002263/1.103, allocations: 39.69 kB / 0.8638 GB, free: 5.199 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.003583/1.106, allocations: 0.7076 MB / 0.8645 GB, free: 4.488 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.009466/1.116, allocations: 2.014 MB / 0.8665 GB, free: 2.469 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.008141/1.124, allocations: 1.721 MB / 0.8682 GB, free: 0.7461 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.005543/1.13, allocations: 1.945 MB / 0.8701 GB, free: 14.8 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002379/1.132, allocations: 0.8949 MB / 0.871 GB, free: 13.88 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005048/1.137, allocations: 1.351 MB / 0.8723 GB, free: 12.52 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002291/1.139, allocations: 0.747 MB / 0.873 GB, free: 11.77 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0004217/1.14, allocations: 59.88 kB / 0.8731 GB, free: 11.71 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006865/1.147, allocations: 2.048 MB / 0.8751 GB, free: 9.664 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0008534/1.148, allocations: 306.9 kB / 0.8754 GB, free: 9.363 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0007372/1.148, allocations: 305 kB / 0.8757 GB, free: 9.059 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.005464/1.154, allocations: 2.015 MB / 0.8776 GB, free: 7.039 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/1.154, allocations: 0 / 0.8776 GB, free: 7.039 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.925e-06/1.154, allocations: 0 / 0.8776 GB, free: 7.039 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.246e-05/1.154, allocations: 0 / 0.8776 GB, free: 7.039 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 229 * Number of variables: 229 Notification: Performance of Generate backend data structure: time 0.006547/1.16, allocations: 1.795 MB / 0.8794 GB, free: 5.18 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.486e-05/1.161, allocations: 8.031 kB / 0.8794 GB, free: 5.172 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004238/1.161, allocations: 147.6 kB / 0.8795 GB, free: 5.02 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005331/1.166, allocations: 0.5602 MB / 0.8801 GB, free: 4.457 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003324/1.17, allocations: 1.032 MB / 0.8811 GB, free: 3.367 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001219/1.171, allocations: 205.9 kB / 0.8813 GB, free: 3.168 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002992/1.171, allocations: 99.98 kB / 0.8814 GB, free: 3.07 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004429/1.176, allocations: 1.248 MB / 0.8826 GB, free: 1.801 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.286e-05/1.176, allocations: 0 / 0.8826 GB, free: 1.801 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001709/1.176, allocations: 40 kB / 0.8826 GB, free: 1.762 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.317e-05/1.176, allocations: 34 kB / 0.8827 GB, free: 1.73 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005567/1.182, allocations: 1.316 MB / 0.8839 GB, free: 424 kB / 0.698 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.01317/1.195, allocations: 4.885 MB / 0.8887 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005111/1.2, allocations: 1.055 MB / 0.8897 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001622/1.202, allocations: 0.6916 MB / 0.8904 GB, free: 9.324 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002583/1.204, allocations: 0.715 MB / 0.8911 GB, free: 8.574 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=83): time 3.226e-06/1.204, allocations: 0 / 0.8911 GB, free: 8.574 MB / 0.7136 GB Notification: Performance of matching and sorting (n=83): time 0.007497/1.212, allocations: 1.822 MB / 0.8929 GB, free: 6.695 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001177/1.212, allocations: 149 kB / 0.893 GB, free: 6.52 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002178/1.214, allocations: 1.034 MB / 0.894 GB, free: 5.473 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001909/1.214, allocations: 45.7 kB / 0.8941 GB, free: 5.422 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006566/1.215, allocations: 0.5397 MB / 0.8946 GB, free: 4.875 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003595/1.215, allocations: 268.1 kB / 0.8949 GB, free: 4.609 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001003/1.215, allocations: 16 kB / 0.8949 GB, free: 4.594 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000175/1.216, allocations: 338 kB / 0.8952 GB, free: 4.258 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002322/1.218, allocations: 0.4977 MB / 0.8957 GB, free: 3.758 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002603/1.221, allocations: 0.6873 MB / 0.8964 GB, free: 3.008 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002549/1.223, allocations: 0.5958 MB / 0.8969 GB, free: 2.402 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.564e-06/1.223, allocations: 0 / 0.8969 GB, free: 2.402 MB / 0.7136 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.006153/1.229, allocations: 1.418 MB / 0.8983 GB, free: 0.9648 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005618/1.23, allocations: 1.128 MB / 0.8994 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.575e-05/1.23, allocations: 4 kB / 0.8994 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.881e-05/1.23, allocations: 4 kB / 0.8994 GB, free: 15.74 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00252/1.233, allocations: 263.6 kB / 0.8997 GB, free: 15.48 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.515e-05/1.233, allocations: 11.92 kB / 0.8997 GB, free: 15.47 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002639/1.235, allocations: 218.8 kB / 0.8999 GB, free: 15.26 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001917/1.235, allocations: 43.98 kB / 0.9 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 4.17e-05/1.236, allocations: 4 kB / 0.9 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005587/1.241, allocations: 1.319 MB / 0.9012 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.079e-05/1.241, allocations: 7.984 kB / 0.9013 GB, free: 13.87 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.075e-05/1.241, allocations: 11.95 kB / 0.9013 GB, free: 13.86 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002437/1.244, allocations: 255.7 kB / 0.9015 GB, free: 13.61 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.995e-05/1.244, allocations: 7.984 kB / 0.9015 GB, free: 13.6 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002551/1.246, allocations: 195.1 kB / 0.9017 GB, free: 13.41 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001745/1.246, allocations: 43.97 kB / 0.9017 GB, free: 13.36 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition1,$whenCondition2,mWatGai.a,mWatGai.b,mWatGai.last,$PRE.mWatGai.nextEvent,mWatGai.nextEvent,mWatGai.nextEventScaled,mAirGai.a,mAirGai.b,mAirGai.last,$PRE.mAirGai.nextEvent,mAirGai.nextEvent,mAirGai.nextEventScaled,hex.flowRegime,hex.flowRegime_nominal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (107): * Single equations (assignments): 105 * Array equations: 0 * Algorithm blocks: 2 * 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.001065/1.248, allocations: 464.3 kB / 0.9022 GB, free: 12.89 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004367/1.248, allocations: 126.5 kB / 0.9023 GB, free: 12.76 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005708/1.254, allocations: 1.414 MB / 0.9037 GB, free: 11.33 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.183e-05/1.254, allocations: 8.094 kB / 0.9037 GB, free: 11.32 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.055e-05/1.254, allocations: 3.984 kB / 0.9037 GB, free: 11.32 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.533e-05/1.254, allocations: 7.984 kB / 0.9037 GB, free: 11.31 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009047/1.263, allocations: 2.879 MB / 0.9065 GB, free: 8.324 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.241e-05/1.263, allocations: 352 / 0.9065 GB, free: 8.324 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001901/1.265, allocations: 207.7 kB / 0.9067 GB, free: 8.121 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.951e-05/1.265, allocations: 8 kB / 0.9067 GB, free: 8.113 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001399/1.265, allocations: 27.97 kB / 0.9068 GB, free: 8.086 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.094e-05/1.265, allocations: 4 kB / 0.9068 GB, free: 8.082 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.568e-06/1.265, allocations: 4 kB / 0.9068 GB, free: 8.078 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008148/1.273, allocations: 2.306 MB / 0.909 GB, free: 5.664 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001103/1.274, allocations: 347.1 kB / 0.9093 GB, free: 5.305 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003112/1.275, allocations: 28.06 kB / 0.9094 GB, free: 5.277 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002424/1.277, allocations: 123.8 kB / 0.9095 GB, free: 5.156 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003407/1.278, allocations: 68.38 kB / 0.9096 GB, free: 5.09 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001877/1.278, allocations: 43.97 kB / 0.9096 GB, free: 5.047 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001917/1.28, allocations: 0.701 MB / 0.9103 GB, free: 4.34 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.042e-06/1.28, allocations: 0 / 0.9103 GB, free: 4.34 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.003859/1.284, allocations: 0.7916 MB / 0.9111 GB, free: 3.547 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 1 (senRelHum.phi) * Number of discrete variables: 13 ($whenCondition1,$whenCondition2,mWatGai.a,mWatGai.b,mWatGai.last,mWatGai.nextEvent,mWatGai.nextEventScaled,mAirGai.a,mAirGai.b,mAirGai.last,mAirGai.nextEvent,mAirGai.nextEventScaled,hex.flowRegime) * Number of discrete states: 12 (mAirGai.nextEvent,mAirGai.last,mAirGai.nextEventScaled,mAirGai.b,mAirGai.a,$whenCondition2,mWatGai.nextEvent,mWatGai.last,mWatGai.nextEventScaled,mWatGai.b,mWatGai.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (79): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 2 * 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.5994/1.883, allocations: 4.004 MB / 0.915 GB, free: 213.5 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.009521/1.893, allocations: 2.252 MB / 0.9172 GB, free: 213.2 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.02e-05/1.893, allocations: 1 kB / 0.9172 GB, free: 213.2 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.003407/1.896, allocations: 0.7801 MB / 0.9179 GB, free: 212.8 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004802/1.901, allocations: 0.5005 MB / 0.9184 GB, free: 212.7 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0115/1.912, allocations: 5.147 MB / 0.9234 GB, free: 209.2 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001213/1.914, allocations: 1.178 MB / 0.9246 GB, free: 208.5 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.003229/1.917, allocations: 355 kB / 0.9249 GB, free: 208.4 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001322/1.918, allocations: 0.489 MB / 0.9254 GB, free: 208.1 MB / 0.7292 GB Notification: Performance of SimCode: time 1.973e-06/1.918, allocations: 0.5312 kB / 0.9254 GB, free: 208.1 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.108/2.026, allocations: 35.22 MB / 0.9598 GB, free: 191.7 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004209/2.027, allocations: 243 kB / 0.96 GB, free: 191.4 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.304/6.331, allocations: 0 / 0.96 GB, free: 191.4 MB / 0.7292 GB