Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 3.628/3.628, allocations: 251.1 MB / 266.7 MB, free: 11.67 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00235/0.00235, allocations: 166.2 kB / 326.2 MB, free: 2.91 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.994/3.994, allocations: 205.4 MB / 0.5772 GB, free: 20.77 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.001574/0.001573, allocations: 96.53 kB / 0.6817 GB, free: 13.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0009957/0.0009972, allocations: 11.59 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3721/0.3731, allocations: 106.3 MB / 0.8995 GB, free: 65.61 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 11.91/12.29, allocations: 2.51 GB / 3.41 GB, free: 7.57 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005377/12.29, allocations: 115 kB / 3.41 GB, free: 7.508 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 13.78/26.07, allocations: 1.649 GB / 5.059 GB, free: 75.79 MB / 0.9323 GB Notification: Performance of FrontEnd: time 3.907e-06/26.07, allocations: 0 / 5.059 GB, free: 75.79 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.001124/26.07, allocations: 102.8 kB / 5.059 GB, free: 75.77 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.02689/26.09, allocations: 4.586 MB / 5.064 GB, free: 72.65 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.974e-05/26.09, allocations: 7.875 kB / 5.064 GB, free: 72.65 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02289/26.12, allocations: 1.337 MB / 5.065 GB, free: 72.13 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02384/26.14, allocations: 3.919 MB / 5.069 GB, free: 69.5 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001563/26.14, allocations: 330.8 kB / 5.069 GB, free: 69.32 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001687/26.14, allocations: 248.1 kB / 5.069 GB, free: 69.25 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01887/26.16, allocations: 3.076 MB / 5.072 GB, free: 67.31 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001548/26.16, allocations: 5.719 kB / 5.072 GB, free: 67.31 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001022/26.16, allocations: 95.42 kB / 5.072 GB, free: 67.24 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001644/26.16, allocations: 88.62 kB / 5.073 GB, free: 67.23 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02052/26.18, allocations: 2.933 MB / 5.075 GB, free: 65.83 MB / 0.9323 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.04867/26.23, allocations: 12.76 MB / 5.088 GB, free: 54.85 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01461/26.25, allocations: 2.75 MB / 5.091 GB, free: 52.02 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006837/26.26, allocations: 1.098 MB / 5.092 GB, free: 50.92 MB / 0.9323 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.03074/26.29, allocations: 5.536 MB / 5.097 GB, free: 45.03 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007681/26.29, allocations: 1.19 MB / 5.098 GB, free: 43.83 MB / 0.9323 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003903/26.3, allocations: 250.3 kB / 5.098 GB, free: 43.58 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=151): time 1.888e-05/26.3, allocations: 0 / 5.098 GB, free: 43.58 MB / 0.9323 GB Notification: Performance of matching and sorting (n=151): time 0.02384/26.32, allocations: 2.969 MB / 5.101 GB, free: 40.61 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001965/26.32, allocations: 226.9 kB / 5.102 GB, free: 40.33 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01444/26.34, allocations: 3.191 MB / 5.105 GB, free: 37.16 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0009046/26.34, allocations: 61.7 kB / 5.105 GB, free: 37.09 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.003882/26.34, allocations: 1.596 MB / 5.106 GB, free: 35.48 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.00145/26.34, allocations: 0.5089 MB / 5.107 GB, free: 34.98 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004523/26.34, allocations: 36 kB / 5.107 GB, free: 34.95 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0002751/26.34, allocations: 373.9 kB / 5.107 GB, free: 34.57 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007574/26.35, allocations: 0.9681 MB / 5.108 GB, free: 33.61 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008918/26.36, allocations: 1.631 MB / 5.11 GB, free: 31.7 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008328/26.37, allocations: 1.098 MB / 5.111 GB, free: 30.6 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-05/26.37, allocations: 4 kB / 5.111 GB, free: 30.59 MB / 0.9323 GB Notification: Performance of matching and sorting (n=235) (initialization): time 0.021/26.39, allocations: 2.818 MB / 5.114 GB, free: 27.77 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004765/26.39, allocations: 0.4885 MB / 5.114 GB, free: 27.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.345e-05/26.39, allocations: 16 kB / 5.114 GB, free: 27.08 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.538e-05/26.39, allocations: 20 kB / 5.114 GB, free: 27.06 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01157/26.4, allocations: 0.5378 MB / 5.115 GB, free: 26.53 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.668e-05/26.4, allocations: 27.92 kB / 5.115 GB, free: 26.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01135/26.41, allocations: 363 kB / 5.115 GB, free: 26.15 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001053/26.42, allocations: 104 kB / 5.115 GB, free: 26.05 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/26.42, allocations: 4 kB / 5.115 GB, free: 26.04 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02394/26.44, allocations: 2.433 MB / 5.117 GB, free: 23.61 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001057/26.44, allocations: 16 kB / 5.117 GB, free: 23.6 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.122e-05/26.44, allocations: 27.88 kB / 5.118 GB, free: 23.57 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006597/26.45, allocations: 0.5073 MB / 5.118 GB, free: 23.06 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001353/26.45, allocations: 35.86 kB / 5.118 GB, free: 23.03 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01303/26.46, allocations: 327.3 kB / 5.118 GB, free: 22.71 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001028/26.46, allocations: 108 kB / 5.118 GB, free: 22.6 MB / 0.9323 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.004826/26.47, allocations: 0.7794 MB / 5.119 GB, free: 21.81 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002058/26.47, allocations: 335.8 kB / 5.12 GB, free: 21.48 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0187/26.49, allocations: 2.6 MB / 5.122 GB, free: 18.88 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.507e-05/26.49, allocations: 20 kB / 5.122 GB, free: 18.86 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.04e-05/26.49, allocations: 4 kB / 5.122 GB, free: 18.85 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01455/26.5, allocations: 2.205 MB / 5.124 GB, free: 16.56 MB / 0.9323 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.03374/26.54, allocations: 5.694 MB / 5.13 GB, free: 10.79 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.296e-05/26.54, allocations: 0 / 5.13 GB, free: 10.79 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005922/26.54, allocations: 403.9 kB / 5.13 GB, free: 10.39 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.508e-05/26.54, allocations: 8 kB / 5.13 GB, free: 10.38 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006554/26.55, allocations: 59.91 kB / 5.13 GB, free: 10.32 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.211e-05/26.55, allocations: 15.92 kB / 5.13 GB, free: 10.31 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.056e-05/26.55, allocations: 4 kB / 5.13 GB, free: 10.3 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02377/26.57, allocations: 3.795 MB / 5.134 GB, free: 6.445 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004456/26.57, allocations: 0.6644 MB / 5.135 GB, free: 5.758 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002318/26.58, allocations: 38.94 kB / 5.135 GB, free: 5.723 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008502/26.58, allocations: 283.5 kB / 5.135 GB, free: 5.445 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006787/26.59, allocations: 117 kB / 5.135 GB, free: 5.332 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005744/26.59, allocations: 79.12 kB / 5.135 GB, free: 5.258 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.01063/26.6, allocations: 2.175 MB / 5.137 GB, free: 3.102 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.282e-06/26.6, allocations: 4 kB / 5.137 GB, free: 3.098 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.01688/26.61, allocations: 1.981 MB / 5.139 GB, free: 1.113 MB / 0.9323 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.01488/26.63, allocations: 3.814 MB / 5.143 GB, free: 13.61 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.02575/26.65, allocations: 3.578 MB / 5.146 GB, free: 10.04 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.627e-05/26.65, allocations: 4 kB / 5.146 GB, free: 10.03 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.007539/26.66, allocations: 1.045 MB / 5.147 GB, free: 8.992 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02296/26.69, allocations: 1.531 MB / 5.149 GB, free: 7.512 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.247/27.93, allocations: 7.81 MB / 5.157 GB, free: 98.75 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005435/27.94, allocations: 2.035 MB / 5.159 GB, free: 98.01 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.01218/27.95, allocations: 0.8369 MB / 5.159 GB, free: 97.98 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00285/27.95, allocations: 268.1 kB / 5.16 GB, free: 97.98 MB / 0.948 GB Notification: Performance of SimCode: time 1.934e-06/27.95, allocations: 0 / 5.16 GB, free: 97.98 MB / 0.948 GB Notification: Performance of Templates: time 0.3252/28.28, allocations: 87.48 MB / 5.245 GB, free: 94.11 MB / 0.948 GB make -j1 -f Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.makefile (rm -f Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.pipe ; mkfifo Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.pipe >> ../files/Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.sim & ./Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.pipe 2>&1)