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.YorkCalc.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.YorkCalc,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_HeatExchangers_CoolingTowers_Examples_YorkCalc",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.01448/0.01448, 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.001322/0.001322, allocations: 181.3 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.033/2.033, allocations: 194.6 MB / 211.3 MB, free: 11.04 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.295/2.295, allocations: 236.1 MB / 492.6 MB, free: 11.32 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006469/0.0006473, allocations: 16 kB / 0.587 GB, free: 2.055 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7095/0.7102, allocations: 98.71 MB / 0.6834 GB, free: 16.79 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.YorkCalc): time 0.1185/0.8288, allocations: 72.71 MB / 0.7544 GB, free: 5.516 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.2549/1.084, allocations: 145.1 MB / 0.8961 GB, free: 4.117 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00458/1.088, allocations: 83.44 kB / 0.8962 GB, free: 4.035 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.005756/1.094, allocations: 1.065 MB / 0.8972 GB, free: 2.965 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.01339/1.108, allocations: 2.921 MB / 0.9001 GB, free: 36 kB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.02189/1.13, allocations: 3.624 MB / 0.9036 GB, free: 12.41 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.01063/1.14, allocations: 3.795 MB / 0.9073 GB, free: 8.613 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00508/1.145, allocations: 2.115 MB / 0.9094 GB, free: 6.449 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005435/1.151, allocations: 1.677 MB / 0.911 GB, free: 4.766 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003815/1.155, allocations: 1.291 MB / 0.9123 GB, free: 3.469 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0008853/1.156, allocations: 96 kB / 0.9124 GB, free: 3.375 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007153/1.163, allocations: 1.837 MB / 0.9142 GB, free: 1.535 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.001436/1.164, allocations: 0.5525 MB / 0.9147 GB, free: 0.9805 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.001395/1.166, allocations: 0.5782 MB / 0.9153 GB, free: 404 kB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.6506/1.816, allocations: 3.732 MB / 0.9189 GB, free: 34.43 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/1.816, allocations: 0 / 0.9189 GB, free: 34.43 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.446e-06/1.816, allocations: 0 / 0.9189 GB, free: 34.43 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0001907/1.817, allocations: 0.9375 kB / 0.9189 GB, free: 34.43 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: 523 * Number of variables: 523 Notification: Performance of Generate backend data structure: time 0.01566/1.832, allocations: 3.187 MB / 0.922 GB, free: 32.77 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 6.514e-05/1.832, allocations: 9.688 kB / 0.922 GB, free: 32.77 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001601/1.834, allocations: 293.8 kB / 0.9223 GB, free: 32.72 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0111/1.845, allocations: 0.8257 MB / 0.9231 GB, free: 32.55 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009796/1.855, allocations: 2.108 MB / 0.9252 GB, free: 32.05 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00114/1.856, allocations: 234 kB / 0.9254 GB, free: 32.04 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001272/1.857, allocations: 212 kB / 0.9256 GB, free: 32.04 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01718/1.875, allocations: 2.473 MB / 0.928 GB, free: 31.59 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000131/1.875, allocations: 10.88 kB / 0.928 GB, free: 31.59 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006531/1.875, allocations: 88 kB / 0.9281 GB, free: 31.59 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001401/1.876, allocations: 56.3 kB / 0.9282 GB, free: 31.59 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01621/1.892, allocations: 2.504 MB / 0.9306 GB, free: 31.55 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.03071/1.923, allocations: 10.48 MB / 0.9408 GB, free: 26.89 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008763/1.931, allocations: 1.874 MB / 0.9427 GB, free: 26.72 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01455/1.946, allocations: 5.355 MB / 0.9479 GB, free: 23.79 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004239/1.95, allocations: 1.008 MB / 0.9489 GB, free: 23.69 MB / 0.7292 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001652/1.952, allocations: 155.4 kB / 0.949 GB, free: 23.61 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=144): time 5.651e-06/1.952, allocations: 0 / 0.949 GB, free: 23.61 MB / 0.7292 GB Notification: Performance of matching and sorting (n=144): time 0.01582/1.968, allocations: 2.793 MB / 0.9518 GB, free: 23.15 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.308e-05/1.968, allocations: 177.2 kB / 0.9519 GB, free: 22.96 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005222/1.973, allocations: 2.092 MB / 0.954 GB, free: 22.71 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0006268/1.974, allocations: 58.77 kB / 0.954 GB, free: 22.68 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.001498/1.975, allocations: 1.184 MB / 0.9552 GB, free: 22.27 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009641/1.976, allocations: 491.2 kB / 0.9556 GB, free: 21.96 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001919/1.977, allocations: 37.31 kB / 0.9557 GB, free: 21.96 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001369/1.977, allocations: 370.1 kB / 0.956 GB, free: 21.66 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003393/1.98, allocations: 0.7602 MB / 0.9568 GB, free: 21.64 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004214/1.984, allocations: 1.344 MB / 0.9581 GB, free: 21.07 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004242/1.989, allocations: 0.9403 MB / 0.959 GB, free: 20.96 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-05/1.989, allocations: 3.375 kB / 0.959 GB, free: 20.96 MB / 0.7292 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.01205/2.001, allocations: 2.55 MB / 0.9615 GB, free: 20.66 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.001271/2.002, allocations: 5.248 MB / 0.9666 GB, free: 15.03 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.938e-05/2.002, allocations: 13.81 kB / 0.9666 GB, free: 15.03 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001955/2.004, allocations: 179 kB / 0.9668 GB, free: 15 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004228/2.009, allocations: 471.2 kB / 0.9673 GB, free: 15 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006271/2.015, allocations: 3.611 MB / 0.9708 GB, free: 11.83 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006124/2.021, allocations: 210.6 kB / 0.971 GB, free: 11.81 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008749/2.022, allocations: 98.27 kB / 0.9711 GB, free: 11.81 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/2.022, allocations: 2.844 kB / 0.9711 GB, free: 11.81 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01518/2.037, allocations: 2.255 MB / 0.9733 GB, free: 11.65 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.895e-05/2.037, allocations: 13 kB / 0.9733 GB, free: 11.65 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001763/2.039, allocations: 179.2 kB / 0.9735 GB, free: 11.62 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003822/2.043, allocations: 445.3 kB / 0.9739 GB, free: 11.62 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005107/2.048, allocations: 3.604 MB / 0.9774 GB, free: 8.449 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004492/2.053, allocations: 200.5 kB / 0.9776 GB, free: 8.43 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004714/2.053, allocations: 94.11 kB / 0.9777 GB, free: 8.43 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 56 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTim1.tNext,weaDat.conTim1.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.onOffController.y,onOffController.y,conFan.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (217): * Single equations (assignments): 210 * Array equations: 2 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.00227/2.055, allocations: 0.6454 MB / 0.9783 GB, free: 8.219 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008917/2.056, allocations: 250.1 kB / 0.9786 GB, free: 8.09 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01111/2.067, allocations: 2.456 MB / 0.981 GB, free: 7.84 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.038e-05/2.067, allocations: 16.28 kB / 0.981 GB, free: 7.84 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.483e-06/2.067, allocations: 8 kB / 0.981 GB, free: 7.832 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008458/2.076, allocations: 1.82 MB / 0.9828 GB, free: 7.676 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.01636/2.092, allocations: 4.574 MB / 0.9872 GB, free: 6.523 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.284e-05/2.092, allocations: 0 / 0.9872 GB, free: 6.523 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00333/2.096, allocations: 354.6 kB / 0.9876 GB, free: 6.453 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001667/2.097, allocations: 160.4 kB / 0.9877 GB, free: 6.387 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003012/2.098, allocations: 48.5 kB / 0.9878 GB, free: 6.379 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004788/2.103, allocations: 3.047 MB / 0.9907 GB, free: 3.664 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.519e-06/2.103, allocations: 6.344 kB / 0.9907 GB, free: 3.66 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01442/2.117, allocations: 3.283 MB / 0.994 GB, free: 2.789 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002307/2.119, allocations: 0.5671 MB / 0.9945 GB, free: 2.449 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007422/2.12, allocations: 33.19 kB / 0.9945 GB, free: 2.449 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003774/2.124, allocations: 203.7 kB / 0.9947 GB, free: 2.387 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004442/2.124, allocations: 130.2 kB / 0.9949 GB, free: 2.328 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002653/2.125, allocations: 69.98 kB / 0.9949 GB, free: 2.316 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.003155/2.128, allocations: 1.395 MB / 0.9963 GB, free: 1.949 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6.11e-07/2.128, allocations: 0 / 0.9963 GB, free: 1.949 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.007154/2.135, allocations: 1.458 MB / 0.9977 GB, free: 1.699 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (tow.vol.dynBal.U,vol.dynBal.U,conFan.I.y,conFan.D.x) * Number of discrete variables: 5 ($whenCondition2,$whenCondition1,weaDat.conTim1.tNext,weaDat.conTim.tNext,onOffController.y) * Number of discrete states: 3 (onOffController.y,weaDat.conTim1.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (163): * Single equations (assignments): 153 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0176/2.153, allocations: 5.01 MB / 1.003 GB, free: 15.8 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.01514/2.168, allocations: 3.728 MB / 1.006 GB, free: 14.63 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 9.889e-06/2.168, allocations: 0 / 1.006 GB, free: 14.63 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.005129/2.173, allocations: 1.209 MB / 1.007 GB, free: 14.25 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009091/2.182, allocations: 1.028 MB / 1.008 GB, free: 13.92 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02801/2.21, allocations: 15.94 MB / 1.024 GB, free: 0.8203 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002502/2.213, allocations: 1.768 MB / 1.026 GB, free: 15.65 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.006432/2.219, allocations: 0.7767 MB / 1.026 GB, free: 15.24 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003119/2.222, allocations: 1.133 MB / 1.028 GB, free: 15.12 MB / 0.7605 GB Notification: Performance of SimCode: time 1.162e-06/2.222, allocations: 0 / 1.028 GB, free: 15.12 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2948/2.517, allocations: 71.67 MB / 1.098 GB, free: 11.38 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004271/2.518, allocations: 308 kB / 1.098 GB, free: 11.01 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.649/9.167, allocations: 0 / 1.098 GB, free: 11.01 MB / 0.823 GB