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.7094/0.7094, allocations: 132.3 MB / 144.9 MB, free: 10.71 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.001044/0.001044, allocations: 177.9 kB / 176.9 MB, free: 2.168 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.428/1.428, allocations: 170.5 MB / 379.3 MB, free: 11.94 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.001959/0.001959, allocations: 109.5 kB / 450 MB, free: 5.848 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.4567/0.4567, allocations: 73.38 MB / 0.6736 GB, free: 47.91 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.739/6.195, allocations: 2.445 GB / 3.119 GB, free: 117.2 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002607/6.196, allocations: 99.16 kB / 3.119 GB, free: 117.1 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.784/11.98, allocations: 1.57 GB / 4.689 GB, free: 35.03 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.305e-06/11.98, allocations: 0 / 4.689 GB, free: 35.03 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0005281/11.98, allocations: 99.8 kB / 4.689 GB, free: 35.01 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.01294/11.99, allocations: 4.014 MB / 4.693 GB, free: 32.63 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.515e-05/11.99, allocations: 11.09 kB / 4.693 GB, free: 32.63 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01/12, allocations: 1.369 MB / 4.695 GB, free: 32.34 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01238/12.02, allocations: 4.245 MB / 4.699 GB, free: 30.52 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007194/12.02, allocations: 341 kB / 4.699 GB, free: 30.36 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001243/12.02, allocations: 252.9 kB / 4.699 GB, free: 30.28 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008064/12.03, allocations: 3.06 MB / 4.702 GB, free: 28.79 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.112e-05/12.03, allocations: 7.812 kB / 4.702 GB, free: 28.78 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003276/12.03, allocations: 103.3 kB / 4.702 GB, free: 28.71 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.481e-05/12.03, allocations: 92.75 kB / 4.702 GB, free: 28.7 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004525/12.03, allocations: 2.577 MB / 4.705 GB, free: 27.71 MB / 0.6823 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.019/12.05, allocations: 14.14 MB / 4.719 GB, free: 18.13 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002654/12.05, allocations: 1.787 MB / 4.721 GB, free: 17.37 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001206/12.05, allocations: 0.9033 MB / 4.721 GB, free: 16.99 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006168/12.06, allocations: 4.184 MB / 4.725 GB, free: 13.48 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001623/12.06, allocations: 1.076 MB / 4.727 GB, free: 12.8 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001499/12.06, allocations: 223.9 kB / 4.727 GB, free: 12.66 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=148): time 5.26e-06/12.06, allocations: 0 / 4.727 GB, free: 12.66 MB / 0.6823 GB Notification: Performance of matching and sorting (n=150): time 0.008284/12.07, allocations: 4.582 MB / 4.731 GB, free: 8.012 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001238/12.07, allocations: 0.5301 MB / 4.732 GB, free: 7.363 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004275/12.08, allocations: 2.98 MB / 4.735 GB, free: 4.402 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002735/12.08, allocations: 65.7 kB / 4.735 GB, free: 4.332 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001261/12.08, allocations: 1.667 MB / 4.736 GB, free: 2.656 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004555/12.08, allocations: 0.5157 MB / 4.737 GB, free: 2.148 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001355/12.08, allocations: 40 kB / 4.737 GB, free: 2.109 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001372/12.08, allocations: 386.2 kB / 4.737 GB, free: 1.727 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001293/12.08, allocations: 0.8905 MB / 4.738 GB, free: 0.832 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001919/12.08, allocations: 1.611 MB / 4.74 GB, free: 14.93 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001728/12.08, allocations: 1.131 MB / 4.741 GB, free: 13.78 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.076e-06/12.08, allocations: 4 kB / 4.741 GB, free: 13.77 MB / 0.698 GB Notification: Performance of matching and sorting (n=274) (initialization): time 0.005048/12.09, allocations: 2.896 MB / 4.744 GB, free: 10.85 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.002021/12.09, allocations: 5.617 MB / 4.749 GB, free: 4.785 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.803e-05/12.09, allocations: 12 kB / 4.749 GB, free: 4.773 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001966/12.09, allocations: 60.78 kB / 4.749 GB, free: 4.711 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004091/12.09, allocations: 0.7567 MB / 4.75 GB, free: 3.953 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.519/12.61, allocations: 3.774 MB / 4.754 GB, free: 57.64 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005359/12.62, allocations: 445.1 kB / 4.754 GB, free: 57.64 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006039/12.62, allocations: 129.5 kB / 4.754 GB, free: 57.64 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/12.62, allocations: 6.484 kB / 4.754 GB, free: 57.64 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004385/12.62, allocations: 2.653 MB / 4.757 GB, free: 57.52 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.872e-05/12.62, allocations: 15.41 kB / 4.757 GB, free: 57.52 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001397/12.62, allocations: 58.23 kB / 4.757 GB, free: 57.51 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002941/12.63, allocations: 0.6052 MB / 4.757 GB, free: 57.51 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001484/12.63, allocations: 2.572 MB / 4.76 GB, free: 55.11 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00421/12.63, allocations: 391.7 kB / 4.76 GB, free: 55.11 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002584/12.63, allocations: 122.2 kB / 4.76 GB, free: 55.11 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" 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" 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 () * 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.0006762/12.63, allocations: 258.1 kB / 4.761 GB, free: 55 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006023/12.63, allocations: 352.4 kB / 4.761 GB, free: 55 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004152/12.64, allocations: 2.243 MB / 4.763 GB, free: 54.87 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.367e-05/12.64, allocations: 21.05 kB / 4.763 GB, free: 54.87 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/12.64, allocations: 0.8438 kB / 4.763 GB, free: 54.87 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002535/12.64, allocations: 1.893 MB / 4.765 GB, free: 54.38 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008573/12.65, allocations: 5.253 MB / 4.77 GB, free: 53.79 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.704e-06/12.65, allocations: 0 / 4.77 GB, free: 53.79 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003131/12.65, allocations: 0.5545 MB / 4.771 GB, free: 53.79 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001236/12.65, allocations: 59.03 kB / 4.771 GB, free: 53.77 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001503/12.65, allocations: 55.83 kB / 4.771 GB, free: 53.77 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002309/12.66, allocations: 3.785 MB / 4.775 GB, free: 50.12 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.489e-06/12.66, allocations: 5.969 kB / 4.775 GB, free: 50.12 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005465/12.66, allocations: 3.457 MB / 4.778 GB, free: 49.54 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001977/12.66, allocations: 0.7175 MB / 4.779 GB, free: 49.37 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004906/12.66, allocations: 43.38 kB / 4.779 GB, free: 49.37 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002641/12.67, allocations: 317.5 kB / 4.779 GB, free: 49.36 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002397/12.67, allocations: 104 kB / 4.779 GB, free: 49.36 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001687/12.67, allocations: 77.69 kB / 4.779 GB, free: 49.36 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.003447/12.67, allocations: 2.272 MB / 4.781 GB, free: 49.2 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.31e-07/12.67, allocations: 0 / 4.781 GB, free: 49.2 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.006367/12.68, allocations: 1.988 MB / 4.783 GB, free: 49.2 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.ports[1].h_outflow,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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (169): * Single equations (assignments): 156 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 5 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * 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: 2 {1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.005612/12.68, allocations: 3.773 MB / 4.787 GB, free: 47.98 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.01026/12.69, allocations: 4.754 MB / 4.792 GB, free: 47.26 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.511e-05/12.69, allocations: 2.906 kB / 4.792 GB, free: 47.26 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.003672/12.7, allocations: 1.114 MB / 4.793 GB, free: 47.25 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008358/12.7, allocations: 1.54 MB / 4.794 GB, free: 47.22 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01421/12.72, allocations: 5.524 MB / 4.8 GB, free: 45.97 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002028/12.72, allocations: 2.137 MB / 4.802 GB, free: 45.22 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.008055/12.73, allocations: 1.248 MB / 4.803 GB, free: 45.19 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008587/12.73, allocations: 215.8 kB / 4.803 GB, free: 45.19 MB / 0.698 GB Notification: Performance of SimCode: time 2.515e-06/12.73, allocations: 0 / 4.803 GB, free: 45.19 MB / 0.698 GB Notification: Performance of Templates: time 0.1584/12.89, allocations: 108 MB / 4.909 GB, free: 37.76 MB / 0.698 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)