Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_ChillerSetPointControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_ChillerSetPointControl",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.706/1.706, allocations: 285.4 MB / 298 MB, free: 5.988 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001211/0.001211, allocations: 176.8 kB / 366.4 MB, free: 2.098 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.74/1.74, allocations: 205.1 MB / 0.6248 GB, free: 7.738 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008824/0.0008822, allocations: 94 kB / 0.738 GB, free: 40.28 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.862e-05/3.873e-05, allocations: 4 kB / 0.8584 GB, free: 12.99 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7331/0.7332, allocations: 115.3 MB / 0.971 GB, free: 78.11 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.646/7.379, allocations: 2.394 GB / 3.365 GB, free: 104.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002814/7.379, allocations: 103.9 kB / 3.365 GB, free: 104.5 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 7.358/14.74, allocations: 1.704 GB / 5.069 GB, free: 85.48 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.104e-06/14.74, allocations: 0 / 5.069 GB, free: 85.48 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0006433/14.74, allocations: 99.34 kB / 5.069 GB, free: 85.46 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 570 * Number of variables: 570 Notification: Performance of Generate backend data structure: time 0.013/14.75, allocations: 3.754 MB / 5.073 GB, free: 83.98 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 5.444e-05/14.75, allocations: 10.88 kB / 5.073 GB, free: 83.98 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001074/14.75, allocations: 319.1 kB / 5.073 GB, free: 83.93 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009891/14.76, allocations: 1.331 MB / 5.074 GB, free: 83.71 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01226/14.77, allocations: 4.131 MB / 5.078 GB, free: 83.05 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006737/14.78, allocations: 334.4 kB / 5.079 GB, free: 82.97 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008776/14.78, allocations: 246.2 kB / 5.079 GB, free: 82.97 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005355/14.78, allocations: 2.774 MB / 5.082 GB, free: 82.56 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.761e-05/14.78, allocations: 4.906 kB / 5.082 GB, free: 82.56 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002924/14.78, allocations: 91.09 kB / 5.082 GB, free: 82.56 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.848e-05/14.78, allocations: 94.75 kB / 5.082 GB, free: 82.55 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004258/14.79, allocations: 2.349 MB / 5.084 GB, free: 82.52 MB / 0.9948 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.02418/14.81, allocations: 12.85 MB / 5.097 GB, free: 76.95 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004352/14.81, allocations: 2.194 MB / 5.099 GB, free: 76.4 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001611/14.82, allocations: 0.848 MB / 5.1 GB, free: 76.38 MB / 0.9948 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.01212/14.83, allocations: 5.557 MB / 5.105 GB, free: 73.92 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001465/14.83, allocations: 0.9538 MB / 5.106 GB, free: 73.84 MB / 0.9948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002121/14.83, allocations: 252.7 kB / 5.106 GB, free: 73.76 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=145): time 7.033e-06/14.83, allocations: 0 / 5.106 GB, free: 73.76 MB / 0.9948 GB Notification: Performance of matching and sorting (n=145): time 0.003698/14.84, allocations: 1.693 MB / 5.108 GB, free: 73.52 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001033/14.84, allocations: 228 kB / 5.108 GB, free: 73.27 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005298/14.84, allocations: 2.842 MB / 5.111 GB, free: 73 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0005126/14.84, allocations: 62.23 kB / 5.111 GB, free: 72.97 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.00153/14.84, allocations: 1.62 MB / 5.113 GB, free: 72.53 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006145/14.84, allocations: 0.491 MB / 5.113 GB, free: 72.21 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001216/14.84, allocations: 35.75 kB / 5.113 GB, free: 72.21 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001276/14.84, allocations: 374.9 kB / 5.113 GB, free: 71.91 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001214/14.85, allocations: 0.7049 MB / 5.114 GB, free: 71.91 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001584/14.85, allocations: 1.377 MB / 5.115 GB, free: 71.16 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001307/14.85, allocations: 0.8355 MB / 5.116 GB, free: 71.15 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.007e-05/14.85, allocations: 3.125 kB / 5.116 GB, free: 71.15 MB / 0.9948 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.00459/14.85, allocations: 2.296 MB / 5.118 GB, free: 70.91 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001424/14.85, allocations: 5.832 MB / 5.124 GB, free: 64.84 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.41e-05/14.85, allocations: 15.69 kB / 5.124 GB, free: 64.84 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.244e-05/14.85, allocations: 23.94 kB / 5.124 GB, free: 64.84 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002428/14.86, allocations: 0.5445 MB / 5.125 GB, free: 64.84 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.073e-05/14.86, allocations: 34.34 kB / 5.125 GB, free: 64.84 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004243/14.86, allocations: 358.3 kB / 5.125 GB, free: 64.82 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000259/14.86, allocations: 112.1 kB / 5.125 GB, free: 64.82 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/14.86, allocations: 6.328 kB / 5.125 GB, free: 64.82 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003377/14.87, allocations: 1.936 MB / 5.127 GB, free: 64.79 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.769e-05/14.87, allocations: 14.88 kB / 5.127 GB, free: 64.79 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.86e-05/14.87, allocations: 25.72 kB / 5.127 GB, free: 64.79 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002249/14.87, allocations: 0.5299 MB / 5.128 GB, free: 64.79 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.461e-05/14.87, allocations: 31.67 kB / 5.128 GB, free: 64.79 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003994/14.87, allocations: 333.2 kB / 5.128 GB, free: 64.77 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002647/14.87, allocations: 103.8 kB / 5.128 GB, free: 64.77 MB / 0.9948 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 (233): * Single equations (assignments): 230 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 1 * 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.0007825/14.87, allocations: 232 kB / 5.128 GB, free: 64.65 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009744/14.87, allocations: 339.4 kB / 5.129 GB, free: 64.47 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004677/14.88, allocations: 2.035 MB / 5.131 GB, free: 64.35 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.027e-05/14.88, allocations: 20.31 kB / 5.131 GB, free: 64.35 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.077e-06/14.88, allocations: 0 / 5.131 GB, free: 64.35 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002544/14.88, allocations: 1.76 MB / 5.132 GB, free: 63.88 MB / 0.9948 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.01378/14.89, allocations: 5.193 MB / 5.137 GB, free: 63.17 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.488e-05/14.89, allocations: 3.938 kB / 5.137 GB, free: 63.17 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002063/14.9, allocations: 388.8 kB / 5.138 GB, free: 63.17 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.232e-05/14.9, allocations: 11.11 kB / 5.138 GB, free: 63.16 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001507/14.9, allocations: 56 kB / 5.138 GB, free: 63.16 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.359e-05/14.9, allocations: 12.59 kB / 5.138 GB, free: 63.16 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.529e-06/14.9, allocations: 3.156 kB / 5.138 GB, free: 63.16 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005507/14.9, allocations: 3.375 MB / 5.141 GB, free: 62.27 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002533/14.91, allocations: 0.6919 MB / 5.142 GB, free: 61.99 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006223/14.91, allocations: 34 kB / 5.142 GB, free: 61.99 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002666/14.91, allocations: 278.1 kB / 5.142 GB, free: 61.98 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001956/14.91, allocations: 102 kB / 5.142 GB, free: 61.98 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000171/14.91, allocations: 81.97 kB / 5.142 GB, free: 61.98 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.003934/14.91, allocations: 2.183 MB / 5.144 GB, free: 61.82 MB / 0.9948 GB Notification: Performance of sort global known variables: time 4.11e-07/14.91, allocations: 0 / 5.144 GB, free: 61.82 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.008402/14.92, allocations: 2.028 MB / 5.146 GB, free: 61.55 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 11 (chi.vol1.dynBal.U,chi.vol2.dynBal.U,limPID.I.y,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 (158): * Single equations (assignments): 147 * 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.01218/14.93, allocations: 8.174 MB / 5.154 GB, free: 58.28 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.005775/14.94, allocations: 2.967 MB / 5.157 GB, free: 58.16 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.547e-05/14.94, allocations: 7.641 kB / 5.157 GB, free: 58.16 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.001346/14.94, allocations: 0.8149 MB / 5.158 GB, free: 58.15 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008555/14.95, allocations: 1.51 MB / 5.16 GB, free: 58.13 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01704/14.97, allocations: 6.105 MB / 5.166 GB, free: 56.5 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001594/14.97, allocations: 2.111 MB / 5.168 GB, free: 55.71 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.00596/14.97, allocations: 1.243 MB / 5.169 GB, free: 55.53 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001918/14.98, allocations: 1.409 MB / 5.17 GB, free: 55.52 MB / 0.9948 GB Notification: Performance of SimCode: time 1.563e-06/14.98, allocations: 0 / 5.17 GB, free: 55.52 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.231/15.21, allocations: 138 MB / 5.305 GB, free: 7.566 MB / 1.01 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002281/15.21, allocations: 241 kB / 5.305 GB, free: 7.254 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.94/23.15, allocations: 3.516 kB / 5.305 GB, free: 7.254 MB / 1.01 GB (rm -f Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_ChillerSetPointControl_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_ChillerSetPointControl.fmu > Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.pipe 2>&1)