Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl,fileNamePrefix="Buildings_8_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_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.1.4-maint.8.1.x/package.mo): time 1.925/1.925, allocations: 292.6 MB / 307.5 MB, free: 5.172 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.00113/0.00113, allocations: 187.4 kB / 377.1 MB, free: 1.52 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.931/1.931, allocations: 205.4 MB / 0.6366 GB, free: 8.531 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.001086/0.001086, allocations: 96 kB / 0.7509 GB, free: 63.24 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004653/0.0004653, allocations: 8 kB / 0.8749 GB, free: 11.06 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3376/0.3381, allocations: 116.3 MB / 0.9884 GB, free: 6.598 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.972/7.31, allocations: 2.395 GB / 3.383 GB, free: 184.7 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003519/7.311, allocations: 110.1 kB / 3.383 GB, free: 184.6 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 7.894/15.2, allocations: 1.708 GB / 5.091 GB, free: 82.55 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.815e-06/15.2, allocations: 0 / 5.091 GB, free: 82.55 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.0007555/15.21, allocations: 103.6 kB / 5.091 GB, free: 82.55 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.0194/15.23, allocations: 4.595 MB / 5.096 GB, free: 80.86 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 5.937e-05/15.23, allocations: 10.81 kB / 5.096 GB, free: 80.86 MB / 1.01 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001853/15.23, allocations: 317.5 kB / 5.096 GB, free: 80.8 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01068/15.24, allocations: 1.34 MB / 5.097 GB, free: 80.58 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01489/15.25, allocations: 4.183 MB / 5.102 GB, free: 79.95 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000754/15.25, allocations: 332.5 kB / 5.102 GB, free: 79.88 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001095/15.25, allocations: 242.9 kB / 5.102 GB, free: 79.88 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008075/15.26, allocations: 3.074 MB / 5.105 GB, free: 79.47 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.537e-05/15.26, allocations: 1.781 kB / 5.105 GB, free: 79.47 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003098/15.26, allocations: 96.44 kB / 5.105 GB, free: 79.47 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001035/15.26, allocations: 84.08 kB / 5.105 GB, free: 79.46 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008079/15.27, allocations: 2.941 MB / 5.108 GB, free: 79.43 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.02607/15.3, allocations: 12.84 MB / 5.121 GB, free: 73.89 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005764/15.3, allocations: 2.639 MB / 5.123 GB, free: 73.35 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.01287/15.32, allocations: 5.52 MB / 5.129 GB, free: 70.98 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002669/15.32, allocations: 1.173 MB / 5.13 GB, free: 70.89 MB / 1.01 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002712/15.32, allocations: 251 kB / 5.13 GB, free: 70.81 MB / 1.01 GB Notification: Performance of pre-optimization done (n=145): time 1.181e-05/15.32, allocations: 3.188 kB / 5.13 GB, free: 70.81 MB / 1.01 GB Notification: Performance of matching and sorting (n=145): time 0.01008/15.33, allocations: 2.909 MB / 5.133 GB, free: 70.57 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001534/15.33, allocations: 232.7 kB / 5.133 GB, free: 70.32 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007434/15.34, allocations: 2.935 MB / 5.136 GB, free: 70.07 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0008033/15.34, allocations: 67.8 kB / 5.136 GB, free: 70.04 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.001822/15.34, allocations: 1.619 MB / 5.138 GB, free: 69.59 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008937/15.34, allocations: 498.7 kB / 5.138 GB, free: 69.28 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001436/15.34, allocations: 38.88 kB / 5.138 GB, free: 69.28 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001763/15.34, allocations: 376.5 kB / 5.138 GB, free: 68.97 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002909/15.35, allocations: 0.97 MB / 5.139 GB, free: 68.97 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003669/15.35, allocations: 1.638 MB / 5.141 GB, free: 68.23 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003384/15.35, allocations: 1.098 MB / 5.142 GB, free: 68.21 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.699e-05/15.35, allocations: 3.094 kB / 5.142 GB, free: 68.21 MB / 1.01 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.008668/15.36, allocations: 2.821 MB / 5.145 GB, free: 67.98 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 0.00179/15.36, allocations: 5.837 MB / 5.151 GB, free: 61.91 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-05/15.36, allocations: 17.12 kB / 5.151 GB, free: 61.91 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.603e-05/15.36, allocations: 25.72 kB / 5.151 GB, free: 61.91 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00307/15.37, allocations: 0.5416 MB / 5.151 GB, free: 61.91 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.697e-05/15.37, allocations: 31.33 kB / 5.151 GB, free: 61.91 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005441/15.37, allocations: 363.4 kB / 5.152 GB, free: 61.89 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006385/15.37, allocations: 109.4 kB / 5.152 GB, free: 61.89 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.498e-05/15.37, allocations: 3.406 kB / 5.152 GB, free: 61.89 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008915/15.38, allocations: 2.443 MB / 5.154 GB, free: 61.86 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001133/15.38, allocations: 15.5 kB / 5.154 GB, free: 61.86 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.554e-05/15.38, allocations: 23.91 kB / 5.154 GB, free: 61.86 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003068/15.39, allocations: 0.5269 MB / 5.155 GB, free: 61.86 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.193e-05/15.39, allocations: 32.17 kB / 5.155 GB, free: 61.86 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00513/15.39, allocations: 323.8 kB / 5.155 GB, free: 61.84 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005402/15.39, allocations: 104.3 kB / 5.155 GB, free: 61.84 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.003787/15.4, allocations: 0.7834 MB / 5.156 GB, free: 61.64 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00193/15.4, allocations: 343.3 kB / 5.156 GB, free: 61.46 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009689/15.41, allocations: 2.464 MB / 5.158 GB, free: 61.34 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-05/15.41, allocations: 20.11 kB / 5.159 GB, free: 61.34 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.045e-05/15.41, allocations: 1 kB / 5.159 GB, free: 61.34 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006627/15.41, allocations: 2.178 MB / 5.161 GB, free: 60.87 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.02481/15.44, allocations: 5.616 MB / 5.166 GB, free: 60.17 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.607e-05/15.44, allocations: 3.094 kB / 5.166 GB, free: 60.17 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002708/15.44, allocations: 385.8 kB / 5.166 GB, free: 60.17 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.692e-05/15.44, allocations: 9.078 kB / 5.167 GB, free: 60.17 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004018/15.44, allocations: 53.34 kB / 5.167 GB, free: 60.17 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.33e-05/15.44, allocations: 12.2 kB / 5.167 GB, free: 60.17 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.035e-06/15.44, allocations: 2.781 kB / 5.167 GB, free: 60.17 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01248/15.45, allocations: 4.013 MB / 5.17 GB, free: 59.28 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004157/15.46, allocations: 0.6919 MB / 5.171 GB, free: 59 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001985/15.46, allocations: 41.53 kB / 5.171 GB, free: 59 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00491/15.47, allocations: 279.1 kB / 5.171 GB, free: 58.99 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004176/15.47, allocations: 99.92 kB / 5.172 GB, free: 58.99 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004166/15.47, allocations: 82.41 kB / 5.172 GB, free: 58.99 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.008238/15.47, allocations: 2.267 MB / 5.174 GB, free: 58.84 MB / 1.01 GB Notification: Performance of sort global known variables: time 1.212e-06/15.47, allocations: 1.844 kB / 5.174 GB, free: 58.84 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.01652/15.49, allocations: 2.019 MB / 5.176 GB, free: 58.58 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.02582/15.52, allocations: 8.841 MB / 5.184 GB, free: 55.27 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.01145/15.53, allocations: 3.567 MB / 5.188 GB, free: 55.12 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.675e-05/15.53, allocations: 4.062 kB / 5.188 GB, free: 55.12 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.003072/15.53, allocations: 1.03 MB / 5.189 GB, free: 55.09 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01003/15.54, allocations: 1.5 MB / 5.19 GB, free: 55.01 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03409/15.58, allocations: 18.86 MB / 5.209 GB, free: 41.09 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00381/15.58, allocations: 2.112 MB / 5.211 GB, free: 40.3 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.006181/15.59, allocations: 0.8472 MB / 5.212 GB, free: 40.15 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003014/15.59, allocations: 1.475 MB / 5.213 GB, free: 40.14 MB / 1.01 GB Notification: Performance of SimCode: time 1.573e-06/15.59, allocations: 0 / 5.213 GB, free: 40.14 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2688/15.86, allocations: 125.5 MB / 5.336 GB, free: 32.36 MB / 1.01 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002484/15.86, allocations: 264 kB / 5.336 GB, free: 32.03 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.803/23.66, allocations: 0 / 5.336 GB, free: 32.03 MB / 1.01 GB (rm -f Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.pipe ; mkfifo Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.pipe ; head -c 1048576 < Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.pipe >> ../files/Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_ChillerSetPointControl_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_ChillerSetPointControl.fmu > Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.pipe 2>&1)