Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.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_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.9225/0.9225, allocations: 133.7 MB / 148.6 MB, free: 13.67 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001997/0.001997, allocations: 176 kB / 180.9 MB, free: 15.09 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 2.122/2.122, allocations: 170.7 MB / 383.7 MB, free: 16.27 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001821/0.001821, allocations: 115.8 kB / 454.6 MB, free: 9.871 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.2032/0.2037, allocations: 73.41 MB / 0.6812 GB, free: 5.562 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.241/7.445, allocations: 2.445 GB / 3.127 GB, free: 182.1 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003138/7.445, allocations: 105.9 kB / 3.127 GB, free: 182.1 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.713/14.16, allocations: 1.574 GB / 4.701 GB, free: 36.62 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.928e-06/14.16, allocations: 0 / 4.701 GB, free: 36.62 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.001052/14.16, allocations: 90.56 kB / 4.701 GB, free: 36.61 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 606 * Number of variables: 606 Notification: Performance of Generate backend data structure: time 0.02319/14.18, allocations: 4.826 MB / 4.705 GB, free: 34.43 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 7.681e-05/14.18, allocations: 10.53 kB / 4.705 GB, free: 34.43 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01258/14.2, allocations: 1.374 MB / 4.707 GB, free: 34.21 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01651/14.21, allocations: 4.295 MB / 4.711 GB, free: 33.54 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008413/14.21, allocations: 338.7 kB / 4.711 GB, free: 33.47 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001547/14.21, allocations: 258.4 kB / 4.711 GB, free: 33.47 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01397/14.23, allocations: 3.375 MB / 4.715 GB, free: 32.98 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002503/14.23, allocations: 4.688 kB / 4.715 GB, free: 32.98 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001269/14.23, allocations: 108.3 kB / 4.715 GB, free: 32.98 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002176/14.23, allocations: 95.78 kB / 4.715 GB, free: 32.97 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01252/14.24, allocations: 3.192 MB / 4.718 GB, free: 32.94 MB / 0.6823 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.03512/14.28, allocations: 14.12 MB / 4.732 GB, free: 26.41 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01053/14.29, allocations: 2.231 MB / 4.734 GB, free: 26.33 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01794/14.31, allocations: 4.165 MB / 4.738 GB, free: 24.69 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005438/14.31, allocations: 1.293 MB / 4.739 GB, free: 24.54 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004461/14.32, allocations: 221.9 kB / 4.74 GB, free: 24.45 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=148): time 2.433e-05/14.32, allocations: 0 / 4.74 GB, free: 24.45 MB / 0.6823 GB Notification: Performance of matching and sorting (n=150): time 0.03381/14.35, allocations: 6.293 MB / 4.746 GB, free: 23.06 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00033/14.35, allocations: 0.5305 MB / 4.746 GB, free: 22.43 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01334/14.36, allocations: 3.085 MB / 4.749 GB, free: 22.18 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.001328/14.37, allocations: 65.55 kB / 4.749 GB, free: 22.15 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.003977/14.37, allocations: 1.661 MB / 4.751 GB, free: 21.64 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.001666/14.37, allocations: 0.5134 MB / 4.751 GB, free: 21.32 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000908/14.37, allocations: 42.38 kB / 4.752 GB, free: 21.32 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0004305/14.37, allocations: 389.8 kB / 4.752 GB, free: 21.01 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005966/14.38, allocations: 1.172 MB / 4.753 GB, free: 21 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005071/14.38, allocations: 1.899 MB / 4.755 GB, free: 20.22 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004397/14.39, allocations: 1.413 MB / 4.756 GB, free: 20.05 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.851e-05/14.39, allocations: 3.531 kB / 4.756 GB, free: 20.05 MB / 0.6823 GB Notification: Performance of matching and sorting (n=274) (initialization): time 0.01183/14.4, allocations: 3.468 MB / 4.76 GB, free: 19.64 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.001939/14.4, allocations: 5.626 MB / 4.765 GB, free: 13.73 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.124e-05/14.4, allocations: 15.69 kB / 4.765 GB, free: 13.73 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000388/14.4, allocations: 78.78 kB / 4.765 GB, free: 13.72 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005023/14.41, allocations: 0.7464 MB / 4.766 GB, free: 13.71 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004303/14.41, allocations: 3.957 MB / 4.77 GB, free: 26.09 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007107/14.42, allocations: 451.6 kB / 4.77 GB, free: 26.04 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001232/14.42, allocations: 129.1 kB / 4.77 GB, free: 26.04 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.765e-05/14.42, allocations: 9.719 kB / 4.77 GB, free: 26.04 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01184/14.43, allocations: 3.184 MB / 4.774 GB, free: 25.84 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.391e-05/14.43, allocations: 15.16 kB / 4.774 GB, free: 25.84 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003178/14.43, allocations: 83.59 kB / 4.774 GB, free: 25.83 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003507/14.44, allocations: 0.6014 MB / 4.774 GB, free: 25.82 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002766/14.44, allocations: 2.711 MB / 4.777 GB, free: 23.38 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005866/14.45, allocations: 387.3 kB / 4.777 GB, free: 23.34 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008277/14.45, allocations: 123.5 kB / 4.777 GB, free: 23.34 MB / 0.698 GB Warning: Assuming fixed start value for the following 2 variables: pum.vol.dynBal.m:VARIABLE(min = max(0.0, 0.0) start = 0.0183208683127324 * pum.vol.rho_start unit = "kg" fixed = true protected = true ) "Mass of fluid" type: Real chi.vol2.dynBal.m:VARIABLE(min = max(0.0, 0.0) start = 0.45802170781831 * chi.vol2.rho_start unit = "kg" fixed = true protected = true final = true ) "Mass of fluid" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 56 * Number of states: 0 () * Number of discrete variables: 16 ($PRE.triAndRes.firstTrigger,triAndRes.firstTrigger,$whenCondition3,triAndRes.sampleTrigger,$PRE.triAndRes.uniDel1.firstTrigger,triAndRes.uniDel1.firstTrigger,$PRE.triAndRes.sam.firstTrigger,triAndRes.sam.firstTrigger,$whenCondition1,triAndRes.sam.sampleTrigger,$whenCondition2,triAndRes.uniDel1.sampleTrigger,triAndRes.incY.y,triAndRes.sam.y,$PRE.triAndRes.uniDel1.y,triAndRes.uniDel1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (257): * Single equations (assignments): 247 * Array equations: 1 * Algorithm blocks: 3 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.003899/14.45, allocations: 0.8255 MB / 4.778 GB, free: 23.13 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00178/14.45, allocations: 348.5 kB / 4.778 GB, free: 22.95 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01006/14.46, allocations: 2.708 MB / 4.781 GB, free: 22.75 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.666e-05/14.46, allocations: 19.38 kB / 4.781 GB, free: 22.75 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.784e-05/14.46, allocations: 9.172 kB / 4.781 GB, free: 22.74 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006199/14.47, allocations: 2.357 MB / 4.783 GB, free: 22.21 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01905/14.49, allocations: 5.705 MB / 4.789 GB, free: 21.53 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.515e-05/14.49, allocations: 6.719 kB / 4.789 GB, free: 21.53 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003714/14.49, allocations: 0.551 MB / 4.79 GB, free: 21.52 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002582/14.49, allocations: 99.33 kB / 4.79 GB, free: 21.49 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002572/14.49, allocations: 52.03 kB / 4.79 GB, free: 21.49 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00484/14.5, allocations: 4.447 MB / 4.794 GB, free: 17.27 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.235e-06/14.5, allocations: 7.391 kB / 4.794 GB, free: 17.27 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0139/14.51, allocations: 4.16 MB / 4.798 GB, free: 16.42 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00368/14.51, allocations: 0.7186 MB / 4.799 GB, free: 16.14 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001886/14.52, allocations: 40.34 kB / 4.799 GB, free: 16.14 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004729/14.52, allocations: 315.4 kB / 4.799 GB, free: 16.11 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003922/14.52, allocations: 106.9 kB / 4.799 GB, free: 16.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003154/14.52, allocations: 78.83 kB / 4.799 GB, free: 16.1 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.00831/14.53, allocations: 2.369 MB / 4.802 GB, free: 15.95 MB / 0.698 GB Notification: Performance of sort global known variables: time 7.51e-07/14.53, allocations: 2.438 kB / 4.802 GB, free: 15.95 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.01395/14.54, allocations: 1.997 MB / 4.804 GB, free: 15.82 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 14 (chi.vol1.dynBal.U,chi.vol2.dynBal.U,chi.vol2.dynBal.m,limPID.I.y,limPID.D.x,TRet.T,pum.vol.dynBal.U,pum.vol.dynBal.m,pum.filter.x[1],pum.filter.x[2],expVesChi.m,expVesChi.H,firstOrder1.y,TSup.T) * Number of discrete variables: 12 (triAndRes.uniDel1.sampleTrigger,triAndRes.sam.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 (166): * Single equations (assignments): 153 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 5 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 3,1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.009827/14.55, allocations: 3.764 MB / 4.807 GB, free: 14.16 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.01696/14.57, allocations: 5.396 MB / 4.813 GB, free: 13.29 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.761e-05/14.57, allocations: 11.5 kB / 4.813 GB, free: 13.29 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.005621/14.58, allocations: 1.34 MB / 4.814 GB, free: 13.22 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01102/14.59, allocations: 1.534 MB / 4.815 GB, free: 13.14 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02468/14.61, allocations: 8.094 MB / 4.823 GB, free: 8.98 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004327/14.62, allocations: 2.138 MB / 4.825 GB, free: 8.109 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.008194/14.62, allocations: 0.835 MB / 4.826 GB, free: 7.949 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002041/14.63, allocations: 273.2 kB / 4.826 GB, free: 7.93 MB / 0.698 GB Notification: Performance of SimCode: time 2.996e-06/14.63, allocations: 0 / 4.826 GB, free: 7.93 MB / 0.698 GB Notification: Performance of Templates: time 0.9191/15.55, allocations: 95.99 MB / 4.92 GB, free: 60.09 MB / 0.7136 GB make -j1 -f Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.makefile (rm -f Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.pipe ; mkfifo Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.pipe >> ../files/Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.sim & ./Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.pipe 2>&1)