Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.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.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed,fileNamePrefix="Buildings_6_0_0_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed",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.011/0.01101, allocations: 107.6 kB / 15.06 MB, free: 6.027 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.001235/0.001235, allocations: 182.5 kB / 15.95 MB, free: 5.953 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.083/2.083, allocations: 194.6 MB / 211.3 MB, free: 11.07 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.387/2.387, allocations: 236.2 MB / 492.6 MB, free: 11.33 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004655/0.0004656, allocations: 12 kB / 0.587 GB, free: 2.039 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7409/0.7414, allocations: 98.72 MB / 0.6834 GB, free: 16.77 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.003697/0.7452, allocations: 2.255 MB / 0.6856 GB, free: 15.15 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.002758/0.748, allocations: 1.002 MB / 0.6866 GB, free: 14.45 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005153/0.7486, allocations: 10.25 kB / 0.6866 GB, free: 14.45 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0001861/0.7488, allocations: 41.28 kB / 0.6867 GB, free: 14.43 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0005858/0.7494, allocations: 114.1 kB / 0.6868 GB, free: 14.36 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.001202/0.7506, allocations: 250 kB / 0.687 GB, free: 14.23 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0007665/0.7514, allocations: 267.6 kB / 0.6873 GB, free: 14.08 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003252/0.7517, allocations: 138.1 kB / 0.6874 GB, free: 14.02 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003718/0.7521, allocations: 126.4 kB / 0.6875 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002597/0.7524, allocations: 124.6 kB / 0.6876 GB, free: 13.89 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 4.353e-05/0.7524, allocations: 7.656 kB / 0.6877 GB, free: 13.89 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002257/0.7527, allocations: 65.33 kB / 0.6877 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 8.558e-05/0.7528, allocations: 42.53 kB / 0.6878 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 8.747e-05/0.7529, allocations: 82.8 kB / 0.6878 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0006352/0.7535, allocations: 374.5 kB / 0.6882 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.095e-06/0.7535, allocations: 0 / 0.6882 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.643e-06/0.7536, allocations: 0 / 0.6882 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.126e-05/0.7536, allocations: 1.281 kB / 0.6882 GB, free: 13.7 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001513/0.7551, allocations: 0.6505 MB / 0.6888 GB, free: 13.16 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.937e-05/0.7552, allocations: 9.344 kB / 0.6888 GB, free: 13.16 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.662e-05/0.7553, allocations: 60.33 kB / 0.6889 GB, free: 13.1 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001128/0.7554, allocations: 45.05 kB / 0.6889 GB, free: 13.08 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007629/0.7562, allocations: 372.3 kB / 0.6893 GB, free: 12.77 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.952e-05/0.7562, allocations: 19.62 kB / 0.6893 GB, free: 12.77 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.384e-05/0.7563, allocations: 29.58 kB / 0.6893 GB, free: 12.75 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009102/0.7572, allocations: 310.8 kB / 0.6896 GB, free: 12.59 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.002e-05/0.7573, allocations: 4.562 kB / 0.6896 GB, free: 12.58 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.305e-05/0.7573, allocations: 10.59 kB / 0.6897 GB, free: 12.57 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.454e-05/0.7573, allocations: 10.81 kB / 0.6897 GB, free: 12.57 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008013/0.7582, allocations: 206.2 kB / 0.6899 GB, free: 12.51 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001942/0.7601, allocations: 1.034 MB / 0.6909 GB, free: 11.74 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009266/0.7611, allocations: 226.3 kB / 0.6911 GB, free: 11.64 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 3.836e-05/0.7612, allocations: 6.406 kB / 0.6911 GB, free: 11.64 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005576/0.7617, allocations: 153.8 kB / 0.6912 GB, free: 11.56 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=21): time 3.276e-06/0.7617, allocations: 0 / 0.6912 GB, free: 11.56 MB / 0.5261 GB Notification: Performance of matching and sorting (n=21): time 0.001397/0.7631, allocations: 373.3 kB / 0.6916 GB, free: 11.42 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.411e-05/0.7632, allocations: 55.86 kB / 0.6916 GB, free: 11.36 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005908/0.7638, allocations: 340.2 kB / 0.692 GB, free: 11.18 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 8.252e-05/0.7639, allocations: 36.08 kB / 0.692 GB, free: 11.14 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002003/0.7641, allocations: 202.4 kB / 0.6922 GB, free: 10.97 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 7.889e-05/0.7642, allocations: 72.94 kB / 0.6923 GB, free: 10.91 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.008e-05/0.7643, allocations: 5.125 kB / 0.6923 GB, free: 10.91 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000102/0.7644, allocations: 341.7 kB / 0.6926 GB, free: 10.59 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003513/0.7647, allocations: 86.19 kB / 0.6927 GB, free: 10.56 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000362/0.7651, allocations: 127.6 kB / 0.6928 GB, free: 10.48 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003735/0.7655, allocations: 117.7 kB / 0.6929 GB, free: 10.42 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.7655, allocations: 5.062 kB / 0.6929 GB, free: 10.41 MB / 0.5261 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001012/0.7665, allocations: 322 kB / 0.6932 GB, free: 10.26 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001566/0.7667, allocations: 482.2 kB / 0.6937 GB, free: 9.758 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.116e-05/0.7667, allocations: 1.906 kB / 0.6937 GB, free: 9.758 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.494e-05/0.7668, allocations: 6.219 kB / 0.6937 GB, free: 9.754 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003786/0.7672, allocations: 41.92 kB / 0.6937 GB, free: 9.75 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.251e-05/0.7672, allocations: 6.609 kB / 0.6937 GB, free: 9.746 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003322/0.7675, allocations: 34.77 kB / 0.6938 GB, free: 9.727 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.543e-05/0.7676, allocations: 8.234 kB / 0.6938 GB, free: 9.727 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.7676, allocations: 3.969 kB / 0.6938 GB, free: 9.727 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00082/0.7684, allocations: 271.9 kB / 0.694 GB, free: 9.613 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.7685, allocations: 1.219 kB / 0.694 GB, free: 9.613 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.107e-06/0.7685, allocations: 2.281 kB / 0.6941 GB, free: 9.613 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003161/0.7688, allocations: 47.77 kB / 0.6941 GB, free: 9.602 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.7688, allocations: 2.188 kB / 0.6941 GB, free: 9.602 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002882/0.7691, allocations: 30.17 kB / 0.6941 GB, free: 9.586 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.804e-05/0.7692, allocations: 7.25 kB / 0.6941 GB, free: 9.586 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,cooTowSpeCon.pmcMod.y,cooTowSpeCon.fmcMod.y,$PRE.cooMod.y,cooMod.y,$PRE.cooMod.nextTime,cooMod.nextTime,$PRE.cooMod.index,cooMod.index,cooTowSpeCon.conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 1 * 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.0003307/0.7695, allocations: 240.8 kB / 0.6944 GB, free: 9.363 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.109e-05/0.7696, allocations: 39.95 kB / 0.6944 GB, free: 9.34 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001052/0.7697, allocations: 37.75 kB / 0.6944 GB, free: 9.312 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.524e-06/0.7697, allocations: 3.812 kB / 0.6944 GB, free: 9.312 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/0.7697, allocations: 0 / 0.6944 GB, free: 9.312 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.844e-06/0.7698, allocations: 5.266 kB / 0.6944 GB, free: 9.309 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005545/0.7703, allocations: 370.5 kB / 0.6948 GB, free: 9.035 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/0.7703, allocations: 4.953 kB / 0.6948 GB, free: 9.031 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003642/0.7707, allocations: 38.73 kB / 0.6948 GB, free: 9.023 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.765e-06/0.7707, allocations: 1.469 kB / 0.6948 GB, free: 9.023 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.376e-05/0.7708, allocations: 3.531 kB / 0.6948 GB, free: 9.023 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-06/0.7708, allocations: 1.469 kB / 0.6948 GB, free: 9.023 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.7708, allocations: 0 / 0.6948 GB, free: 9.023 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001449/0.7723, allocations: 429.1 kB / 0.6953 GB, free: 8.832 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001892/0.7725, allocations: 137 kB / 0.6954 GB, free: 8.699 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.868e-05/0.7726, allocations: 7.094 kB / 0.6954 GB, free: 8.695 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002465/0.7728, allocations: 23.12 kB / 0.6954 GB, free: 8.684 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.778e-05/0.7729, allocations: 12.47 kB / 0.6954 GB, free: 8.684 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.049e-05/0.773, allocations: 14.42 kB / 0.6954 GB, free: 8.68 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0004151/0.7734, allocations: 239 kB / 0.6957 GB, free: 8.551 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.21e-07/0.7734, allocations: 0 / 0.6957 GB, free: 8.551 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.000733/0.7742, allocations: 114.1 kB / 0.6958 GB, free: 8.523 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (cooTowSpeCon.conPID.I.y) * Number of discrete variables: 6 ($whenCondition1,cooTowSpeCon.pmcMod.y,cooTowSpeCon.fmcMod.y,cooMod.y,cooMod.nextTime,cooMod.index) * Number of discrete states: 2 (cooMod.nextTime,cooMod.index) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.001882/0.7761, allocations: 1.007 MB / 0.6968 GB, free: 7.781 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.00133/0.7775, allocations: 459.9 kB / 0.6972 GB, free: 7.547 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.591e-06/0.7775, allocations: 5.125 kB / 0.6972 GB, free: 7.543 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0004463/0.778, allocations: 110.9 kB / 0.6973 GB, free: 7.512 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007456/0.7787, allocations: 72.78 kB / 0.6974 GB, free: 7.492 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005282/0.784, allocations: 2.511 MB / 0.6998 GB, free: 5.852 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003251/0.7844, allocations: 0.7926 MB / 0.7006 GB, free: 5.152 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0003536/0.7848, allocations: 38.75 kB / 0.7006 GB, free: 5.137 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002377/0.785, allocations: 113.8 kB / 0.7008 GB, free: 5.051 MB / 0.5261 GB Notification: Performance of SimCode: time 1.122e-06/0.785, allocations: 1.312 kB / 0.7008 GB, free: 5.051 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08909/0.8741, allocations: 6.596 MB / 0.7072 GB, free: 2.219 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002136/0.8744, allocations: 225.8 kB / 0.7074 GB, free: 1.98 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.548/3.422, allocations: 1.891 kB / 0.7074 GB, free: 1.98 MB / 0.5261 GB