Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_ChillerSetPointControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.439/1.439, allocations: 249.5 MB / 257 MB, free: 6.961 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001151/0.001151, allocations: 176.8 kB / 316.3 MB, free: 3.309 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.558/1.558, allocations: 205.3 MB / 0.5671 GB, free: 15.84 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008602/0.0008597, allocations: 86.53 kB / 0.6714 GB, free: 4.957 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.683e-05/1.687e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1998/0.1998, allocations: 106.3 MB / 0.8853 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.027/6.226, allocations: 2.511 GB / 3.396 GB, free: 235.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002658/6.227, allocations: 101.2 kB / 3.396 GB, free: 235.8 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 6.032/12.26, allocations: 1.645 GB / 5.041 GB, free: 85.52 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.174e-06/12.26, allocations: 3.609 kB / 5.041 GB, free: 85.52 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0007019/12.26, allocations: 96.41 kB / 5.041 GB, free: 85.51 MB / 0.9323 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.01334/12.27, allocations: 3.749 MB / 5.045 GB, free: 84.04 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.08e-05/12.27, allocations: 12.12 kB / 5.045 GB, free: 84.04 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00991/12.28, allocations: 1.341 MB / 5.046 GB, free: 83.82 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0115/12.29, allocations: 4.122 MB / 5.05 GB, free: 83.18 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005763/12.29, allocations: 240 kB / 5.05 GB, free: 83.11 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007729/12.3, allocations: 148 kB / 5.05 GB, free: 83.11 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00448/12.3, allocations: 2.21 MB / 5.053 GB, free: 83.1 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004205/12.3, allocations: 2.351 MB / 5.055 GB, free: 82.7 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.579e-05/12.3, allocations: 5.375 kB / 5.055 GB, free: 82.7 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002344/12.3, allocations: 10.36 kB / 5.055 GB, free: 82.7 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.276e-05/12.3, allocations: 80.02 kB / 5.055 GB, free: 82.7 MB / 0.9323 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.02109/12.33, allocations: 12.42 MB / 5.067 GB, free: 77.12 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00276/12.33, allocations: 1.96 MB / 5.069 GB, free: 76.78 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001062/12.33, allocations: 0.8032 MB / 5.07 GB, free: 76.77 MB / 0.9323 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.009828/12.34, allocations: 5.295 MB / 5.075 GB, free: 74.44 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001264/12.34, allocations: 0.8963 MB / 5.076 GB, free: 74.36 MB / 0.9323 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001802/12.34, allocations: 195.3 kB / 5.076 GB, free: 74.3 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=145): time 4.248e-06/12.34, allocations: 0 / 5.076 GB, free: 74.3 MB / 0.9323 GB Notification: Performance of matching and sorting (n=145): time 0.004336/12.35, allocations: 1.737 MB / 5.078 GB, free: 74.07 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.805e-05/12.35, allocations: 224.2 kB / 5.078 GB, free: 73.82 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003948/12.35, allocations: 2.42 MB / 5.08 GB, free: 73.57 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0003048/12.35, allocations: 28.7 kB / 5.08 GB, free: 73.54 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.001359/12.35, allocations: 1.598 MB / 5.082 GB, free: 73.03 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.000501/12.35, allocations: 488.3 kB / 5.082 GB, free: 72.71 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001147/12.35, allocations: 0 / 5.082 GB, free: 72.71 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001142/12.35, allocations: 374.7 kB / 5.083 GB, free: 72.41 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00107/12.35, allocations: 0.6815 MB / 5.083 GB, free: 72.41 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001331/12.36, allocations: 1.344 MB / 5.085 GB, free: 71.66 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002366/12.36, allocations: 0.964 MB / 5.086 GB, free: 71.64 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.137e-05/12.36, allocations: 6.969 kB / 5.086 GB, free: 71.64 MB / 0.9323 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.004999/12.36, allocations: 2.29 MB / 5.088 GB, free: 71.41 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.001241/12.36, allocations: 5.928 MB / 5.094 GB, free: 65.14 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.591e-05/12.36, allocations: 17.03 kB / 5.094 GB, free: 65.14 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.323e-05/12.36, allocations: 22.38 kB / 5.094 GB, free: 65.14 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002457/12.37, allocations: 0.5481 MB / 5.094 GB, free: 65.14 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.02e-05/12.37, allocations: 26.66 kB / 5.094 GB, free: 65.14 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00385/12.37, allocations: 303.6 kB / 5.095 GB, free: 65.13 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002948/12.37, allocations: 109.7 kB / 5.095 GB, free: 65.13 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/12.37, allocations: 3.688 kB / 5.095 GB, free: 65.13 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004142/12.38, allocations: 1.898 MB / 5.097 GB, free: 65.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.041e-05/12.38, allocations: 19.55 kB / 5.097 GB, free: 65.1 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.741e-05/12.38, allocations: 29.48 kB / 5.097 GB, free: 65.09 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002208/12.38, allocations: 0.5258 MB / 5.097 GB, free: 65.09 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.941e-05/12.38, allocations: 35.81 kB / 5.097 GB, free: 65.09 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003739/12.38, allocations: 268.6 kB / 5.097 GB, free: 65.08 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003133/12.38, allocations: 103.7 kB / 5.098 GB, free: 65.08 MB / 0.9323 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.0007467/12.38, allocations: 173.1 kB / 5.098 GB, free: 64.96 MB / 0.9323 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0047/12.39, allocations: 1.666 MB / 5.099 GB, free: 64.74 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001062/12.39, allocations: 322.5 kB / 5.1 GB, free: 64.57 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004577/12.39, allocations: 1.962 MB / 5.102 GB, free: 64.46 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.146e-05/12.39, allocations: 19.78 kB / 5.102 GB, free: 64.46 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/12.39, allocations: 0 / 5.102 GB, free: 64.46 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002681/12.4, allocations: 1.746 MB / 5.103 GB, free: 63.99 MB / 0.9323 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.01039/12.41, allocations: 4.863 MB / 5.108 GB, free: 63.32 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.246e-05/12.41, allocations: 10.55 kB / 5.108 GB, free: 63.32 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002005/12.41, allocations: 384.1 kB / 5.108 GB, free: 63.32 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.413e-05/12.41, allocations: 10.19 kB / 5.108 GB, free: 63.32 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001504/12.41, allocations: 34.86 kB / 5.108 GB, free: 63.32 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.24e-05/12.41, allocations: 9.625 kB / 5.108 GB, free: 63.32 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.462e-06/12.41, allocations: 4.156 kB / 5.108 GB, free: 63.32 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006181/12.41, allocations: 3.257 MB / 5.112 GB, free: 62.48 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00216/12.42, allocations: 0.6538 MB / 5.112 GB, free: 62.22 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006372/12.42, allocations: 13.98 kB / 5.112 GB, free: 62.22 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002808/12.42, allocations: 241.5 kB / 5.112 GB, free: 62.21 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002159/12.42, allocations: 102 kB / 5.113 GB, free: 62.21 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001895/12.42, allocations: 83.86 kB / 5.113 GB, free: 62.21 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.003596/12.42, allocations: 1.794 MB / 5.114 GB, free: 62.07 MB / 0.9323 GB Notification: Performance of sort global known variables: time 2.61e-07/12.42, allocations: 2.438 kB / 5.114 GB, free: 62.07 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.009874/12.43, allocations: 1.928 MB / 5.116 GB, free: 61.77 MB / 0.9323 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.01186/12.45, allocations: 8.167 MB / 5.124 GB, free: 58.57 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.005239/12.45, allocations: 2.815 MB / 5.127 GB, free: 58.46 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.07e-05/12.45, allocations: 1.969 kB / 5.127 GB, free: 58.46 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.001188/12.45, allocations: 0.7809 MB / 5.128 GB, free: 58.45 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007158/12.46, allocations: 1.22 MB / 5.129 GB, free: 58.43 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01817/12.48, allocations: 5.887 MB / 5.135 GB, free: 56.98 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001769/12.48, allocations: 2.113 MB / 5.137 GB, free: 56.18 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.006377/12.49, allocations: 1.151 MB / 5.138 GB, free: 56.01 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002338/12.49, allocations: 1.407 MB / 5.139 GB, free: 56 MB / 0.9323 GB Notification: Performance of SimCode: time 1.773e-06/12.49, allocations: 0 / 5.139 GB, free: 56 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1782/12.67, allocations: 101.9 MB / 5.239 GB, free: 45.25 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001728/12.67, allocations: 221.3 kB / 5.239 GB, free: 44.96 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.095/18.76, allocations: 0 / 5.239 GB, free: 44.96 MB / 0.9323 GB (rm -f Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_ChillerSetPointControl_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_ChillerSetPointControl.fmu > Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.pipe 2>&1)