Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl") Notification: Performance of loadModel(Buildings): time 4.099/4.099, allocations: 433.4 MB / 440.9 MB, free: 10.49 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.431e-05/2.417e-05, allocations: 4 kB / 0.5325 GB, free: 1.953 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5747/0.5747, allocations: 98.71 MB / 0.6289 GB, free: 15.74 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.775/7.35, allocations: 2.503 GB / 3.132 GB, free: 189.4 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002641/7.351, allocations: 108.7 kB / 3.132 GB, free: 189.4 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 7.641/14.99, allocations: 1.636 GB / 4.769 GB, free: 67.07 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.571e-06/14.99, allocations: 2.281 kB / 4.769 GB, free: 67.07 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0006416/14.99, allocations: 98.94 kB / 4.769 GB, free: 67.05 MB / 0.8698 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.01213/15, allocations: 3.816 MB / 4.773 GB, free: 65.29 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/15, allocations: 10.28 kB / 4.773 GB, free: 65.29 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01137/15.02, allocations: 1.378 MB / 4.774 GB, free: 65.06 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01485/15.03, allocations: 4.164 MB / 4.778 GB, free: 64.39 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006857/15.03, allocations: 243.6 kB / 4.778 GB, free: 64.32 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009957/15.03, allocations: 144.7 kB / 4.778 GB, free: 64.32 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006815/15.04, allocations: 2.228 MB / 4.781 GB, free: 64.31 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00829/15.05, allocations: 2.365 MB / 4.783 GB, free: 63.91 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001327/15.05, allocations: 6.125 kB / 4.783 GB, free: 63.91 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007454/15.05, allocations: 14.69 kB / 4.783 GB, free: 63.91 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001075/15.05, allocations: 82.39 kB / 4.783 GB, free: 63.91 MB / 0.8698 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.02923/15.08, allocations: 12.45 MB / 4.795 GB, free: 58.29 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004921/15.08, allocations: 1.993 MB / 4.797 GB, free: 57.94 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002099/15.08, allocations: 0.8039 MB / 4.798 GB, free: 57.92 MB / 0.8698 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.01523/15.1, allocations: 5.619 MB / 4.803 GB, free: 55.21 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002096/15.1, allocations: 0.8836 MB / 4.804 GB, free: 55.13 MB / 0.8698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001997/15.1, allocations: 201.5 kB / 4.804 GB, free: 55.06 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=142): time 1.279e-05/15.1, allocations: 0 / 4.804 GB, free: 55.06 MB / 0.8698 GB Notification: Performance of matching and sorting (n=142): time 0.006541/15.11, allocations: 1.705 MB / 4.806 GB, free: 54.84 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.955e-05/15.11, allocations: 225.1 kB / 4.806 GB, free: 54.59 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006179/15.12, allocations: 2.441 MB / 4.809 GB, free: 54.34 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0004786/15.12, allocations: 31.3 kB / 4.809 GB, free: 54.3 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.002135/15.12, allocations: 1.625 MB / 4.81 GB, free: 53.78 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007674/15.12, allocations: 468.9 kB / 4.811 GB, free: 53.47 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002426/15.12, allocations: 6.625 kB / 4.811 GB, free: 53.47 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001629/15.12, allocations: 378.7 kB / 4.811 GB, free: 53.16 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001682/15.12, allocations: 0.6945 MB / 4.812 GB, free: 53.16 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002321/15.13, allocations: 1.349 MB / 4.813 GB, free: 52.41 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004051/15.13, allocations: 0.9887 MB / 4.814 GB, free: 52.39 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.496e-05/15.13, allocations: 4.844 kB / 4.814 GB, free: 52.39 MB / 0.8698 GB Notification: Performance of matching and sorting (n=242) (initialization): time 0.008978/15.14, allocations: 2.402 MB / 4.816 GB, free: 52.13 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001314/15.14, allocations: 6.004 MB / 4.822 GB, free: 45.78 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.32e-05/15.14, allocations: 13.56 kB / 4.822 GB, free: 45.78 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002912/15.14, allocations: 56.89 kB / 4.822 GB, free: 45.77 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003781/15.14, allocations: 0.5609 MB / 4.823 GB, free: 45.74 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004759/15.14, allocations: 0.5761 MB / 4.823 GB, free: 45.22 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004848/15.15, allocations: 311.8 kB / 4.824 GB, free: 45.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006526/15.15, allocations: 108.6 kB / 4.824 GB, free: 45.2 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/15.15, allocations: 4.344 kB / 4.824 GB, free: 45.2 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007146/15.16, allocations: 1.958 MB / 4.826 GB, free: 45.08 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-05/15.16, allocations: 13.72 kB / 4.826 GB, free: 45.08 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001518/15.16, allocations: 49.44 kB / 4.826 GB, free: 45.07 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003394/15.16, allocations: 0.5468 MB / 4.826 GB, free: 45.03 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009317/15.16, allocations: 1.251 MB / 4.828 GB, free: 43.83 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00446/15.17, allocations: 255.5 kB / 4.828 GB, free: 43.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006277/15.17, allocations: 110.7 kB / 4.828 GB, free: 43.8 MB / 0.8698 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: limPID.addSat.u2:VARIABLE(protected = true ) "Connector of Real input signal 2" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 61 * 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.0008714/15.17, allocations: 168.3 kB / 4.828 GB, free: 43.65 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001033/15.17, allocations: 317.9 kB / 4.828 GB, free: 43.48 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006636/15.18, allocations: 1.901 MB / 4.83 GB, free: 43.35 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.777e-05/15.18, allocations: 12.59 kB / 4.83 GB, free: 43.35 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.41e-06/15.18, allocations: 0 / 4.83 GB, free: 43.35 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004568/15.18, allocations: 1.704 MB / 4.832 GB, free: 42.89 MB / 0.8698 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.01482/15.2, allocations: 4.731 MB / 4.837 GB, free: 42.21 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.441e-05/15.2, allocations: 2.969 kB / 4.837 GB, free: 42.21 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002857/15.2, allocations: 383.6 kB / 4.837 GB, free: 42.19 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-05/15.2, allocations: 6.75 kB / 4.837 GB, free: 42.19 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003282/15.2, allocations: 34.86 kB / 4.837 GB, free: 42.19 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.471e-05/15.2, allocations: 13.56 kB / 4.837 GB, free: 42.19 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.734e-06/15.2, allocations: 4 kB / 4.837 GB, free: 42.18 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00737/15.21, allocations: 3.118 MB / 4.84 GB, free: 41.41 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002374/15.21, allocations: 0.6389 MB / 4.841 GB, free: 41.15 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001124/15.21, allocations: 6.375 kB / 4.841 GB, free: 41.15 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00399/15.21, allocations: 241.5 kB / 4.841 GB, free: 41.12 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003883/15.21, allocations: 95.91 kB / 4.841 GB, free: 41.12 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002786/15.21, allocations: 68.45 kB / 4.841 GB, free: 41.12 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.004769/15.22, allocations: 1.812 MB / 4.843 GB, free: 40.98 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.131e-06/15.22, allocations: 0 / 4.843 GB, free: 40.98 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.01006/15.23, allocations: 1.948 MB / 4.845 GB, free: 40.62 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (153): * Single equations (assignments): 144 * 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.007481/15.24, allocations: 3.837 MB / 4.848 GB, free: 38.86 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.00721/15.24, allocations: 3.162 MB / 4.852 GB, free: 37.43 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 9.4e-06/15.24, allocations: 3.969 kB / 4.852 GB, free: 37.43 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001867/15.25, allocations: 0.7539 MB / 4.852 GB, free: 37.16 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007848/15.25, allocations: 1.214 MB / 4.853 GB, free: 36.87 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01702/15.27, allocations: 5.127 MB / 4.858 GB, free: 34.79 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003181/15.27, allocations: 2.108 MB / 4.86 GB, free: 33.92 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.009312/15.28, allocations: 1.132 MB / 4.862 GB, free: 33.72 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001178/15.28, allocations: 211.6 kB / 4.862 GB, free: 33.7 MB / 0.8698 GB Notification: Performance of SimCode: time 1.961e-06/15.28, allocations: 0 / 4.862 GB, free: 33.7 MB / 0.8698 GB Notification: Performance of Templates: time 0.1563/15.44, allocations: 70.45 MB / 4.931 GB, free: 2.441 MB / 0.8855 GB