Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl,fileNamePrefix="Buildings_6_0_0_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_ChillerSetPointControl",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.962/3.962, allocations: 432.6 MB / 445.2 MB, free: 15.81 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.328e-05/3.346e-05, allocations: 3.359 kB / 0.5383 GB, free: 10.29 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2184/0.2185, allocations: 98.73 MB / 0.6347 GB, free: 1.883 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.662/7.88, allocations: 2.504 GB / 3.139 GB, free: 203.1 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003665/7.881, allocations: 105.6 kB / 3.139 GB, free: 203.1 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 9.119/17, allocations: 1.649 GB / 4.787 GB, free: 73.25 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.525e-06/17, allocations: 0 / 4.787 GB, free: 73.25 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0008063/17, allocations: 105.3 kB / 4.788 GB, free: 73.23 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 574 * Number of variables: 574 Notification: Performance of Generate backend data structure: time 0.01578/17.02, allocations: 3.819 MB / 4.791 GB, free: 71.64 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.708e-05/17.02, allocations: 11.22 kB / 4.791 GB, free: 71.64 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001683/17.02, allocations: 314.8 kB / 4.792 GB, free: 71.59 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0173/17.04, allocations: 1.379 MB / 4.793 GB, free: 71.36 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01849/17.05, allocations: 4.171 MB / 4.797 GB, free: 70.7 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001105/17.05, allocations: 330.9 kB / 4.797 GB, free: 70.62 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00126/17.06, allocations: 251.4 kB / 4.798 GB, free: 70.62 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01046/17.07, allocations: 2.779 MB / 4.8 GB, free: 70.21 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001436/17.07, allocations: 0 / 4.8 GB, free: 70.21 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009887/17.07, allocations: 92.97 kB / 4.8 GB, free: 70.21 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001332/17.07, allocations: 91.98 kB / 4.8 GB, free: 70.21 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008775/17.08, allocations: 2.37 MB / 4.803 GB, free: 70.18 MB / 0.8855 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.03643/17.11, allocations: 12.88 MB / 4.815 GB, free: 64.61 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00624/17.12, allocations: 2.229 MB / 4.817 GB, free: 64.07 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002691/17.12, allocations: 0.8559 MB / 4.818 GB, free: 64.05 MB / 0.8855 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 evalFunc (simulation): time 0.01796/17.14, allocations: 5.565 MB / 4.824 GB, free: 61.58 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002949/17.14, allocations: 0.948 MB / 4.825 GB, free: 61.5 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002667/17.15, allocations: 255.5 kB / 4.825 GB, free: 61.41 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=146): time 1.244e-05/17.15, allocations: 0 / 4.825 GB, free: 61.41 MB / 0.8855 GB Notification: Performance of matching and sorting (n=146): time 0.006688/17.15, allocations: 1.71 MB / 4.827 GB, free: 61.17 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001091/17.15, allocations: 228.9 kB / 4.827 GB, free: 60.92 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008209/17.16, allocations: 2.845 MB / 4.83 GB, free: 60.66 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0006091/17.16, allocations: 63.67 kB / 4.83 GB, free: 60.62 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.00253/17.16, allocations: 1.63 MB / 4.831 GB, free: 60.17 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009456/17.17, allocations: 0.5006 MB / 4.832 GB, free: 59.86 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002851/17.17, allocations: 33.28 kB / 4.832 GB, free: 59.86 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.000186/17.17, allocations: 385.7 kB / 4.832 GB, free: 59.54 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002296/17.17, allocations: 0.7207 MB / 4.833 GB, free: 59.54 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003206/17.17, allocations: 1.381 MB / 4.834 GB, free: 58.8 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002847/17.17, allocations: 0.9199 MB / 4.835 GB, free: 58.71 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.702e-05/17.17, allocations: 2.188 kB / 4.835 GB, free: 58.71 MB / 0.8855 GB Notification: Performance of matching and sorting (n=242) (initialization): time 0.00872/17.18, allocations: 2.454 MB / 4.837 GB, free: 58.39 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.001387/17.18, allocations: 5.882 MB / 4.843 GB, free: 52.26 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.26e-05/17.18, allocations: 14.84 kB / 4.843 GB, free: 52.26 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003364/17.19, allocations: 67.19 kB / 4.843 GB, free: 52.25 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005353/17.19, allocations: 0.556 MB / 4.844 GB, free: 52.25 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005436/17.19, allocations: 0.5825 MB / 4.844 GB, free: 51.73 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007418/17.2, allocations: 353.9 kB / 4.845 GB, free: 51.71 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00092/17.2, allocations: 110 kB / 4.845 GB, free: 51.71 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/17.2, allocations: 5.781 kB / 4.845 GB, free: 51.71 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008918/17.21, allocations: 2.062 MB / 4.847 GB, free: 51.59 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.46e-05/17.21, allocations: 19.97 kB / 4.847 GB, free: 51.59 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002203/17.21, allocations: 47 kB / 4.847 GB, free: 51.58 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006648/17.22, allocations: 0.5401 MB / 4.847 GB, free: 51.58 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001133/17.22, allocations: 1.311 MB / 4.849 GB, free: 50.33 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006073/17.22, allocations: 323.7 kB / 4.849 GB, free: 50.31 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007101/17.22, allocations: 111 kB / 4.849 GB, free: 50.31 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * Number of states: 0 () * Number of discrete variables: 17 ($PRE.triAndRes.firstTrigger,triAndRes.firstTrigger,$whenCondition3,triAndRes.sampleTrigger,$PRE.triAndRes.sam.firstTrigger,triAndRes.sam.firstTrigger,$PRE.triAndRes.uniDel1.firstTrigger,triAndRes.uniDel1.firstTrigger,$whenCondition1,triAndRes.uniDel1.sampleTrigger,$whenCondition2,triAndRes.sam.sampleTrigger,triAndRes.incY.y,triAndRes.sam.y,$PRE.triAndRes.uniDel1.y,triAndRes.uniDel1.y,limPID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (238): * Single equations (assignments): 232 * Array equations: 2 * Algorithm blocks: 2 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.00083/17.22, allocations: 225.9 kB / 4.849 GB, free: 50.2 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001323/17.23, allocations: 345 kB / 4.85 GB, free: 50.02 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006411/17.23, allocations: 2.112 MB / 4.852 GB, free: 49.88 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.729e-05/17.23, allocations: 17.53 kB / 4.852 GB, free: 49.88 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/17.23, allocations: 0 / 4.852 GB, free: 49.88 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003836/17.24, allocations: 1.725 MB / 4.853 GB, free: 49.41 MB / 0.8855 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 postOpt removeSimpleEquations (simulation): time 0.0151/17.25, allocations: 5.099 MB / 4.858 GB, free: 48.71 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.41e-05/17.25, allocations: 7.734 kB / 4.858 GB, free: 48.71 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003804/17.26, allocations: 390.2 kB / 4.859 GB, free: 48.71 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.362e-05/17.26, allocations: 6.906 kB / 4.859 GB, free: 48.71 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002243/17.26, allocations: 48.88 kB / 4.859 GB, free: 48.71 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.471e-05/17.26, allocations: 12.75 kB / 4.859 GB, free: 48.71 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.072e-06/17.26, allocations: 0.6562 kB / 4.859 GB, free: 48.71 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00759/17.26, allocations: 3.329 MB / 4.862 GB, free: 47.81 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002928/17.27, allocations: 0.6705 MB / 4.863 GB, free: 47.53 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001039/17.27, allocations: 41.69 kB / 4.863 GB, free: 47.53 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005144/17.27, allocations: 272.1 kB / 4.863 GB, free: 47.52 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003842/17.27, allocations: 101.9 kB / 4.863 GB, free: 47.52 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000288/17.27, allocations: 70.06 kB / 4.863 GB, free: 47.52 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.005444/17.28, allocations: 2.209 MB / 4.865 GB, free: 47.36 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.084e-06/17.28, allocations: 0 / 4.865 GB, free: 47.36 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.009893/17.29, allocations: 2.042 MB / 4.867 GB, free: 47.09 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 12 (chi.vol1.dynBal.U,chi.vol2.dynBal.U,limPID.I.y,limPID.D.x,TRet.T,pum.vol.dynBal.U,pum.filter.x[1],pum.filter.x[2],expVesChi.m,expVesChi.H,firstOrder1.y,TSup.T) * Number of discrete variables: 12 (triAndRes.sam.sampleTrigger,triAndRes.uniDel1.sampleTrigger,$whenCondition2,$whenCondition1,triAndRes.incY.y,triAndRes.sam.firstTrigger,triAndRes.sam.y,triAndRes.uniDel1.firstTrigger,triAndRes.uniDel1.y,triAndRes.sampleTrigger,$whenCondition3,triAndRes.firstTrigger) * Number of discrete states: 1 (triAndRes.uniDel1.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (155): * Single equations (assignments): 146 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 5 * 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.01601/17.3, allocations: 8.089 MB / 4.875 GB, free: 43.8 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.008454/17.31, allocations: 3.326 MB / 4.879 GB, free: 43.3 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.197e-05/17.31, allocations: 0 / 4.879 GB, free: 43.3 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.002048/17.32, allocations: 0.8011 MB / 4.879 GB, free: 43.29 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01262/17.33, allocations: 1.49 MB / 4.881 GB, free: 43.21 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02444/17.35, allocations: 6.125 MB / 4.887 GB, free: 41.48 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002085/17.35, allocations: 2.117 MB / 4.889 GB, free: 40.69 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.009838/17.36, allocations: 1.221 MB / 4.89 GB, free: 40.51 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003355/17.37, allocations: 1.428 MB / 4.891 GB, free: 40.5 MB / 0.8855 GB Notification: Performance of SimCode: time 1.452e-06/17.37, allocations: 0 / 4.891 GB, free: 40.5 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.2/18.57, allocations: 138.4 MB / 5.027 GB, free: 97.89 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002536/18.57, allocations: 266.5 kB / 5.027 GB, free: 97.56 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.32/28.89, allocations: 1.344 kB / 5.027 GB, free: 97.56 MB / 0.9167 GB