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: translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl") translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.52/2.52, allocations: 287.5 MB / 303.2 MB, free: 8.16 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.001328/0.001328, allocations: 192.4 kB / 371.8 MB, free: 10.76 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.08/2.08, allocations: 205.4 MB / 0.6305 GB, free: 10.58 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009268/0.0009266, allocations: 107.2 kB / 0.7438 GB, free: 6.566 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004826/0.0004827, allocations: 10.97 kB / 0.8667 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2151/0.2156, allocations: 115.3 MB / 0.9793 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.391/7.607, allocations: 2.394 GB / 3.373 GB, free: 300.4 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003678/7.607, allocations: 113.8 kB / 3.373 GB, free: 300.3 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 8.227/15.83, allocations: 1.696 GB / 5.07 GB, free: 30.91 MB / 0.9792 GB Notification: Performance of FrontEnd: time 2.886e-06/15.83, allocations: 0 / 5.07 GB, free: 30.91 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0006806/15.83, allocations: 110.2 kB / 5.07 GB, free: 30.81 MB / 0.9792 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.01762/15.85, allocations: 4.543 MB / 5.074 GB, free: 26.23 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/15.85, allocations: 12.03 kB / 5.074 GB, free: 26.21 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01583/15.87, allocations: 1.332 MB / 5.075 GB, free: 24.93 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01564/15.88, allocations: 4.057 MB / 5.079 GB, free: 20.82 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009892/15.89, allocations: 332.3 kB / 5.08 GB, free: 20.47 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001059/15.89, allocations: 244 kB / 5.08 GB, free: 20.23 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01157/15.9, allocations: 3.078 MB / 5.083 GB, free: 17 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.923e-05/15.9, allocations: 7.844 kB / 5.083 GB, free: 16.99 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004586/15.9, allocations: 104 kB / 5.083 GB, free: 16.89 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001208/15.9, allocations: 80.27 kB / 5.083 GB, free: 16.8 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0138/15.91, allocations: 2.94 MB / 5.086 GB, free: 13.85 MB / 0.9792 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.03185/15.94, allocations: 12.77 MB / 5.099 GB, free: 360 kB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01087/15.96, allocations: 2.758 MB / 5.101 GB, free: 13.48 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005044/15.96, allocations: 1.082 MB / 5.102 GB, free: 12.39 MB / 0.9948 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.01839/15.98, allocations: 5.553 MB / 5.108 GB, free: 6.426 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005356/15.98, allocations: 1.201 MB / 5.109 GB, free: 5.207 MB / 0.9948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002472/15.99, allocations: 250.3 kB / 5.109 GB, free: 4.961 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=151): time 8.837e-06/15.99, allocations: 0 / 5.109 GB, free: 4.961 MB / 0.9948 GB Notification: Performance of matching and sorting (n=151): time 0.01601/16, allocations: 2.961 MB / 5.112 GB, free: 1.988 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001771/16, allocations: 222.9 kB / 5.112 GB, free: 1.723 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009649/16.01, allocations: 3.195 MB / 5.115 GB, free: 14.54 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0006782/16.01, allocations: 65.7 kB / 5.115 GB, free: 14.47 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.002922/16.02, allocations: 1.593 MB / 5.117 GB, free: 12.86 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.001069/16.02, allocations: 0.5005 MB / 5.117 GB, free: 12.36 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000258/16.02, allocations: 40 kB / 5.117 GB, free: 12.32 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0002483/16.02, allocations: 373.9 kB / 5.118 GB, free: 11.95 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005099/16.02, allocations: 0.972 MB / 5.119 GB, free: 10.97 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0061/16.03, allocations: 1.647 MB / 5.12 GB, free: 9.047 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01011/16.04, allocations: 2.308 MB / 5.123 GB, free: 6.559 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.922e-05/16.04, allocations: 4 kB / 5.123 GB, free: 6.555 MB / 1.01 GB Notification: Performance of matching and sorting (n=235) (initialization): time 0.01355/16.05, allocations: 2.816 MB / 5.125 GB, free: 3.727 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 0.000444/16.05, allocations: 495.2 kB / 5.126 GB, free: 3.062 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.852e-05/16.05, allocations: 16 kB / 5.126 GB, free: 3.047 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.761e-05/16.05, allocations: 24 kB / 5.126 GB, free: 3.023 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004963/16.06, allocations: 0.5266 MB / 5.126 GB, free: 2.496 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-05/16.06, allocations: 31.86 kB / 5.126 GB, free: 2.465 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006408/16.07, allocations: 365.7 kB / 5.127 GB, free: 2.109 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007296/16.07, allocations: 112 kB / 5.127 GB, free: 2 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/16.07, allocations: 4 kB / 5.127 GB, free: 1.996 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.814/16.88, allocations: 2.426 MB / 5.129 GB, free: 100.6 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.055e-05/16.88, allocations: 15.64 kB / 5.129 GB, free: 100.6 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.601e-05/16.88, allocations: 22 kB / 5.129 GB, free: 100.6 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004725/16.88, allocations: 0.5148 MB / 5.13 GB, free: 100.6 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.635e-05/16.88, allocations: 30.72 kB / 5.13 GB, free: 100.6 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00564/16.89, allocations: 316.7 kB / 5.13 GB, free: 100.6 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004709/16.89, allocations: 105.3 kB / 5.13 GB, free: 100.6 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 (232): * Single equations (assignments): 229 * 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.002614/16.89, allocations: 0.781 MB / 5.131 GB, free: 100.5 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00117/16.89, allocations: 347.2 kB / 5.131 GB, free: 100.5 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01113/16.91, allocations: 2.593 MB / 5.134 GB, free: 100.4 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.527e-05/16.91, allocations: 20.8 kB / 5.134 GB, free: 100.4 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.218e-05/16.91, allocations: 0.5625 kB / 5.134 GB, free: 100.4 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008797/16.91, allocations: 2.209 MB / 5.136 GB, free: 99.89 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.02179/16.94, allocations: 5.697 MB / 5.142 GB, free: 99.2 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.709e-05/16.94, allocations: 3.156 kB / 5.142 GB, free: 99.2 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004061/16.94, allocations: 400.7 kB / 5.142 GB, free: 99.2 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.488e-05/16.94, allocations: 9.844 kB / 5.142 GB, free: 99.2 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000353/16.94, allocations: 54.81 kB / 5.142 GB, free: 99.2 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.223e-05/16.94, allocations: 10.44 kB / 5.142 GB, free: 99.2 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-05/16.94, allocations: 11.34 kB / 5.142 GB, free: 99.19 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01558/16.96, allocations: 3.785 MB / 5.146 GB, free: 98.79 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002826/16.96, allocations: 0.6736 MB / 5.146 GB, free: 98.64 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001055/16.96, allocations: 42.12 kB / 5.146 GB, free: 98.64 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005078/16.97, allocations: 281.4 kB / 5.147 GB, free: 98.63 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004384/16.97, allocations: 111.2 kB / 5.147 GB, free: 98.62 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003623/16.97, allocations: 86.25 kB / 5.147 GB, free: 98.62 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.006203/16.97, allocations: 2.177 MB / 5.149 GB, free: 98.48 MB / 1.01 GB Notification: Performance of sort global known variables: time 6.92e-07/16.97, allocations: 5.312 kB / 5.149 GB, free: 98.48 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.009504/16.98, allocations: 1.988 MB / 5.151 GB, free: 98.4 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (162): * Single equations (assignments): 151 * 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.008343/16.99, allocations: 3.815 MB / 5.155 GB, free: 97.18 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.01544/17.01, allocations: 3.577 MB / 5.158 GB, free: 97.08 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.281e-05/17.01, allocations: 3.688 kB / 5.158 GB, free: 97.08 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.004525/17.01, allocations: 1.041 MB / 5.159 GB, free: 97.07 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0171/17.03, allocations: 1.538 MB / 5.161 GB, free: 97.05 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02683/17.06, allocations: 7.821 MB / 5.168 GB, free: 94.01 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003984/17.06, allocations: 2.034 MB / 5.17 GB, free: 93.27 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.008139/17.07, allocations: 0.8479 MB / 5.171 GB, free: 93.23 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00203/17.07, allocations: 277.8 kB / 5.171 GB, free: 93.23 MB / 1.01 GB Notification: Performance of SimCode: time 1.363e-06/17.07, allocations: 0 / 5.171 GB, free: 93.23 MB / 1.01 GB Notification: Performance of Templates: time 0.2127/17.28, allocations: 88.57 MB / 5.258 GB, free: 88.23 MB / 1.01 GB make -j1 -f Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.makefile (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 & ./Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.pipe 2>&1)