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.DryCoilEffectivenessNTUPControl.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.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.002/4.002, allocations: 433.2 MB / 440.7 MB, free: 4.566 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.348e-05/3.349e-05, allocations: 5.25 kB / 0.5325 GB, free: 12.76 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2079/0.208, allocations: 98.73 MB / 0.6289 GB, free: 9.109 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.21/7.418, allocations: 2.469 GB / 3.098 GB, free: 169.5 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000313/7.418, allocations: 86.27 kB / 3.098 GB, free: 169.4 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.008/12.43, allocations: 0.9091 GB / 4.007 GB, free: 121.5 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.114e-06/12.43, allocations: 0 / 4.007 GB, free: 121.5 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0002673/12.43, allocations: 48.34 kB / 4.007 GB, free: 121.5 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.008668/12.44, allocations: 2.114 MB / 4.009 GB, free: 120.6 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.761e-05/12.44, allocations: 14.03 kB / 4.009 GB, free: 120.6 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005128/12.44, allocations: 0.5472 MB / 4.01 GB, free: 120.5 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005173/12.45, allocations: 1.415 MB / 4.011 GB, free: 120.1 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001186/12.45, allocations: 172.8 kB / 4.011 GB, free: 120.1 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005124/12.45, allocations: 69 kB / 4.011 GB, free: 120.1 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002678/12.45, allocations: 0.9679 MB / 4.012 GB, free: 120.1 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002628/12.45, allocations: 1.089 MB / 4.013 GB, free: 120 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.977e-05/12.45, allocations: 0 / 4.013 GB, free: 120 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001579/12.45, allocations: 3.938 kB / 4.013 GB, free: 120 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.781e-05/12.45, allocations: 45.25 kB / 4.013 GB, free: 120 MB / 0.8386 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.01457/12.47, allocations: 5.26 MB / 4.018 GB, free: 117.9 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001952/12.47, allocations: 0.7695 MB / 4.019 GB, free: 117.9 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008579/12.47, allocations: 391.2 kB / 4.02 GB, free: 117.9 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001315/12.47, allocations: 0.7516 MB / 4.02 GB, free: 117.1 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001141/12.47, allocations: 487.5 kB / 4.021 GB, free: 117.1 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=79): time 3.286e-06/12.47, allocations: 3 kB / 4.021 GB, free: 117.1 MB / 0.8386 GB Notification: Performance of matching and sorting (n=79): time 0.003586/12.48, allocations: 0.9427 MB / 4.022 GB, free: 116.9 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.861e-05/12.48, allocations: 195.6 kB / 4.022 GB, free: 116.7 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001816/12.48, allocations: 0.9181 MB / 4.023 GB, free: 116.6 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0003285/12.48, allocations: 33.17 kB / 4.023 GB, free: 116.5 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007256/12.48, allocations: 0.6653 MB / 4.023 GB, free: 116.3 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003361/12.48, allocations: 263.3 kB / 4.024 GB, free: 116.1 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000106/12.48, allocations: 0 / 4.024 GB, free: 116.1 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.00011/12.48, allocations: 349.3 kB / 4.024 GB, free: 115.8 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009996/12.48, allocations: 393.9 kB / 4.024 GB, free: 115.8 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001296/12.48, allocations: 0.6967 MB / 4.025 GB, free: 115.5 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001857/12.49, allocations: 0.5115 MB / 4.026 GB, free: 115.4 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.824e-06/12.49, allocations: 0 / 4.026 GB, free: 115.4 MB / 0.8386 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.00395/12.49, allocations: 1.225 MB / 4.027 GB, free: 115.3 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005422/12.49, allocations: 2.072 MB / 4.029 GB, free: 113.2 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.465e-05/12.49, allocations: 6.781 kB / 4.029 GB, free: 113.2 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.321e-05/12.49, allocations: 12.16 kB / 4.029 GB, free: 113.2 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003491/12.49, allocations: 353.2 kB / 4.029 GB, free: 113.2 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000782/12.49, allocations: 1.206 MB / 4.03 GB, free: 112 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003094/12.5, allocations: 192.9 kB / 4.031 GB, free: 112 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002999/12.5, allocations: 62.89 kB / 4.031 GB, free: 112 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/12.5, allocations: 6.312 kB / 4.031 GB, free: 112 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003401/12.5, allocations: 1.049 MB / 4.032 GB, free: 111.9 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.841e-05/12.5, allocations: 6.875 kB / 4.032 GB, free: 111.9 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.241e-05/12.5, allocations: 12.97 kB / 4.032 GB, free: 111.9 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002745/12.5, allocations: 316.2 kB / 4.032 GB, free: 111.9 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.043e-05/12.5, allocations: 18.83 kB / 4.032 GB, free: 111.9 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002805/12.51, allocations: 174.1 kB / 4.032 GB, free: 111.9 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000211/12.51, allocations: 57.98 kB / 4.032 GB, free: 111.9 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (133): * Single equations (assignments): 128 * 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.0004832/12.51, allocations: 139.2 kB / 4.032 GB, free: 111.8 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00299/12.51, allocations: 0.9113 MB / 4.033 GB, free: 111.7 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003264/12.51, allocations: 139.1 kB / 4.033 GB, free: 111.6 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003465/12.51, allocations: 1.074 MB / 4.034 GB, free: 111.5 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-05/12.51, allocations: 11.12 kB / 4.034 GB, free: 111.5 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.697e-06/12.51, allocations: 0 / 4.034 GB, free: 111.5 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.297e-05/12.51, allocations: 3.797 kB / 4.034 GB, free: 111.5 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00665/12.52, allocations: 2.433 MB / 4.037 GB, free: 111.1 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.096e-05/12.52, allocations: 3.938 kB / 4.037 GB, free: 111.1 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00229/12.52, allocations: 251.9 kB / 4.037 GB, free: 111.1 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-05/12.52, allocations: 6.625 kB / 4.037 GB, free: 111.1 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001189/12.52, allocations: 20.44 kB / 4.037 GB, free: 111.1 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005344/12.52, allocations: 1.195 MB / 4.038 GB, free: 109.9 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.282e-06/12.52, allocations: 3.188 kB / 4.038 GB, free: 109.9 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004325/12.53, allocations: 1.842 MB / 4.04 GB, free: 109.3 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001041/12.53, allocations: 345.4 kB / 4.04 GB, free: 109.1 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003037/12.53, allocations: 12.17 kB / 4.04 GB, free: 109.1 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002347/12.53, allocations: 135.1 kB / 4.04 GB, free: 109.1 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002311/12.53, allocations: 73.39 kB / 4.041 GB, free: 109.1 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001416/12.53, allocations: 38.84 kB / 4.041 GB, free: 109.1 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.001285/12.53, allocations: 0.6747 MB / 4.041 GB, free: 109 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5.31e-07/12.53, allocations: 2.969 kB / 4.041 GB, free: 109 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.004361/12.54, allocations: 0.9917 MB / 4.042 GB, free: 108.9 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 81 * 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.009268/12.55, allocations: 5.469 MB / 4.048 GB, free: 106.4 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.004755/12.55, allocations: 1.749 MB / 4.049 GB, free: 106.2 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.102e-05/12.55, allocations: 6.688 kB / 4.049 GB, free: 106.2 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.001383/12.55, allocations: 495.2 kB / 4.05 GB, free: 106.2 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004754/12.56, allocations: 0.5148 MB / 4.05 GB, free: 106.2 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007703/12.57, allocations: 2.319 MB / 4.053 GB, free: 105.4 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008628/12.57, allocations: 1.269 MB / 4.054 GB, free: 104.7 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.003755/12.57, allocations: 452.1 kB / 4.054 GB, free: 104.7 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001247/12.57, allocations: 0.5679 MB / 4.055 GB, free: 104.7 MB / 0.8386 GB Notification: Performance of SimCode: time 1.533e-06/12.57, allocations: 0 / 4.055 GB, free: 104.7 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1643/12.74, allocations: 52 MB / 4.106 GB, free: 100.3 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002859/12.74, allocations: 202 kB / 4.106 GB, free: 100.1 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.039/17.78, allocations: 0 / 4.106 GB, free: 100.1 MB / 0.8386 GB