Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.771/1.771, allocations: 297.8 MB / 313.7 MB, free: 144 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001051/0.00105, allocations: 180.5 kB / 384.6 MB, free: 10.88 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.556/1.556, allocations: 223.2 MB / 0.6626 GB, free: 4.367 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008699/0.00087, allocations: 107.6 kB / 0.7808 GB, free: 43.56 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004916/0.0004919, allocations: 12 kB / 0.9088 GB, free: 0.7109 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7603/0.7608, allocations: 120.3 MB / 1.026 GB, free: 56.27 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.619/6.38, allocations: 2.214 GB / 3.24 GB, free: 305.4 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002992/6.381, allocations: 108.9 kB / 3.24 GB, free: 305.4 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 6.651/13.03, allocations: 1.705 GB / 4.945 GB, free: 88.79 MB / 1.026 GB Notification: Performance of FrontEnd: time 2.615e-06/13.03, allocations: 3.938 kB / 4.945 GB, free: 88.79 MB / 1.026 GB Notification: Performance of Transformations before backend: time 0.0009186/13.03, allocations: 95.2 kB / 4.945 GB, free: 88.77 MB / 1.026 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 569 * Number of variables: 569 Notification: Performance of Generate backend data structure: time 0.02016/13.05, allocations: 4.496 MB / 4.95 GB, free: 86.52 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 5.973e-05/13.05, allocations: 10.34 kB / 4.95 GB, free: 86.52 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01041/13.06, allocations: 1.331 MB / 4.951 GB, free: 86.28 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0154/13.08, allocations: 4.01 MB / 4.955 GB, free: 84.35 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009161/13.08, allocations: 331.4 kB / 4.955 GB, free: 84.2 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001512/13.08, allocations: 240 kB / 4.955 GB, free: 84.12 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01174/13.09, allocations: 3.061 MB / 4.958 GB, free: 82.82 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.148e-05/13.09, allocations: 5 kB / 4.958 GB, free: 82.82 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000389/13.09, allocations: 97.8 kB / 4.958 GB, free: 82.75 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001073/13.09, allocations: 88.25 kB / 4.958 GB, free: 82.74 MB / 1.026 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007936/13.1, allocations: 2.942 MB / 4.961 GB, free: 81.8 MB / 1.026 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.02527/13.13, allocations: 12.78 MB / 4.974 GB, free: 73.45 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005351/13.13, allocations: 2.657 MB / 4.976 GB, free: 72.25 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00242/13.13, allocations: 1.11 MB / 4.978 GB, free: 71.89 MB / 1.026 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.01315/13.15, allocations: 5.528 MB / 4.983 GB, free: 68.14 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002698/13.15, allocations: 1.175 MB / 4.984 GB, free: 67.76 MB / 1.026 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002881/13.15, allocations: 239.5 kB / 4.984 GB, free: 67.66 MB / 1.026 GB Notification: Performance of pre-optimization done (n=146): time 1.074e-05/13.15, allocations: 0 / 4.984 GB, free: 67.66 MB / 1.026 GB Notification: Performance of matching and sorting (n=146): time 0.008178/13.16, allocations: 2.911 MB / 4.987 GB, free: 66.73 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001164/13.16, allocations: 171.9 kB / 4.987 GB, free: 66.54 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005817/13.17, allocations: 3.208 MB / 4.99 GB, free: 65.41 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 0.0004791/13.17, allocations: 69.61 kB / 4.99 GB, free: 65.35 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.001437/13.17, allocations: 1.595 MB / 4.992 GB, free: 64.09 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005413/13.17, allocations: 0.491 MB / 4.993 GB, free: 63.71 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000115/13.17, allocations: 39.84 kB / 4.993 GB, free: 63.68 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 0.0001313/13.17, allocations: 374.4 kB / 4.993 GB, free: 63.35 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002287/13.17, allocations: 0.9591 MB / 4.994 GB, free: 63.08 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002677/13.18, allocations: 1.62 MB / 4.995 GB, free: 62.02 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004422/13.18, allocations: 2.295 MB / 4.998 GB, free: 60.82 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.066e-05/13.18, allocations: 3.125 kB / 4.998 GB, free: 60.82 MB / 1.026 GB Notification: Performance of matching and sorting (n=234) (initialization): time 0.006812/13.19, allocations: 2.8 MB / 5 GB, free: 59.82 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003133/13.19, allocations: 498.5 kB / 5.001 GB, free: 59.18 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.479e-05/13.19, allocations: 16.59 kB / 5.001 GB, free: 59.18 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.592e-05/13.19, allocations: 19.66 kB / 5.001 GB, free: 59.18 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002125/13.19, allocations: 0.5315 MB / 5.001 GB, free: 59.12 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.179e-05/13.19, allocations: 32.09 kB / 5.001 GB, free: 59.12 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004173/13.19, allocations: 367.3 kB / 5.002 GB, free: 59.04 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002678/13.19, allocations: 112.7 kB / 5.002 GB, free: 59.02 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/13.19, allocations: 3.531 kB / 5.002 GB, free: 59.02 MB / 1.026 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005717/13.2, allocations: 2.417 MB / 5.004 GB, free: 58.2 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.883e-05/13.2, allocations: 15.83 kB / 5.004 GB, free: 58.2 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.928e-05/13.2, allocations: 23.38 kB / 5.004 GB, free: 58.2 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002239/13.2, allocations: 0.5118 MB / 5.005 GB, free: 58.15 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.815e-05/13.2, allocations: 33.14 kB / 5.005 GB, free: 58.14 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004723/13.21, allocations: 323.4 kB / 5.005 GB, free: 58.07 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003866/13.21, allocations: 106.4 kB / 5.005 GB, free: 58.06 MB / 1.026 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 60 * 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 (233): * Single equations (assignments): 232 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * 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.003369/13.21, allocations: 0.7709 MB / 5.006 GB, free: 57.55 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001887/13.21, allocations: 345.9 kB / 5.006 GB, free: 57.37 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007769/13.22, allocations: 2.448 MB / 5.009 GB, free: 56.54 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.891e-05/13.22, allocations: 14.47 kB / 5.009 GB, free: 56.54 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.391e-05/13.22, allocations: 3.875 kB / 5.009 GB, free: 56.54 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004401/13.22, allocations: 2.184 MB / 5.011 GB, free: 55.34 MB / 1.026 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.01474/13.24, allocations: 5.6 MB / 5.016 GB, free: 51.77 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.101e-05/13.24, allocations: 2.875 kB / 5.016 GB, free: 51.77 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001834/13.24, allocations: 393.3 kB / 5.017 GB, free: 51.66 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.228e-05/13.24, allocations: 10.47 kB / 5.017 GB, free: 51.66 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000166/13.24, allocations: 50.91 kB / 5.017 GB, free: 51.63 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.57e-05/13.24, allocations: 11.86 kB / 5.017 GB, free: 51.62 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/13.24, allocations: 3.844 kB / 5.017 GB, free: 51.62 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008384/13.25, allocations: 3.69 MB / 5.02 GB, free: 49.64 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002814/13.25, allocations: 0.6765 MB / 5.021 GB, free: 49.11 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001451/13.25, allocations: 32 kB / 5.021 GB, free: 49.09 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003718/13.26, allocations: 279 kB / 5.021 GB, free: 48.97 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002722/13.26, allocations: 108.3 kB / 5.021 GB, free: 48.91 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002706/13.26, allocations: 83.67 kB / 5.022 GB, free: 48.88 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.006225/13.26, allocations: 2.186 MB / 5.024 GB, free: 47.75 MB / 1.026 GB Notification: Performance of sort global known variables: time 5.11e-07/13.26, allocations: 0 / 5.024 GB, free: 47.75 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.01022/13.27, allocations: 1.947 MB / 5.026 GB, free: 45.96 MB / 1.026 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.s[1],pum.filter.s[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 (159): * Single equations (assignments): 148 * 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.006918/13.28, allocations: 3.781 MB / 5.029 GB, free: 42.54 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.008606/13.29, allocations: 3.483 MB / 5.033 GB, free: 39.06 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 1.266e-05/13.29, allocations: 3.938 kB / 5.033 GB, free: 39.06 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.002327/13.29, allocations: 1.027 MB / 5.034 GB, free: 38.04 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009764/13.3, allocations: 1.506 MB / 5.035 GB, free: 36.59 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01629/13.32, allocations: 7.738 MB / 5.043 GB, free: 28.84 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001546/13.32, allocations: 2.021 MB / 5.045 GB, free: 26.79 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.005289/13.33, allocations: 0.8519 MB / 5.046 GB, free: 26 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001025/13.33, allocations: 271.3 kB / 5.046 GB, free: 25.73 MB / 1.026 GB Notification: Performance of SimCode: time 1.192e-06/13.33, allocations: 0 / 5.046 GB, free: 25.73 MB / 1.026 GB Notification: Performance of Templates: time 1.054/14.38, allocations: 88.01 MB / 5.132 GB, free: 120.2 MB / 1.057 GB make -j1 -f Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.makefile (rm -f Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.pipe ; mkfifo Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.pipe >> ../files/Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.sim & ./Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.pipe 2>&1)