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.707/1.707, allocations: 289.7 MB / 302.2 MB, free: 2.098 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.001341/0.001341, allocations: 179.3 kB / 371.6 MB, free: 3.379 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.897/1.897, allocations: 205.1 MB / 0.6309 GB, free: 11.79 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.001232/0.001232, allocations: 90.09 kB / 0.745 GB, free: 54.36 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 7.402e-05/7.416e-05, allocations: 7.984 kB / 0.8663 GB, free: 14.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3598/0.3599, allocations: 116.3 MB / 0.9799 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.67/8.03, allocations: 2.395 GB / 3.375 GB, free: 155.4 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004284/8.031, allocations: 108.1 kB / 3.375 GB, free: 155.3 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 8.03/16.06, allocations: 1.704 GB / 5.079 GB, free: 83.98 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.474e-06/16.06, allocations: 4.25 kB / 5.079 GB, free: 83.98 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.001119/16.06, allocations: 100 kB / 5.079 GB, free: 83.98 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.01977/16.08, allocations: 3.753 MB / 5.083 GB, free: 82.54 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 8.201e-05/16.08, allocations: 9.656 kB / 5.083 GB, free: 82.54 MB / 1.01 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002373/16.08, allocations: 314.6 kB / 5.083 GB, free: 82.49 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0111/16.1, allocations: 1.335 MB / 5.084 GB, free: 82.27 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0153/16.11, allocations: 4.141 MB / 5.088 GB, free: 81.7 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008019/16.11, allocations: 333.4 kB / 5.089 GB, free: 81.63 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001151/16.11, allocations: 244.4 kB / 5.089 GB, free: 81.63 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00609/16.12, allocations: 2.782 MB / 5.091 GB, free: 81.22 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.491e-05/16.12, allocations: 6.562 kB / 5.091 GB, free: 81.22 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003322/16.12, allocations: 94.67 kB / 5.092 GB, free: 81.22 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.317e-05/16.12, allocations: 84.98 kB / 5.092 GB, free: 81.21 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005116/16.13, allocations: 2.355 MB / 5.094 GB, free: 81.18 MB / 1.01 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.03068/16.16, allocations: 12.83 MB / 5.106 GB, free: 75.64 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003474/16.16, allocations: 2.2 MB / 5.109 GB, free: 75.1 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001597/16.16, allocations: 0.8515 MB / 5.109 GB, free: 75.07 MB / 1.01 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.0136/16.17, allocations: 5.553 MB / 5.115 GB, free: 72.63 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00218/16.18, allocations: 0.9575 MB / 5.116 GB, free: 72.55 MB / 1.01 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002469/16.18, allocations: 258.2 kB / 5.116 GB, free: 72.46 MB / 1.01 GB Notification: Performance of pre-optimization done (n=145): time 1.077e-05/16.18, allocations: 5.031 kB / 5.116 GB, free: 72.46 MB / 1.01 GB Notification: Performance of matching and sorting (n=145): time 0.004853/16.18, allocations: 1.693 MB / 5.118 GB, free: 72.22 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001346/16.18, allocations: 231.2 kB / 5.118 GB, free: 71.97 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00803/16.19, allocations: 2.842 MB / 5.121 GB, free: 71.71 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0007928/16.19, allocations: 65.42 kB / 5.121 GB, free: 71.68 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.002279/16.2, allocations: 1.616 MB / 5.122 GB, free: 71.23 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.001068/16.2, allocations: 0.4885 MB / 5.123 GB, free: 70.93 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001569/16.2, allocations: 33.88 kB / 5.123 GB, free: 70.93 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0002135/16.2, allocations: 380.2 kB / 5.123 GB, free: 70.62 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001832/16.2, allocations: 0.703 MB / 5.124 GB, free: 70.62 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002396/16.2, allocations: 1.369 MB / 5.125 GB, free: 69.88 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001927/16.2, allocations: 0.8382 MB / 5.126 GB, free: 69.86 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.64e-05/16.2, allocations: 4.094 kB / 5.126 GB, free: 69.86 MB / 1.01 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.007079/16.21, allocations: 2.295 MB / 5.128 GB, free: 69.62 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 0.002252/16.21, allocations: 5.833 MB / 5.134 GB, free: 63.55 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.321e-05/16.21, allocations: 14.92 kB / 5.134 GB, free: 63.55 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001151/16.21, allocations: 25 kB / 5.134 GB, free: 63.55 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003217/16.22, allocations: 0.5406 MB / 5.135 GB, free: 63.55 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.468e-05/16.22, allocations: 30.3 kB / 5.135 GB, free: 63.55 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005487/16.22, allocations: 366.1 kB / 5.135 GB, free: 63.53 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005077/16.22, allocations: 108.6 kB / 5.135 GB, free: 63.53 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.271e-05/16.22, allocations: 9.906 kB / 5.135 GB, free: 63.53 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00524/16.23, allocations: 1.937 MB / 5.137 GB, free: 63.5 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-05/16.23, allocations: 17.27 kB / 5.137 GB, free: 63.5 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.083e-05/16.23, allocations: 23.22 kB / 5.137 GB, free: 63.5 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002815/16.23, allocations: 0.5296 MB / 5.138 GB, free: 63.5 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.924e-05/16.23, allocations: 31.86 kB / 5.138 GB, free: 63.49 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004586/16.24, allocations: 322.9 kB / 5.138 GB, free: 63.48 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004485/16.24, allocations: 104.5 kB / 5.138 GB, free: 63.48 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 () * 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.0009572/16.24, allocations: 241.8 kB / 5.138 GB, free: 63.35 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001497/16.24, allocations: 343.9 kB / 5.139 GB, free: 63.17 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005378/16.24, allocations: 2.031 MB / 5.14 GB, free: 63.05 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.612e-05/16.24, allocations: 17.81 kB / 5.141 GB, free: 63.05 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.988e-06/16.24, allocations: 0 / 5.141 GB, free: 63.05 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002678/16.25, allocations: 1.767 MB / 5.142 GB, free: 62.59 MB / 1.01 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.01176/16.26, allocations: 5.192 MB / 5.147 GB, free: 61.88 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.063e-05/16.26, allocations: 3.688 kB / 5.147 GB, free: 61.88 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00211/16.26, allocations: 385.1 kB / 5.148 GB, free: 61.88 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.784e-05/16.26, allocations: 13.17 kB / 5.148 GB, free: 61.88 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001634/16.26, allocations: 48.98 kB / 5.148 GB, free: 61.88 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.736e-05/16.26, allocations: 16.67 kB / 5.148 GB, free: 61.88 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.733e-06/16.26, allocations: 2.562 kB / 5.148 GB, free: 61.88 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005646/16.27, allocations: 3.38 MB / 5.151 GB, free: 60.98 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002809/16.27, allocations: 0.6923 MB / 5.152 GB, free: 60.71 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000997/16.27, allocations: 29.78 kB / 5.152 GB, free: 60.71 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00305/16.27, allocations: 275.7 kB / 5.152 GB, free: 60.7 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002465/16.27, allocations: 106 kB / 5.152 GB, free: 60.7 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001903/16.27, allocations: 79.77 kB / 5.152 GB, free: 60.7 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.004244/16.28, allocations: 2.179 MB / 5.154 GB, free: 60.54 MB / 1.01 GB Notification: Performance of sort global known variables: time 4.61e-07/16.28, allocations: 5.375 kB / 5.154 GB, free: 60.54 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.008707/16.29, allocations: 2.03 MB / 5.156 GB, free: 60.27 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) * 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.01205/16.3, allocations: 8.178 MB / 5.164 GB, free: 56.97 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.006167/16.3, allocations: 2.977 MB / 5.167 GB, free: 56.85 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-05/16.3, allocations: 4.781 kB / 5.167 GB, free: 56.85 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.001356/16.31, allocations: 0.8152 MB / 5.168 GB, free: 56.84 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009333/16.32, allocations: 1.499 MB / 5.169 GB, free: 56.82 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01916/16.33, allocations: 6.096 MB / 5.175 GB, free: 55.38 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00177/16.34, allocations: 2.116 MB / 5.177 GB, free: 54.62 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.006422/16.34, allocations: 1.243 MB / 5.179 GB, free: 54.49 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002199/16.35, allocations: 1.405 MB / 5.18 GB, free: 54.48 MB / 1.01 GB Notification: Performance of SimCode: time 1.673e-06/16.35, allocations: 0 / 5.18 GB, free: 54.48 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2489/16.59, allocations: 138 MB / 5.315 GB, free: 34.5 MB / 1.01 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001836/16.59, allocations: 219.8 kB / 5.315 GB, free: 34.28 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.05/24.64, allocations: 0 / 5.315 GB, free: 34.28 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)