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.419/2.419, allocations: 284.7 MB / 297.2 MB, free: 6.402 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.001568/0.001568, allocations: 180.9 kB / 365.6 MB, free: 2.629 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.055/2.055, allocations: 205.1 MB / 0.624 GB, free: 8.258 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.001077/0.001077, allocations: 97.77 kB / 0.7371 GB, free: 40.82 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.662e-05/3.685e-05, allocations: 4 kB / 0.8574 GB, free: 13.68 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8013/0.8014, allocations: 115.2 MB / 0.97 GB, free: 77.89 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.103/7.905, allocations: 2.393 GB / 3.363 GB, free: 61.69 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000384/7.905, allocations: 104.7 kB / 3.364 GB, free: 61.64 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 9.564/17.47, allocations: 1.704 GB / 5.068 GB, free: 86.49 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.384e-06/17.47, allocations: 0 / 5.068 GB, free: 86.49 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0008727/17.47, allocations: 98.61 kB / 5.068 GB, free: 86.48 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.01494/17.48, allocations: 3.75 MB / 5.071 GB, free: 84.91 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 5.475e-05/17.48, allocations: 11.31 kB / 5.071 GB, free: 84.91 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001327/17.49, allocations: 317.4 kB / 5.072 GB, free: 84.86 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01649/17.5, allocations: 1.337 MB / 5.073 GB, free: 84.63 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02413/17.53, allocations: 4.132 MB / 5.077 GB, free: 83.97 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001535/17.53, allocations: 339.3 kB / 5.077 GB, free: 83.9 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001583/17.53, allocations: 244 kB / 5.078 GB, free: 83.89 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01428/17.54, allocations: 2.786 MB / 5.08 GB, free: 83.48 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002057/17.54, allocations: 5.031 kB / 5.08 GB, free: 83.48 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001287/17.55, allocations: 95.81 kB / 5.08 GB, free: 83.48 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001851/17.55, allocations: 88.64 kB / 5.08 GB, free: 83.48 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01198/17.56, allocations: 2.342 MB / 5.083 GB, free: 83.45 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.04863/17.61, allocations: 12.85 MB / 5.095 GB, free: 77.86 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008181/17.62, allocations: 2.19 MB / 5.097 GB, free: 77.32 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00345/17.62, allocations: 0.8567 MB / 5.098 GB, free: 77.29 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.02293/17.64, allocations: 5.55 MB / 5.104 GB, free: 74.83 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002756/17.64, allocations: 0.9588 MB / 5.105 GB, free: 74.75 MB / 0.9948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002566/17.65, allocations: 251.6 kB / 5.105 GB, free: 74.66 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=145): time 1.244e-05/17.65, allocations: 0 / 5.105 GB, free: 74.66 MB / 0.9948 GB Notification: Performance of matching and sorting (n=145): time 0.006654/17.65, allocations: 1.7 MB / 5.107 GB, free: 74.42 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001155/17.65, allocations: 225.9 kB / 5.107 GB, free: 74.17 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008225/17.66, allocations: 2.838 MB / 5.11 GB, free: 73.91 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.000641/17.66, allocations: 68.34 kB / 5.11 GB, free: 73.88 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002836/17.67, allocations: 1.615 MB / 5.111 GB, free: 73.44 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009768/17.67, allocations: 0.4935 MB / 5.112 GB, free: 73.12 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000285/17.67, allocations: 36.75 kB / 5.112 GB, free: 73.12 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001839/17.67, allocations: 381.1 kB / 5.112 GB, free: 72.82 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002233/17.67, allocations: 0.7024 MB / 5.113 GB, free: 72.82 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003128/17.67, allocations: 1.366 MB / 5.114 GB, free: 72.09 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002865/17.68, allocations: 0.8394 MB / 5.115 GB, free: 72.06 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.032e-05/17.68, allocations: 3.75 kB / 5.115 GB, free: 72.06 MB / 0.9948 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.008235/17.68, allocations: 2.298 MB / 5.117 GB, free: 71.82 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001446/17.69, allocations: 5.822 MB / 5.123 GB, free: 65.76 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001333/17.69, allocations: 19.14 kB / 5.123 GB, free: 65.76 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.902e-05/17.69, allocations: 21.91 kB / 5.123 GB, free: 65.76 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005115/17.69, allocations: 0.5438 MB / 5.123 GB, free: 65.76 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.534e-05/17.69, allocations: 28.95 kB / 5.123 GB, free: 65.76 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006728/17.7, allocations: 363.8 kB / 5.124 GB, free: 65.74 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007378/17.7, allocations: 110.1 kB / 5.124 GB, free: 65.74 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/17.7, allocations: 4.281 kB / 5.124 GB, free: 65.74 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006711/17.71, allocations: 1.943 MB / 5.126 GB, free: 65.7 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.458e-05/17.71, allocations: 16.81 kB / 5.126 GB, free: 65.7 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.182e-05/17.71, allocations: 25.84 kB / 5.126 GB, free: 65.7 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004839/17.71, allocations: 0.5292 MB / 5.126 GB, free: 65.7 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.478e-05/17.71, allocations: 30.05 kB / 5.126 GB, free: 65.7 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006046/17.72, allocations: 329.7 kB / 5.127 GB, free: 65.68 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007334/17.72, allocations: 100.5 kB / 5.127 GB, free: 65.68 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.0009679/17.72, allocations: 232.9 kB / 5.127 GB, free: 65.57 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001279/17.72, allocations: 342.2 kB / 5.127 GB, free: 65.39 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007249/17.73, allocations: 2.027 MB / 5.129 GB, free: 65.27 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.071e-05/17.73, allocations: 19.53 kB / 5.129 GB, free: 65.27 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.158e-05/17.73, allocations: 0 / 5.129 GB, free: 65.27 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004628/17.73, allocations: 1.758 MB / 5.131 GB, free: 64.79 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.0171/17.75, allocations: 5.196 MB / 5.136 GB, free: 64.09 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.618e-05/17.75, allocations: 4.812 kB / 5.136 GB, free: 64.09 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003994/17.75, allocations: 387.2 kB / 5.136 GB, free: 64.09 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.543e-05/17.75, allocations: 10.69 kB / 5.136 GB, free: 64.09 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004284/17.75, allocations: 54.42 kB / 5.137 GB, free: 64.09 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.959e-05/17.75, allocations: 9.75 kB / 5.137 GB, free: 64.09 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.683e-06/17.75, allocations: 5.438 kB / 5.137 GB, free: 64.09 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009015/17.76, allocations: 3.381 MB / 5.14 GB, free: 63.19 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003217/17.77, allocations: 0.6938 MB / 5.141 GB, free: 62.91 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001538/17.77, allocations: 35.02 kB / 5.141 GB, free: 62.91 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005773/17.77, allocations: 273.9 kB / 5.141 GB, free: 62.9 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005541/17.77, allocations: 102.5 kB / 5.141 GB, free: 62.9 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003764/17.77, allocations: 76.02 kB / 5.141 GB, free: 62.9 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.006163/17.78, allocations: 2.19 MB / 5.143 GB, free: 62.73 MB / 0.9948 GB Notification: Performance of sort global known variables: time 1.203e-06/17.78, allocations: 0 / 5.143 GB, free: 62.73 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.01147/17.79, allocations: 2.026 MB / 5.145 GB, free: 62.47 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.01772/17.81, allocations: 8.179 MB / 5.153 GB, free: 59.23 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.008855/17.82, allocations: 2.966 MB / 5.156 GB, free: 59.11 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.579e-05/17.82, allocations: 3.844 kB / 5.156 GB, free: 59.11 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.002421/17.82, allocations: 0.8132 MB / 5.157 GB, free: 59.11 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01338/17.83, allocations: 1.506 MB / 5.158 GB, free: 59.08 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02771/17.86, allocations: 6.111 MB / 5.164 GB, free: 57.37 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003601/17.87, allocations: 2.111 MB / 5.166 GB, free: 56.58 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.01122/17.88, allocations: 1.235 MB / 5.167 GB, free: 56.4 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003681/17.88, allocations: 1.409 MB / 5.169 GB, free: 55.84 MB / 0.9948 GB Notification: Performance of SimCode: time 1.593e-06/17.88, allocations: 0 / 5.169 GB, free: 55.84 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.147/19.03, allocations: 138 MB / 5.304 GB, free: 113.3 MB / 1.026 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003202/19.03, allocations: 226.8 kB / 5.304 GB, free: 113.1 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.54/29.57, allocations: 2.688 kB / 5.304 GB, free: 113.1 MB / 1.026 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)