Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.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.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl",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.01365/0.01365, allocations: 88.05 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.00118/0.00118, allocations: 175 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.212/2.212, allocations: 205.5 MB / 222.2 MB, free: 13.7 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.409/2.409, allocations: 252.9 MB / 0.511 GB, free: 8.34 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004897/0.0004897, allocations: 13.41 kB / 0.6243 GB, free: 21.2 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2349/0.2354, allocations: 106.2 MB / 0.7281 GB, free: 8.141 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl): time 0.9181/1.154, allocations: 176 MB / 0.8999 GB, free: 14.89 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.02865/1.182, allocations: 12.28 MB / 0.9119 GB, free: 12.32 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00321/1.186, allocations: 53.97 kB / 0.912 GB, free: 12.3 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.004275/1.19, allocations: 0.7626 MB / 0.9127 GB, free: 11.82 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.01141/1.201, allocations: 2.257 MB / 0.9149 GB, free: 10.55 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.01393/1.215, allocations: 2.858 MB / 0.9177 GB, free: 9.293 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.006838/1.222, allocations: 2.224 MB / 0.9199 GB, free: 7.824 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002811/1.225, allocations: 1.022 MB / 0.9209 GB, free: 7.188 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005375/1.23, allocations: 1.444 MB / 0.9223 GB, free: 6.273 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002744/1.233, allocations: 0.8404 MB / 0.9231 GB, free: 5.766 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.000627/1.234, allocations: 66.8 kB / 0.9232 GB, free: 5.762 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007423/1.241, allocations: 2.091 MB / 0.9252 GB, free: 4.754 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.000993/1.242, allocations: 347.7 kB / 0.9256 GB, free: 4.516 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.0009251/1.243, allocations: 349.6 kB / 0.9259 GB, free: 4.316 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.006258/1.25, allocations: 2.273 MB / 0.9281 GB, free: 2.84 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/1.25, allocations: 0 / 0.9281 GB, free: 2.84 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.675e-06/1.25, allocations: 3.938 kB / 0.9281 GB, free: 2.836 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 7.888e-05/1.25, allocations: 0 / 0.9281 GB, free: 2.836 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 250 * Number of variables: 250 Notification: Performance of Generate backend data structure: time 0.008132/1.258, allocations: 2.046 MB / 0.9301 GB, free: 1.324 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.096e-05/1.258, allocations: 12.11 kB / 0.9301 GB, free: 1.324 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005286/1.259, allocations: 157.8 kB / 0.9303 GB, free: 1.195 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005245/1.264, allocations: 0.5811 MB / 0.9308 GB, free: 0.9492 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004255/1.268, allocations: 1.193 MB / 0.932 GB, free: 20 kB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001281/1.269, allocations: 214.7 kB / 0.9322 GB, free: 15.94 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004951/1.27, allocations: 114 kB / 0.9323 GB, free: 15.91 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005084/1.275, allocations: 1.367 MB / 0.9337 GB, free: 15.07 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.285e-05/1.275, allocations: 0 / 0.9337 GB, free: 15.07 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001941/1.275, allocations: 50.33 kB / 0.9337 GB, free: 15.04 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.287e-05/1.276, allocations: 38.5 kB / 0.9337 GB, free: 15.04 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006672/1.282, allocations: 1.385 MB / 0.9351 GB, free: 14.38 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.01646/1.299, allocations: 5.348 MB / 0.9403 GB, free: 10.06 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005557/1.304, allocations: 1.188 MB / 0.9415 GB, free: 9.449 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001499/1.306, allocations: 0.6022 MB / 0.9421 GB, free: 8.828 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002941/1.309, allocations: 0.6352 MB / 0.9427 GB, free: 8.465 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=82): time 4.588e-06/1.309, allocations: 0 / 0.9427 GB, free: 8.465 MB / 0.6823 GB Notification: Performance of matching and sorting (n=82): time 0.008592/1.318, allocations: 1.673 MB / 0.9443 GB, free: 7.691 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001081/1.318, allocations: 139.6 kB / 0.9445 GB, free: 7.531 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003032/1.321, allocations: 1.342 MB / 0.9458 GB, free: 6.793 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003501/1.321, allocations: 47.42 kB / 0.9458 GB, free: 6.746 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009552/1.322, allocations: 0.6514 MB / 0.9464 GB, free: 6.172 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005271/1.323, allocations: 282.1 kB / 0.9467 GB, free: 5.926 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001167/1.323, allocations: 21.06 kB / 0.9467 GB, free: 5.91 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001773/1.323, allocations: 349 kB / 0.9471 GB, free: 5.574 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002675/1.326, allocations: 0.5401 MB / 0.9476 GB, free: 5.32 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00316/1.329, allocations: 0.8292 MB / 0.9484 GB, free: 4.742 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002949/1.332, allocations: 0.6122 MB / 0.949 GB, free: 4.434 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-05/1.332, allocations: 6.406 kB / 0.949 GB, free: 4.43 MB / 0.6823 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.007145/1.339, allocations: 1.556 MB / 0.9505 GB, free: 3.676 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009139/1.34, allocations: 1.997 MB / 0.9525 GB, free: 1.59 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.424e-05/1.34, allocations: 7.5 kB / 0.9525 GB, free: 1.59 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.408e-05/1.34, allocations: 8.094 kB / 0.9525 GB, free: 1.59 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004033/1.344, allocations: 353.8 kB / 0.9528 GB, free: 1.344 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001003/1.345, allocations: 1.207 MB / 0.954 GB, free: 92 kB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003304/1.349, allocations: 234.6 kB / 0.9542 GB, free: 15.86 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003791/1.349, allocations: 63.97 kB / 0.9543 GB, free: 15.8 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/1.349, allocations: 0 / 0.9543 GB, free: 15.8 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006367/1.356, allocations: 1.395 MB / 0.9557 GB, free: 14.39 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.016e-05/1.356, allocations: 4 kB / 0.9557 GB, free: 14.39 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.181e-05/1.356, allocations: 15.94 kB / 0.9557 GB, free: 14.37 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002905/1.359, allocations: 323.8 kB / 0.956 GB, free: 14.05 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.043e-05/1.359, allocations: 11.94 kB / 0.956 GB, free: 14.04 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003132/1.362, allocations: 210.8 kB / 0.9562 GB, free: 13.84 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003442/1.362, allocations: 63.97 kB / 0.9563 GB, free: 13.77 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,hex.flowRegime,hex.flowRegime_nominal,P.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (135): * Single equations (assignments): 130 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * 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.00127/1.363, allocations: 431.8 kB / 0.9567 GB, free: 13.34 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005894/1.364, allocations: 155.9 kB / 0.9568 GB, free: 13.19 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006248/1.37, allocations: 1.38 MB / 0.9582 GB, free: 11.8 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.473e-05/1.37, allocations: 8 kB / 0.9582 GB, free: 11.79 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.248e-05/1.37, allocations: 4 kB / 0.9582 GB, free: 11.79 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.299e-05/1.37, allocations: 7.969 kB / 0.9582 GB, free: 11.78 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01037/1.381, allocations: 2.906 MB / 0.961 GB, free: 8.77 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.321e-05/1.381, allocations: 0 / 0.961 GB, free: 8.77 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002383/1.383, allocations: 237.7 kB / 0.9612 GB, free: 8.539 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.071e-05/1.383, allocations: 8 kB / 0.9613 GB, free: 8.531 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001683/1.384, allocations: 31.97 kB / 0.9613 GB, free: 8.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007848/1.384, allocations: 1.195 MB / 0.9625 GB, free: 7.258 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.733e-06/1.384, allocations: 4 kB / 0.9625 GB, free: 7.254 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009636/1.394, allocations: 2.36 MB / 0.9648 GB, free: 4.73 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001327/1.395, allocations: 374.6 kB / 0.9651 GB, free: 4.344 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004503/1.396, allocations: 23.98 kB / 0.9651 GB, free: 4.32 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002571/1.399, allocations: 131.9 kB / 0.9653 GB, free: 4.191 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003107/1.399, allocations: 76.64 kB / 0.9653 GB, free: 4.117 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001938/1.399, allocations: 39.97 kB / 0.9654 GB, free: 4.078 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.002136/1.401, allocations: 0.8908 MB / 0.9662 GB, free: 3.191 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.61e-07/1.401, allocations: 0 / 0.9662 GB, free: 3.191 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003814/1.405, allocations: 0.8309 MB / 0.9671 GB, free: 2.359 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 4 (temSen.T,val.filter.x[1],val.filter.x[2],P.I.y) * Number of discrete variables: 4 ($whenCondition1,TSet.T_start,TSet.count,hex.flowRegime) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * 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.01182/1.417, allocations: 4.304 MB / 0.9713 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.01418/1.431, allocations: 2.225 MB / 0.9734 GB, free: 11.67 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-05/1.431, allocations: 0.875 kB / 0.9734 GB, free: 11.67 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.005029/1.436, allocations: 0.6699 MB / 0.9741 GB, free: 11 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01018/1.446, allocations: 0.6881 MB / 0.9748 GB, free: 10.31 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02023/1.467, allocations: 7.281 MB / 0.9819 GB, free: 2.848 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001799/1.469, allocations: 1.266 MB / 0.9831 GB, free: 1.551 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.005324/1.474, allocations: 416.3 kB / 0.9835 GB, free: 1.141 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002447/1.477, allocations: 0.5852 MB / 0.9841 GB, free: 0.5547 MB / 0.7136 GB Notification: Performance of SimCode: time 2.114e-06/1.477, allocations: 0 / 0.9841 GB, free: 0.5547 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1327/1.609, allocations: 42.91 MB / 1.026 GB, free: 6.125 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003545/1.61, allocations: 279.6 kB / 1.026 GB, free: 5.766 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.486/6.095, allocations: 0 / 1.026 GB, free: 5.766 MB / 0.7605 GB