Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl,fileNamePrefix="Buildings_8_0_0_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_ChillerSetPointControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.575/2.575, allocations: 287.3 MB / 302.3 MB, free: 8.242 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.001493/0.001493, allocations: 185.8 kB / 370.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.132/2.132, allocations: 205.4 MB / 0.6295 GB, free: 10.62 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001214/0.001214, allocations: 93.83 kB / 0.7428 GB, free: 6.629 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006567/0.0006568, allocations: 10.59 kB / 0.8657 GB, free: 140.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.229/0.2297, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.001/8.231, allocations: 2.394 GB / 3.372 GB, free: 231.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000374/8.231, allocations: 107.4 kB / 3.372 GB, free: 231.5 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 8.784/17.02, allocations: 1.708 GB / 5.08 GB, free: 3.801 MB / 1.01 GB Notification: Performance of FrontEnd: time 4.458e-06/17.02, allocations: 0 / 5.08 GB, free: 3.801 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.0008077/17.02, allocations: 99.84 kB / 5.08 GB, free: 3.703 MB / 1.01 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.9166/17.93, allocations: 4.586 MB / 5.084 GB, free: 91.65 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 6.61e-05/17.93, allocations: 10.31 kB / 5.084 GB, free: 91.65 MB / 1.01 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001816/17.93, allocations: 317 kB / 5.085 GB, free: 91.6 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01776/17.95, allocations: 1.336 MB / 5.086 GB, free: 91.38 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02105/17.97, allocations: 4.19 MB / 5.09 GB, free: 90.89 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001343/17.97, allocations: 328.4 kB / 5.09 GB, free: 90.82 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001461/17.98, allocations: 248.9 kB / 5.091 GB, free: 90.82 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01592/17.99, allocations: 3.071 MB / 5.094 GB, free: 90.41 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001277/17.99, allocations: 3.812 kB / 5.094 GB, free: 90.41 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007132/17.99, allocations: 96.73 kB / 5.094 GB, free: 90.41 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001765/17.99, allocations: 88.44 kB / 5.094 GB, free: 90.4 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01684/18.01, allocations: 2.935 MB / 5.097 GB, free: 90.37 MB / 1.01 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.04221/18.05, allocations: 12.85 MB / 5.109 GB, free: 84.93 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01064/18.06, allocations: 2.647 MB / 5.112 GB, free: 84.39 MB / 1.01 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.01758/18.08, allocations: 5.512 MB / 5.117 GB, free: 82.07 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005/18.09, allocations: 1.172 MB / 5.118 GB, free: 81.98 MB / 1.01 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002944/18.09, allocations: 251.6 kB / 5.119 GB, free: 81.94 MB / 1.01 GB Notification: Performance of pre-optimization done (n=145): time 1.31e-05/18.09, allocations: 0 / 5.119 GB, free: 81.94 MB / 1.01 GB Notification: Performance of matching and sorting (n=145): time 0.01576/18.1, allocations: 2.921 MB / 5.122 GB, free: 81.69 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001206/18.1, allocations: 229.4 kB / 5.122 GB, free: 81.44 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009044/18.11, allocations: 2.928 MB / 5.125 GB, free: 81.2 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0006725/18.11, allocations: 65.11 kB / 5.125 GB, free: 81.17 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.002299/18.12, allocations: 1.621 MB / 5.126 GB, free: 80.83 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009879/18.12, allocations: 493.5 kB / 5.127 GB, free: 80.59 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002742/18.12, allocations: 35.66 kB / 5.127 GB, free: 80.59 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001572/18.12, allocations: 380.3 kB / 5.127 GB, free: 80.28 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005148/18.12, allocations: 0.97 MB / 5.128 GB, free: 80.28 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006165/18.13, allocations: 1.635 MB / 5.13 GB, free: 79.55 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005657/18.14, allocations: 1.096 MB / 5.131 GB, free: 79.53 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.965e-05/18.14, allocations: 4.375 kB / 5.131 GB, free: 79.53 MB / 1.01 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.01436/18.15, allocations: 2.837 MB / 5.133 GB, free: 79.29 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 0.001415/18.15, allocations: 5.831 MB / 5.139 GB, free: 73.22 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.022e-05/18.15, allocations: 17.16 kB / 5.139 GB, free: 73.22 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.427e-05/18.15, allocations: 24.47 kB / 5.139 GB, free: 73.22 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00541/18.16, allocations: 0.5416 MB / 5.14 GB, free: 73.22 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.459e-05/18.16, allocations: 32.97 kB / 5.14 GB, free: 73.22 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007195/18.16, allocations: 366.2 kB / 5.14 GB, free: 73.21 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007999/18.17, allocations: 107.6 kB / 5.14 GB, free: 73.21 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/18.17, allocations: 6.312 kB / 5.14 GB, free: 73.21 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01212/18.18, allocations: 2.437 MB / 5.143 GB, free: 73.18 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.41e-05/18.18, allocations: 14.84 kB / 5.143 GB, free: 73.18 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.224e-05/18.18, allocations: 28.45 kB / 5.143 GB, free: 73.18 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005122/18.18, allocations: 0.5258 MB / 5.143 GB, free: 73.18 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.913e-05/18.18, allocations: 31.8 kB / 5.143 GB, free: 73.18 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006646/18.19, allocations: 324.2 kB / 5.144 GB, free: 73.16 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008191/18.19, allocations: 107.4 kB / 5.144 GB, free: 73.16 MB / 1.01 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 () * Number of clocked 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.003499/18.19, allocations: 0.7828 MB / 5.144 GB, free: 72.97 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001522/18.2, allocations: 342.3 kB / 5.145 GB, free: 72.8 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01206/18.21, allocations: 2.454 MB / 5.147 GB, free: 72.68 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-05/18.21, allocations: 21.42 kB / 5.147 GB, free: 72.68 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.134e-05/18.21, allocations: 0 / 5.147 GB, free: 72.68 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009171/18.22, allocations: 2.181 MB / 5.149 GB, free: 72.21 MB / 1.01 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.02238/18.24, allocations: 5.618 MB / 5.155 GB, free: 71.51 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.786e-05/18.24, allocations: 7.172 kB / 5.155 GB, free: 71.51 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003959/18.24, allocations: 384.2 kB / 5.155 GB, free: 71.51 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.95e-05/18.24, allocations: 8.375 kB / 5.155 GB, free: 71.51 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003449/18.24, allocations: 52.05 kB / 5.155 GB, free: 71.51 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.88e-05/18.24, allocations: 11.78 kB / 5.155 GB, free: 71.51 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.406e-06/18.24, allocations: 9.906 kB / 5.155 GB, free: 71.51 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01514/18.26, allocations: 4.018 MB / 5.159 GB, free: 70.62 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003256/18.26, allocations: 0.6873 MB / 5.16 GB, free: 70.34 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001529/18.26, allocations: 40.84 kB / 5.16 GB, free: 70.34 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00585/18.27, allocations: 276.4 kB / 5.16 GB, free: 70.34 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000487/18.27, allocations: 93.17 kB / 5.16 GB, free: 70.34 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003803/18.27, allocations: 84.66 kB / 5.16 GB, free: 70.34 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.006499/18.28, allocations: 2.263 MB / 5.162 GB, free: 70.19 MB / 1.01 GB Notification: Performance of sort global known variables: time 6.02e-07/18.28, allocations: 0 / 5.162 GB, free: 70.19 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.01118/18.29, allocations: 2.029 MB / 5.164 GB, free: 70.11 MB / 1.01 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) * Number of clocked states: 0 () * 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.0242/18.31, allocations: 8.832 MB / 5.173 GB, free: 67 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.01603/18.33, allocations: 3.569 MB / 5.177 GB, free: 66.91 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-05/18.33, allocations: 5.188 kB / 5.177 GB, free: 66.91 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.004603/18.33, allocations: 1.026 MB / 5.178 GB, free: 66.9 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01355/18.35, allocations: 1.507 MB / 5.179 GB, free: 66.88 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03582/18.38, allocations: 18.86 MB / 5.197 GB, free: 53.46 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002693/18.39, allocations: 2.106 MB / 5.2 GB, free: 52.73 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.007918/18.39, allocations: 0.8471 MB / 5.2 GB, free: 52.62 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004624/18.4, allocations: 1.472 MB / 5.202 GB, free: 52.61 MB / 1.01 GB Notification: Performance of SimCode: time 1.353e-06/18.4, allocations: 0 / 5.202 GB, free: 52.61 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3847/18.78, allocations: 125.5 MB / 5.324 GB, free: 45.53 MB / 1.01 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003524/18.78, allocations: 256.4 kB / 5.325 GB, free: 45.17 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.442/28.23, allocations: 6.141 kB / 5.325 GB, free: 45.17 MB / 1.01 GB (rm -f Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.pipe ; mkfifo Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.pipe >> ../files/Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_ChillerSetPointControl_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_ChillerSetPointControl.fmu > Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.pipe 2>&1)