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 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.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 loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01639/0.0164, 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.002026/0.002026, 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/2, allocations: 194.6 MB / 211.3 MB, free: 11.25 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.361/2.361, allocations: 236.1 MB / 492.6 MB, free: 11.36 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006752/0.0006754, allocations: 15.98 kB / 0.587 GB, free: 2.066 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6782/0.6789, allocations: 98.72 MB / 0.6834 GB, free: 16.86 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl): time 0.3984/1.077, allocations: 229.9 MB / 0.908 GB, free: 7.945 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.7172/1.795, allocations: 25.31 MB / 0.9327 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007099/1.802, allocations: 119.8 kB / 0.9328 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.05223/1.854, allocations: 2.027 MB / 0.9348 GB, free: 14.56 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.03251/1.887, allocations: 4.763 MB / 0.9394 GB, free: 14.49 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.01828/1.905, allocations: 4.139 MB / 0.9435 GB, free: 14.34 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.01488/1.92, allocations: 5.408 MB / 0.9488 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006743/1.927, allocations: 2.468 MB / 0.9512 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01185/1.939, allocations: 2.996 MB / 0.9541 GB, free: 14.04 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006355/1.945, allocations: 1.927 MB / 0.956 GB, free: 14.04 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.001667/1.947, allocations: 145.2 kB / 0.9561 GB, free: 14.03 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01145/1.958, allocations: 2.371 MB / 0.9584 GB, free: 14.03 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.002487/1.961, allocations: 0.7913 MB / 0.9592 GB, free: 14.03 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.002543/1.963, allocations: 0.7758 MB / 0.96 GB, free: 14 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.01089/1.974, allocations: 4.833 MB / 0.9647 GB, free: 13.63 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/1.974, allocations: 3.375 kB / 0.9647 GB, free: 13.63 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.075e-06/1.974, allocations: 0 / 0.9647 GB, free: 13.63 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0002116/1.975, allocations: 4 kB / 0.9647 GB, free: 13.62 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: 574 * Number of variables: 574 Notification: Performance of Generate backend data structure: time 0.0134/1.988, allocations: 4.031 MB / 0.9686 GB, free: 11.55 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.003e-05/1.988, allocations: 11.56 kB / 0.9686 GB, free: 11.54 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001237/1.989, allocations: 323 kB / 0.9689 GB, free: 11.49 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01595/2.005, allocations: 1.498 MB / 0.9704 GB, free: 11.21 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01003/2.015, allocations: 2.941 MB / 0.9733 GB, free: 10.1 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001579/2.017, allocations: 392.8 kB / 0.9736 GB, free: 9.977 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001112/2.018, allocations: 249.9 kB / 0.9739 GB, free: 9.973 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01289/2.031, allocations: 3.088 MB / 0.9769 GB, free: 8.961 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001273/2.031, allocations: 5.75 kB / 0.9769 GB, free: 8.961 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007756/2.032, allocations: 97.89 kB / 0.977 GB, free: 8.961 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001242/2.032, allocations: 85.31 kB / 0.9771 GB, free: 8.949 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01545/2.048, allocations: 3.068 MB / 0.9801 GB, free: 8.383 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.03884/2.087, allocations: 13.51 MB / 0.9933 GB, free: 340 kB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01219/2.099, allocations: 2.817 MB / 0.996 GB, free: 15.41 MB / 0.7448 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 evalFunc (simulation): time 0.0221/2.121, allocations: 5.978 MB / 1.002 GB, free: 11.95 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006099/2.127, allocations: 1.269 MB / 1.003 GB, free: 11.53 MB / 0.7448 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004007/2.131, allocations: 0.6066 MB / 1.004 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=152): time 1.263e-05/2.131, allocations: 0 / 1.004 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of matching and sorting (n=152): time 0.01641/2.148, allocations: 3.047 MB / 1.007 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001829/2.148, allocations: 261.5 kB / 1.007 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008743/2.157, allocations: 3.32 MB / 1.01 GB, free: 9.488 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.000577/2.157, allocations: 62.2 kB / 1.01 GB, free: 9.457 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.002086/2.159, allocations: 1.612 MB / 1.012 GB, free: 8.863 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.001003/2.16, allocations: 0.51 MB / 1.012 GB, free: 8.492 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002297/2.161, allocations: 40.12 kB / 1.012 GB, free: 8.492 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002212/2.161, allocations: 383.6 kB / 1.013 GB, free: 8.16 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005168/2.166, allocations: 1.02 MB / 1.014 GB, free: 7.969 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006241/2.172, allocations: 1.639 MB / 1.015 GB, free: 7.066 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005845/2.178, allocations: 1.208 MB / 1.016 GB, free: 6.824 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.148e-05/2.178, allocations: 3.906 kB / 1.016 GB, free: 6.824 MB / 0.7448 GB Notification: Performance of matching and sorting (n=249) (initialization): time 0.01496/2.193, allocations: 3.059 MB / 1.019 GB, free: 6.082 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.002535/2.196, allocations: 5.972 MB / 1.025 GB, free: 15.8 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.687e-05/2.196, allocations: 13.94 kB / 1.025 GB, free: 15.8 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004248/2.196, allocations: 56.48 kB / 1.025 GB, free: 15.78 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00545/2.202, allocations: 0.587 MB / 1.026 GB, free: 15.66 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002163/2.204, allocations: 1.358 MB / 1.027 GB, free: 14.36 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007419/2.212, allocations: 382.6 kB / 1.028 GB, free: 14.23 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000834/2.212, allocations: 103.5 kB / 1.028 GB, free: 14.16 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/2.213, allocations: 4 kB / 1.028 GB, free: 14.16 MB / 0.7605 GB Warning: The linear system: 1 : limPID.addSat.y = limPID.y - limPID.gainPID.y 2 : limPID.y = limPID.gainPID.y [ 1.0 , -1.0 ; -1.0 , 1.0 ] * [ limPID.gainPID.y ; limPID.y ] = [ -limPID.addSat.y ; 0.0 ] might be structurally or numerically singular for variable limPID.y since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01329/2.226, allocations: 2.795 MB / 1.03 GB, free: 12.07 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.753e-05/2.226, allocations: 16 kB / 1.03 GB, free: 12.05 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001234/2.226, allocations: 36.11 kB / 1.031 GB, free: 12.02 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005311/2.231, allocations: 0.5626 MB / 1.031 GB, free: 11.5 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001866/2.233, allocations: 2.843 MB / 1.034 GB, free: 8.539 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006193/2.24, allocations: 335 kB / 1.034 GB, free: 8.246 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006999/2.24, allocations: 90.72 kB / 1.034 GB, free: 8.172 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 60 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (245): * Single equations (assignments): 239 * 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.002963/2.243, allocations: 0.7854 MB / 1.035 GB, free: 7.691 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001323/2.245, allocations: 343.7 kB / 1.035 GB, free: 7.352 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01327/2.258, allocations: 2.573 MB / 1.038 GB, free: 5.473 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.212e-05/2.258, allocations: 23 kB / 1.038 GB, free: 5.453 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/2.258, allocations: 4 kB / 1.038 GB, free: 5.449 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01051/2.269, allocations: 2.21 MB / 1.04 GB, free: 3.645 MB / 0.7605 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.02379/2.292, allocations: 5.865 MB / 1.046 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-05/2.293, allocations: 7.984 kB / 1.046 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004413/2.297, allocations: 407.3 kB / 1.046 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.321e-05/2.297, allocations: 21.69 kB / 1.046 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004517/2.298, allocations: 54.52 kB / 1.046 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.236e-05/2.298, allocations: 14.62 kB / 1.046 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-05/2.298, allocations: 6.438 kB / 1.046 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01767/2.315, allocations: 4.379 MB / 1.051 GB, free: 11.31 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003016/2.318, allocations: 0.6917 MB / 1.051 GB, free: 10.77 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001199/2.32, allocations: 36.88 kB / 1.051 GB, free: 10.76 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005911/2.325, allocations: 301.8 kB / 1.052 GB, free: 10.48 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005161/2.326, allocations: 112.8 kB / 1.052 GB, free: 10.39 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003653/2.326, allocations: 70.11 kB / 1.052 GB, free: 10.34 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.006962/2.333, allocations: 2.292 MB / 1.054 GB, free: 8.73 MB / 0.7761 GB Notification: Performance of sort global known variables: time 9.92e-07/2.333, allocations: 0 / 1.054 GB, free: 8.73 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.01047/2.344, allocations: 1.747 MB / 1.056 GB, free: 7.113 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (163): * Single equations (assignments): 152 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.02223/2.366, allocations: 6.823 MB / 1.062 GB, free: 1.328 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.01859/2.385, allocations: 4.221 MB / 1.066 GB, free: 14.01 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-05/2.385, allocations: 4.188 kB / 1.066 GB, free: 14.01 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0053/2.39, allocations: 1.094 MB / 1.068 GB, free: 13.21 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01332/2.404, allocations: 1.502 MB / 1.069 GB, free: 11.97 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03885/2.443, allocations: 19.11 MB / 1.088 GB, free: 9.238 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003092/2.446, allocations: 2.112 MB / 1.09 GB, free: 7.176 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.007143/2.453, allocations: 0.8226 MB / 1.09 GB, free: 6.352 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004419/2.457, allocations: 1.49 MB / 1.092 GB, free: 5.996 MB / 0.8073 GB Notification: Performance of SimCode: time 1.814e-06/2.457, allocations: 0 / 1.092 GB, free: 5.996 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2703/2.728, allocations: 92.85 MB / 1.183 GB, free: 10.43 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0005291/2.728, allocations: 340.9 kB / 1.183 GB, free: 10.06 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.432/10.16, allocations: 4.062 kB / 1.183 GB, free: 10.06 MB / 0.9011 GB