Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb.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.CoolingTowers.Examples.FixedApproachWetBulb,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_HeatExchangers_CoolingTowers_Examples_FixedApproachWetBulb",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.01607/0.01607, allocations: 108.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.001925/0.001924, allocations: 181.4 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.173/2.173, 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.415/2.415, allocations: 236.2 MB / 492.6 MB, free: 11.29 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000495/0.0004951, allocations: 16 kB / 0.587 GB, free: 2.051 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7437/0.7442, allocations: 98.7 MB / 0.6834 GB, free: 16.82 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb): time 0.1493/0.8936, allocations: 71.7 MB / 0.7535 GB, free: 6.535 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.2577/1.151, allocations: 143.4 MB / 0.8935 GB, free: 6.824 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004467/1.156, allocations: 71.5 kB / 0.8935 GB, free: 6.754 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.005579/1.162, allocations: 0.9949 MB / 0.8945 GB, free: 5.754 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.01394/1.176, allocations: 2.816 MB / 0.8972 GB, free: 2.93 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.01538/1.191, allocations: 3.244 MB / 0.9004 GB, free: 15.68 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.009718/1.201, allocations: 3.474 MB / 0.9038 GB, free: 12.21 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004857/1.206, allocations: 1.881 MB / 0.9056 GB, free: 10.3 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00532/1.211, allocations: 1.533 MB / 0.9071 GB, free: 8.762 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00335/1.214, allocations: 1.128 MB / 0.9082 GB, free: 7.629 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0009425/1.215, allocations: 88 kB / 0.9083 GB, free: 7.543 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006467/1.222, allocations: 1.533 MB / 0.9098 GB, free: 6.008 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.00143/1.223, allocations: 0.4942 MB / 0.9103 GB, free: 5.512 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.001368/1.225, allocations: 0.5237 MB / 0.9108 GB, free: 4.98 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.008038/1.233, allocations: 3.32 MB / 0.9141 GB, free: 1.652 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/1.233, allocations: 4 kB / 0.9141 GB, free: 1.648 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.835e-06/1.233, allocations: 0 / 0.9141 GB, free: 1.648 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0001453/1.233, allocations: 4 kB / 0.9141 GB, free: 1.645 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 466 * Number of variables: 466 Notification: Performance of Generate backend data structure: time 0.6419/1.875, allocations: 2.815 MB / 0.9168 GB, free: 216.5 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 7.227e-05/1.875, allocations: 9.344 kB / 0.9168 GB, free: 216.5 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001694/1.877, allocations: 265.2 kB / 0.9171 GB, free: 216.4 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00884/1.886, allocations: 0.7216 MB / 0.9178 GB, free: 216.3 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007829/1.894, allocations: 1.924 MB / 0.9197 GB, free: 215.3 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001017/1.895, allocations: 205.1 kB / 0.9199 GB, free: 215.2 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009431/1.896, allocations: 192.3 kB / 0.92 GB, free: 215.1 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009951/1.906, allocations: 2.146 MB / 0.9221 GB, free: 214.2 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001043/1.906, allocations: 2.188 kB / 0.9221 GB, free: 214.2 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004571/1.906, allocations: 78.72 kB / 0.9222 GB, free: 214.1 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.896e-05/1.906, allocations: 47.67 kB / 0.9223 GB, free: 214.1 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01207/1.918, allocations: 2.211 MB / 0.9244 GB, free: 213.5 MB / 0.7292 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.02599/1.945, allocations: 8.897 MB / 0.9331 GB, free: 207.8 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007654/1.952, allocations: 1.579 MB / 0.9347 GB, free: 206.9 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009753/1.962, allocations: 3.177 MB / 0.9378 GB, free: 204.1 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00378/1.966, allocations: 0.856 MB / 0.9386 GB, free: 203.6 MB / 0.7292 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001533/1.967, allocations: 139.2 kB / 0.9387 GB, free: 203.5 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=121): time 1.02e-05/1.968, allocations: 4 kB / 0.9387 GB, free: 203.5 MB / 0.7292 GB Notification: Performance of matching and sorting (n=121): time 0.01581/1.983, allocations: 2.54 MB / 0.9412 GB, free: 202.1 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.234e-05/1.984, allocations: 167.6 kB / 0.9414 GB, free: 201.9 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004789/1.988, allocations: 1.83 MB / 0.9432 GB, free: 200.9 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0004782/1.989, allocations: 57.8 kB / 0.9432 GB, free: 200.8 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0013/1.99, allocations: 1.062 MB / 0.9442 GB, free: 199.9 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007536/1.991, allocations: 406.9 kB / 0.9446 GB, free: 199.6 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001632/1.991, allocations: 28.19 kB / 0.9447 GB, free: 199.5 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001363/1.991, allocations: 358.8 kB / 0.945 GB, free: 199.2 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003153/1.994, allocations: 0.5995 MB / 0.9456 GB, free: 198.9 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003623/1.998, allocations: 1.016 MB / 0.9466 GB, free: 198.1 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003435/2.002, allocations: 0.7619 MB / 0.9473 GB, free: 197.7 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.957e-05/2.002, allocations: 8.375 kB / 0.9473 GB, free: 197.7 MB / 0.7292 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.01064/2.012, allocations: 2.119 MB / 0.9494 GB, free: 196.6 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008772/2.013, allocations: 4.163 MB / 0.9535 GB, free: 192.1 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.086e-05/2.013, allocations: 10.5 kB / 0.9535 GB, free: 192.1 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0024/2.016, allocations: 221.3 kB / 0.9537 GB, free: 192 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003343/2.019, allocations: 363.1 kB / 0.954 GB, free: 191.9 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005845/2.025, allocations: 3.623 MB / 0.9576 GB, free: 188.4 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004075/2.029, allocations: 187.1 kB / 0.9578 GB, free: 188.3 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005734/2.03, allocations: 78.89 kB / 0.9578 GB, free: 188.3 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/2.03, allocations: 4.5 kB / 0.9578 GB, free: 188.3 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009126/2.039, allocations: 1.869 MB / 0.9597 GB, free: 187.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.958e-05/2.039, allocations: 10.34 kB / 0.9597 GB, free: 187.3 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002178/2.041, allocations: 221.2 kB / 0.9599 GB, free: 187.2 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003134/2.045, allocations: 356.5 kB / 0.9602 GB, free: 187.1 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005759/2.05, allocations: 3.606 MB / 0.9637 GB, free: 183.6 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003831/2.054, allocations: 176.2 kB / 0.9639 GB, free: 183.5 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005096/2.055, allocations: 81.86 kB / 0.964 GB, free: 183.5 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTim1.tNext,weaDat.conTim1.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.onOffController.y,onOffController.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (172): * Single equations (assignments): 166 * Array equations: 1 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 4,1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.001996/2.057, allocations: 0.5722 MB / 0.9645 GB, free: 183.1 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008418/2.058, allocations: 215.1 kB / 0.9647 GB, free: 183 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01047/2.068, allocations: 2.103 MB / 0.9668 GB, free: 181.8 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.605e-05/2.068, allocations: 15.88 kB / 0.9668 GB, free: 181.8 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.243e-06/2.068, allocations: 0 / 0.9668 GB, free: 181.8 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007913/2.076, allocations: 1.549 MB / 0.9683 GB, free: 181 MB / 0.7292 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 postOpt removeSimpleEquations (simulation): time 0.01475/2.091, allocations: 3.944 MB / 0.9722 GB, free: 178.1 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.825e-05/2.091, allocations: 32 / 0.9722 GB, free: 178.1 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002732/2.094, allocations: 283.6 kB / 0.9725 GB, free: 177.8 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001976/2.096, allocations: 206.4 kB / 0.9726 GB, free: 177.6 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003918/2.096, allocations: 43.97 kB / 0.9727 GB, free: 177.5 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005154/2.101, allocations: 3.642 MB / 0.9762 GB, free: 173.6 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/2.101, allocations: 0 / 0.9762 GB, free: 173.6 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01202/2.114, allocations: 2.709 MB / 0.9789 GB, free: 170.8 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001965/2.116, allocations: 0.5137 MB / 0.9794 GB, free: 170.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008493/2.116, allocations: 27.98 kB / 0.9794 GB, free: 170.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003813/2.12, allocations: 191.6 kB / 0.9796 GB, free: 170.1 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005077/2.121, allocations: 101.2 kB / 0.9797 GB, free: 170 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002874/2.121, allocations: 59.95 kB / 0.9798 GB, free: 169.9 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.002964/2.124, allocations: 1.236 MB / 0.981 GB, free: 168.7 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4.41e-07/2.124, allocations: 0 / 0.981 GB, free: 168.7 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.006731/2.131, allocations: 1.285 MB / 0.9822 GB, free: 167.4 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (vol.dynBal.U) * Number of discrete variables: 5 ($whenCondition2,$whenCondition1,weaDat.conTim1.tNext,weaDat.conTim.tNext,onOffController.y) * Number of discrete states: 3 (weaDat.conTim.tNext,weaDat.conTim1.tNext,onOffController.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (130): * Single equations (assignments): 121 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 3,1 4,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.02472/2.156, allocations: 4.234 MB / 0.9864 GB, free: 163.4 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.01974/2.176, allocations: 3.135 MB / 0.9894 GB, free: 160.2 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.391e-05/2.176, allocations: 4.062 kB / 0.9894 GB, free: 160.2 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.005742/2.181, allocations: 1.035 MB / 0.9904 GB, free: 159.2 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01011/2.192, allocations: 0.9225 MB / 0.9913 GB, free: 158.2 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02515/2.217, allocations: 13.07 MB / 1.004 GB, free: 144.8 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002187/2.219, allocations: 1.636 MB / 1.006 GB, free: 143.2 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.006845/2.226, allocations: 0.6926 MB / 1.006 GB, free: 142.5 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00319/2.229, allocations: 0.9756 MB / 1.007 GB, free: 141.5 MB / 0.7292 GB Notification: Performance of SimCode: time 1.533e-06/2.229, allocations: 0 / 1.007 GB, free: 141.5 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1847/2.414, allocations: 63.43 MB / 1.069 GB, free: 78.77 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002572/2.414, allocations: 317.8 kB / 1.07 GB, free: 78.41 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.407/8.821, allocations: 0 / 1.07 GB, free: 78.41 MB / 0.7292 GB