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.723/1.723, allocations: 289.9 MB / 297.4 MB, free: 6.355 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.001106/0.001106, allocations: 180.8 kB / 366.7 MB, free: 1.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 1.944/1.944, allocations: 205.2 MB / 0.626 GB, free: 7.152 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.0009744/0.0009742, allocations: 93.59 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.427e-05/2.43e-05, allocations: 4 kB / 0.8598 GB, free: 12.94 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7854/0.7854, allocations: 116.3 MB / 0.9733 GB, free: 76.15 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.154/6.939, allocations: 2.394 GB / 3.367 GB, free: 92.38 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003363/6.939, allocations: 104.6 kB / 3.368 GB, free: 92.28 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 7.446/14.39, allocations: 1.692 GB / 5.059 GB, free: 86.3 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.725e-06/14.39, allocations: 0 / 5.059 GB, free: 86.3 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0005843/14.39, allocations: 102.4 kB / 5.059 GB, free: 86.28 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.01522/14.4, allocations: 3.757 MB / 5.063 GB, free: 84.8 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 6.387e-05/14.4, allocations: 12.38 kB / 5.063 GB, free: 84.8 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01103/14.41, allocations: 1.33 MB / 5.064 GB, free: 84.58 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01364/14.43, allocations: 4.136 MB / 5.068 GB, free: 83.91 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005996/14.43, allocations: 238.8 kB / 5.069 GB, free: 83.84 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007955/14.43, allocations: 143 kB / 5.069 GB, free: 83.84 MB / 0.9948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004654/14.43, allocations: 2.212 MB / 5.071 GB, free: 83.82 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004264/14.44, allocations: 2.355 MB / 5.073 GB, free: 83.43 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.178e-05/14.44, allocations: 8.281 kB / 5.073 GB, free: 83.43 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002355/14.44, allocations: 6.75 kB / 5.073 GB, free: 83.43 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001076/14.44, allocations: 90.5 kB / 5.073 GB, free: 83.42 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.02263/14.46, allocations: 12.43 MB / 5.086 GB, free: 77.85 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003029/14.46, allocations: 1.963 MB / 5.087 GB, free: 77.5 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001184/14.46, allocations: 0.8031 MB / 5.088 GB, free: 77.48 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.0104/14.47, allocations: 5.304 MB / 5.093 GB, free: 75.15 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001393/14.48, allocations: 0.9055 MB / 5.094 GB, free: 75.07 MB / 0.9948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001838/14.48, allocations: 202.8 kB / 5.094 GB, free: 75.01 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=145): time 4.949e-06/14.48, allocations: 1.062 kB / 5.094 GB, free: 75.01 MB / 0.9948 GB Notification: Performance of matching and sorting (n=145): time 0.004318/14.48, allocations: 1.732 MB / 5.096 GB, free: 74.78 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.995e-05/14.48, allocations: 225.6 kB / 5.096 GB, free: 74.53 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004113/14.49, allocations: 2.412 MB / 5.099 GB, free: 74.28 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002252/14.49, allocations: 29.33 kB / 5.099 GB, free: 74.25 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001627/14.49, allocations: 1.605 MB / 5.1 GB, free: 73.74 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005738/14.49, allocations: 477.3 kB / 5.101 GB, free: 73.43 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001115/14.49, allocations: 0 / 5.101 GB, free: 73.43 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001534/14.49, allocations: 382.9 kB / 5.101 GB, free: 73.12 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001127/14.49, allocations: 0.6827 MB / 5.102 GB, free: 73.12 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00156/14.49, allocations: 1.341 MB / 5.103 GB, free: 72.37 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002633/14.49, allocations: 0.9719 MB / 5.104 GB, free: 72.35 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-05/14.49, allocations: 7.25 kB / 5.104 GB, free: 72.35 MB / 0.9948 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.005727/14.5, allocations: 2.286 MB / 5.106 GB, free: 72.13 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.002006/14.5, allocations: 5.929 MB / 5.112 GB, free: 65.86 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.359e-05/14.5, allocations: 18.16 kB / 5.112 GB, free: 65.86 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.531e-05/14.5, allocations: 24.28 kB / 5.112 GB, free: 65.86 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002608/14.5, allocations: 0.5409 MB / 5.113 GB, free: 65.86 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.91e-05/14.5, allocations: 34.03 kB / 5.113 GB, free: 65.86 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004629/14.51, allocations: 310.2 kB / 5.113 GB, free: 65.84 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003345/14.51, allocations: 111.2 kB / 5.113 GB, free: 65.84 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/14.51, allocations: 3.594 kB / 5.113 GB, free: 65.84 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004763/14.51, allocations: 1.895 MB / 5.115 GB, free: 65.8 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.426e-05/14.51, allocations: 15.34 kB / 5.115 GB, free: 65.8 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.341e-05/14.51, allocations: 27.53 kB / 5.115 GB, free: 65.8 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002295/14.52, allocations: 0.5252 MB / 5.116 GB, free: 65.8 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.66e-05/14.52, allocations: 33.45 kB / 5.116 GB, free: 65.8 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004016/14.52, allocations: 262.6 kB / 5.116 GB, free: 65.79 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002973/14.52, allocations: 108.3 kB / 5.116 GB, free: 65.79 MB / 0.9948 GB 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 (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.0006916/14.52, allocations: 179.5 kB / 5.116 GB, free: 65.67 MB / 0.9948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004579/14.53, allocations: 1.67 MB / 5.118 GB, free: 65.45 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005141/14.53, allocations: 317 kB / 5.118 GB, free: 65.29 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00461/14.53, allocations: 1.963 MB / 5.12 GB, free: 65.16 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.522e-05/14.53, allocations: 20.98 kB / 5.12 GB, free: 65.16 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.017e-05/14.53, allocations: 3.688 kB / 5.12 GB, free: 65.16 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002862/14.53, allocations: 1.745 MB / 5.122 GB, free: 64.69 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.01256/14.55, allocations: 4.861 MB / 5.126 GB, free: 64.04 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.357e-05/14.55, allocations: 7.609 kB / 5.126 GB, free: 64.04 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002087/14.55, allocations: 387.9 kB / 5.127 GB, free: 64.04 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.763e-05/14.55, allocations: 14.48 kB / 5.127 GB, free: 64.04 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001332/14.55, allocations: 33.62 kB / 5.127 GB, free: 64.04 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-05/14.55, allocations: 10.69 kB / 5.127 GB, free: 64.04 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.225e-05/14.55, allocations: 6.375 kB / 5.127 GB, free: 64.04 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006623/14.56, allocations: 3.252 MB / 5.13 GB, free: 63.2 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002844/14.56, allocations: 0.6612 MB / 5.131 GB, free: 62.94 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005848/14.56, allocations: 14.2 kB / 5.131 GB, free: 62.93 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002582/14.56, allocations: 237.2 kB / 5.131 GB, free: 62.93 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002058/14.56, allocations: 101.9 kB / 5.131 GB, free: 62.93 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001855/14.56, allocations: 83.59 kB / 5.131 GB, free: 62.93 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.003411/14.57, allocations: 1.794 MB / 5.133 GB, free: 62.78 MB / 0.9948 GB Notification: Performance of sort global known variables: time 1.9e-07/14.57, allocations: 3.062 kB / 5.133 GB, free: 62.78 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.00887/14.57, allocations: 1.929 MB / 5.135 GB, free: 62.48 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.01311/14.59, allocations: 8.159 MB / 5.143 GB, free: 59.28 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.005191/14.59, allocations: 2.821 MB / 5.145 GB, free: 59.17 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.222e-05/14.59, allocations: 6 kB / 5.145 GB, free: 59.17 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.001141/14.59, allocations: 0.779 MB / 5.146 GB, free: 59.16 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007398/14.6, allocations: 1.232 MB / 5.147 GB, free: 59.14 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01866/14.62, allocations: 5.905 MB / 5.153 GB, free: 57.54 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001713/14.62, allocations: 2.113 MB / 5.155 GB, free: 56.75 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.006096/14.63, allocations: 1.156 MB / 5.156 GB, free: 56.57 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002041/14.63, allocations: 1.405 MB / 5.158 GB, free: 56.56 MB / 0.9948 GB Notification: Performance of SimCode: time 1.182e-06/14.63, allocations: 0 / 5.158 GB, free: 56.56 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1947/14.83, allocations: 102.1 MB / 5.257 GB, free: 27.21 MB / 0.9948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00021/14.83, allocations: 206.4 kB / 5.258 GB, free: 26.92 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.451/21.28, allocations: 4 kB / 5.258 GB, free: 26.92 MB / 0.9948 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)