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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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 4.136/4.136, allocations: 433.2 MB / 440.7 MB, free: 4.574 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.24e-05/2.238e-05, allocations: 3.594 kB / 0.5325 GB, free: 12.68 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2191/0.2192, allocations: 98.73 MB / 0.6289 GB, free: 9.109 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.612/7.831, allocations: 2.503 GB / 3.132 GB, free: 134.1 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003666/7.832, allocations: 106.4 kB / 3.132 GB, free: 134 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 9.153/16.99, allocations: 1.636 GB / 4.769 GB, free: 71.69 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.585e-06/16.99, allocations: 0 / 4.769 GB, free: 71.69 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0007467/16.99, allocations: 100 kB / 4.769 GB, free: 71.67 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.01529/17, allocations: 3.828 MB / 4.773 GB, free: 69.73 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.816e-05/17, allocations: 9.875 kB / 4.773 GB, free: 69.73 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01732/17.02, allocations: 1.377 MB / 4.774 GB, free: 69.51 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01807/17.04, allocations: 4.161 MB / 4.778 GB, free: 68.79 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009919/17.04, allocations: 241.7 kB / 4.778 GB, free: 68.71 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001217/17.04, allocations: 149.1 kB / 4.778 GB, free: 68.71 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008061/17.05, allocations: 2.225 MB / 4.781 GB, free: 68.7 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008581/17.06, allocations: 2.353 MB / 4.783 GB, free: 68.17 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001057/17.06, allocations: 14.16 kB / 4.783 GB, free: 68.16 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003999/17.06, allocations: 7.328 kB / 4.783 GB, free: 68.16 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001281/17.06, allocations: 83.17 kB / 4.783 GB, free: 68.15 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.03441/17.09, allocations: 12.46 MB / 4.795 GB, free: 59.93 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005335/17.1, allocations: 1.986 MB / 4.797 GB, free: 58.93 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002176/17.1, allocations: 0.7996 MB / 4.798 GB, free: 58.61 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.0167/17.12, allocations: 5.621 MB / 4.803 GB, free: 54.66 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002159/17.12, allocations: 0.8829 MB / 4.804 GB, free: 54.3 MB / 0.8698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002261/17.12, allocations: 198.3 kB / 4.804 GB, free: 54.24 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=142): time 1.409e-05/17.12, allocations: 0 / 4.804 GB, free: 54.24 MB / 0.8698 GB Notification: Performance of matching and sorting (n=142): time 0.007709/17.13, allocations: 1.702 MB / 4.806 GB, free: 53.6 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001138/17.13, allocations: 232.3 kB / 4.806 GB, free: 53.34 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006561/17.13, allocations: 2.44 MB / 4.809 GB, free: 52.37 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0006001/17.13, allocations: 28.55 kB / 4.809 GB, free: 52.34 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.002286/17.14, allocations: 1.632 MB / 4.81 GB, free: 51.06 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008821/17.14, allocations: 471.8 kB / 4.811 GB, free: 50.7 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002358/17.14, allocations: 3.125 kB / 4.811 GB, free: 50.7 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001504/17.14, allocations: 386.7 kB / 4.811 GB, free: 50.36 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001855/17.14, allocations: 0.6927 MB / 4.812 GB, free: 50.07 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002524/17.14, allocations: 1.352 MB / 4.813 GB, free: 48.98 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004477/17.15, allocations: 0.9875 MB / 4.814 GB, free: 48.64 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.595e-05/17.15, allocations: 3.969 kB / 4.814 GB, free: 48.64 MB / 0.8698 GB Notification: Performance of matching and sorting (n=242) (initialization): time 0.00941/17.16, allocations: 2.396 MB / 4.816 GB, free: 47.78 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001421/17.16, allocations: 5.996 MB / 4.822 GB, free: 41.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.29e-05/17.16, allocations: 15.78 kB / 4.822 GB, free: 41.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003512/17.16, allocations: 56.14 kB / 4.822 GB, free: 41.29 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005338/17.16, allocations: 0.5575 MB / 4.823 GB, free: 41.23 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005345/17.16, allocations: 0.573 MB / 4.823 GB, free: 40.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006407/17.17, allocations: 314 kB / 4.824 GB, free: 40.65 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007674/17.17, allocations: 114.8 kB / 4.824 GB, free: 40.63 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/17.17, allocations: 3.844 kB / 4.824 GB, free: 40.63 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0073/17.18, allocations: 1.952 MB / 4.826 GB, free: 39.97 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.193e-05/17.18, allocations: 16.84 kB / 4.826 GB, free: 39.97 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001577/17.18, allocations: 46.88 kB / 4.826 GB, free: 39.96 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00497/17.18, allocations: 0.544 MB / 4.826 GB, free: 39.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001002/17.19, allocations: 1.262 MB / 4.828 GB, free: 38.65 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005718/17.19, allocations: 259.2 kB / 4.828 GB, free: 38.62 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000676/17.19, allocations: 112.1 kB / 4.828 GB, free: 38.6 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.0008184/17.19, allocations: 171.4 kB / 4.828 GB, free: 38.45 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006155/17.2, allocations: 1.641 MB / 4.83 GB, free: 37.81 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001259/17.2, allocations: 317.5 kB / 4.83 GB, free: 37.64 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006812/17.21, allocations: 1.898 MB / 4.832 GB, free: 36.98 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-05/17.21, allocations: 19.28 kB / 4.832 GB, free: 36.97 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/17.21, allocations: 0 / 4.832 GB, free: 36.97 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004809/17.21, allocations: 1.705 MB / 4.833 GB, free: 36.07 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.01563/17.23, allocations: 4.735 MB / 4.838 GB, free: 32.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-05/17.23, allocations: 4 kB / 4.838 GB, free: 32.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004034/17.23, allocations: 376.1 kB / 4.838 GB, free: 32 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.281e-05/17.23, allocations: 11.95 kB / 4.838 GB, free: 31.99 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003678/17.23, allocations: 30.69 kB / 4.839 GB, free: 31.97 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.206e-05/17.23, allocations: 11.94 kB / 4.839 GB, free: 31.96 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.642e-06/17.23, allocations: 4 kB / 4.839 GB, free: 31.96 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008139/17.24, allocations: 3.129 MB / 4.842 GB, free: 28.99 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002776/17.24, allocations: 0.6327 MB / 4.842 GB, free: 28.43 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001317/17.25, allocations: 11.75 kB / 4.842 GB, free: 28.43 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005349/17.25, allocations: 245.5 kB / 4.842 GB, free: 28.25 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000436/17.25, allocations: 98.91 kB / 4.843 GB, free: 28.19 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003008/17.25, allocations: 67.58 kB / 4.843 GB, free: 28.14 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.004558/17.26, allocations: 1.812 MB / 4.844 GB, free: 26.49 MB / 0.8698 GB Notification: Performance of sort global known variables: time 7.92e-07/17.26, allocations: 0 / 4.844 GB, free: 26.49 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.01098/17.27, allocations: 1.943 MB / 4.846 GB, free: 24.54 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.01667/17.28, allocations: 7.867 MB / 4.854 GB, free: 16.79 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.008086/17.29, allocations: 3.16 MB / 4.857 GB, free: 13.57 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.089e-05/17.29, allocations: 4 kB / 4.857 GB, free: 13.57 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001984/17.29, allocations: 0.7529 MB / 4.858 GB, free: 12.82 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0109/17.3, allocations: 1.212 MB / 4.859 GB, free: 11.64 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02446/17.33, allocations: 5.9 MB / 4.865 GB, free: 5.727 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002395/17.33, allocations: 2.101 MB / 4.867 GB, free: 3.594 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.01306/17.34, allocations: 1.139 MB / 4.868 GB, free: 2.527 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003489/17.35, allocations: 1.397 MB / 4.869 GB, free: 1.129 MB / 0.8698 GB Notification: Performance of SimCode: time 1.322e-06/17.35, allocations: 4 kB / 4.869 GB, free: 1.125 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.163/18.51, allocations: 102.1 MB / 4.969 GB, free: 98.47 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002598/18.51, allocations: 214.6 kB / 4.969 GB, free: 98.19 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.131/26.64, allocations: 3.938 kB / 4.969 GB, free: 98.18 MB / 0.9011 GB