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.8303/0.8303, allocations: 132.4 MB / 139.9 MB, free: 15.44 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.001194/0.001194, allocations: 168.6 kB / 171.8 MB, free: 1.996 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.687/1.687, allocations: 170.6 MB / 374.2 MB, free: 15.7 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.001736/0.001736, allocations: 113.3 kB / 444.8 MB, free: 9.242 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.5399/0.5399, allocations: 73.4 MB / 0.6666 GB, free: 46.9 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.068/7.608, allocations: 2.445 GB / 3.111 GB, free: 165.4 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004107/7.608, allocations: 99.81 kB / 3.111 GB, free: 165.3 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.636/14.24, allocations: 1.558 GB / 4.67 GB, free: 38.8 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.946e-06/14.24, allocations: 0 / 4.67 GB, free: 38.8 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0008065/14.24, allocations: 96.58 kB / 4.67 GB, free: 38.78 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.01779/14.26, allocations: 4.008 MB / 4.674 GB, free: 36.86 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.149e-05/14.26, allocations: 9.219 kB / 4.674 GB, free: 36.86 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.011/14.27, allocations: 1.369 MB / 4.675 GB, free: 36.64 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01543/14.29, allocations: 4.255 MB / 4.679 GB, free: 35.97 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008115/14.29, allocations: 246.8 kB / 4.679 GB, free: 35.9 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001399/14.29, allocations: 157.5 kB / 4.679 GB, free: 35.9 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006729/14.3, allocations: 2.332 MB / 4.682 GB, free: 35.89 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008451/14.31, allocations: 2.541 MB / 4.684 GB, free: 35.41 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001456/14.31, allocations: 7.188 kB / 4.684 GB, free: 35.4 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007224/14.31, allocations: 6.156 kB / 4.684 GB, free: 35.4 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001193/14.31, allocations: 101.7 kB / 4.684 GB, free: 35.39 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.02642/14.33, allocations: 13.67 MB / 4.698 GB, free: 28.86 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002588/14.34, allocations: 1.682 MB / 4.699 GB, free: 28.79 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001251/14.34, allocations: 0.8585 MB / 4.7 GB, free: 28.76 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008417/14.35, allocations: 4.377 MB / 4.704 GB, free: 26.95 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001383/14.35, allocations: 0.9823 MB / 4.705 GB, free: 26.79 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001924/14.35, allocations: 160.1 kB / 4.706 GB, free: 26.71 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=145): time 5.54e-06/14.35, allocations: 3.75 kB / 4.706 GB, free: 26.71 MB / 0.6823 GB Notification: Performance of matching and sorting (n=148): time 0.01222/14.36, allocations: 4.593 MB / 4.71 GB, free: 25.32 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001911/14.36, allocations: 0.5272 MB / 4.711 GB, free: 24.69 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004008/14.37, allocations: 2.525 MB / 4.713 GB, free: 24.43 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.000211/14.37, allocations: 35.3 kB / 4.713 GB, free: 24.4 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001402/14.37, allocations: 1.668 MB / 4.715 GB, free: 23.83 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004986/14.37, allocations: 496.8 kB / 4.715 GB, free: 23.51 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001336/14.37, allocations: 4 kB / 4.715 GB, free: 23.5 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001424/14.37, allocations: 389.5 kB / 4.716 GB, free: 23.2 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001365/14.37, allocations: 0.8427 MB / 4.716 GB, free: 23.19 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001741/14.37, allocations: 1.548 MB / 4.718 GB, free: 22.41 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002679/14.37, allocations: 1.13 MB / 4.719 GB, free: 22.34 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.428e-06/14.37, allocations: 3.781 kB / 4.719 GB, free: 22.34 MB / 0.6823 GB Notification: Performance of matching and sorting (n=271) (initialization): time 0.0061/14.38, allocations: 2.716 MB / 4.722 GB, free: 22.02 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.001721/14.38, allocations: 5.722 MB / 4.727 GB, free: 15.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.463e-05/14.38, allocations: 20.95 kB / 4.727 GB, free: 15.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002527/14.38, allocations: 54.31 kB / 4.727 GB, free: 15.89 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002889/14.39, allocations: 0.5855 MB / 4.728 GB, free: 15.85 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00109/14.39, allocations: 1.327 MB / 4.729 GB, free: 14.64 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005083/14.39, allocations: 390.5 kB / 4.73 GB, free: 14.59 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003889/14.39, allocations: 130 kB / 4.73 GB, free: 14.59 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/14.39, allocations: 3.688 kB / 4.73 GB, free: 14.59 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00515/14.4, allocations: 2.408 MB / 4.732 GB, free: 14.46 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.256e-05/14.4, allocations: 14.91 kB / 4.732 GB, free: 14.46 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001427/14.4, allocations: 50.31 kB / 4.732 GB, free: 14.45 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002472/14.4, allocations: 0.5693 MB / 4.733 GB, free: 14.41 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009145/14.4, allocations: 1.331 MB / 4.734 GB, free: 13.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004405/14.41, allocations: 338.5 kB / 4.734 GB, free: 13.16 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003338/14.41, allocations: 122.5 kB / 4.734 GB, free: 13.16 MB / 0.6823 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: limPID.addSat.u2:VARIABLE() "Connector of Real input signal 2" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 58 * 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 (254): * Single equations (assignments): 248 * Array equations: 1 * Algorithm blocks: 3 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 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.0009141/14.41, allocations: 173.2 kB / 4.735 GB, free: 13.02 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001175/14.41, allocations: 314.9 kB / 4.735 GB, free: 12.85 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005004/14.41, allocations: 2.117 MB / 4.737 GB, free: 12.67 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-05/14.41, allocations: 18.97 kB / 4.737 GB, free: 12.67 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/14.41, allocations: 4 kB / 4.737 GB, free: 12.67 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0032/14.42, allocations: 1.897 MB / 4.739 GB, free: 12.15 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 postOpt removeSimpleEquations (simulation): time 0.01226/14.43, allocations: 5.016 MB / 4.744 GB, free: 11.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.104e-05/14.43, allocations: 7.469 kB / 4.744 GB, free: 11.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001913/14.43, allocations: 385.7 kB / 4.744 GB, free: 11.38 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002817/14.43, allocations: 129.8 kB / 4.744 GB, free: 11.35 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001188/14.43, allocations: 41.02 kB / 4.744 GB, free: 11.35 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001572/14.43, allocations: 1.742 MB / 4.746 GB, free: 25.78 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.941e-06/14.43, allocations: 3.688 kB / 4.746 GB, free: 25.78 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005659/14.44, allocations: 3.468 MB / 4.749 GB, free: 24.81 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002778/14.44, allocations: 0.6767 MB / 4.75 GB, free: 24.54 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000603/14.44, allocations: 12.89 kB / 4.75 GB, free: 24.54 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002731/14.44, allocations: 300.8 kB / 4.75 GB, free: 24.51 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002039/14.44, allocations: 110.2 kB / 4.75 GB, free: 24.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001572/14.44, allocations: 76.31 kB / 4.75 GB, free: 24.5 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.003171/14.45, allocations: 1.864 MB / 4.752 GB, free: 23.85 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.7e-07/14.45, allocations: 0 / 4.752 GB, free: 23.85 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.00826/14.46, allocations: 1.808 MB / 4.754 GB, free: 23.53 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 12 (chi.vol1.dynBal.U,chi.vol2.dynBal.U,limPID.I.y,limPID.D.x,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.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 (161): * Single equations (assignments): 150 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 5 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 3,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.006714/14.46, allocations: 3.831 MB / 4.758 GB, free: 21.83 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.007037/14.47, allocations: 4.312 MB / 4.762 GB, free: 19.66 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 9.919e-06/14.47, allocations: 3.625 kB / 4.762 GB, free: 19.66 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001591/14.47, allocations: 0.8372 MB / 4.763 GB, free: 19.35 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007614/14.48, allocations: 1.24 MB / 4.764 GB, free: 19.07 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0139/14.49, allocations: 5.259 MB / 4.769 GB, free: 16.92 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00181/14.49, allocations: 2.138 MB / 4.771 GB, free: 16.04 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.007053/14.5, allocations: 1.153 MB / 4.772 GB, free: 15.84 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007408/14.5, allocations: 209.3 kB / 4.773 GB, free: 15.82 MB / 0.698 GB Notification: Performance of SimCode: time 1.232e-06/14.5, allocations: 0 / 4.773 GB, free: 15.82 MB / 0.698 GB Notification: Performance of Templates: time 0.7851/15.29, allocations: 76.8 MB / 4.848 GB, free: 52.11 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)