Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch") translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.363/1.363, allocations: 251.5 MB / 267.4 MB, free: 11.04 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.0009021/0.0009022, allocations: 178.4 kB / 326.5 MB, free: 2.676 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.586/1.586, allocations: 205 MB / 0.5766 GB, free: 20.92 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.0007297/0.0007297, allocations: 92.58 kB / 0.6804 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002814/0.0002814, allocations: 8.938 kB / 0.7938 GB, free: 136.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1668/0.1671, allocations: 105.4 MB / 0.8968 GB, free: 68.13 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch): time 0.001509/0.1687, allocations: 1.397 MB / 0.8981 GB, free: 66.72 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0005918/0.1693, allocations: 0.4924 MB / 0.8986 GB, free: 66.22 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.282e-05/0.1693, allocations: 0 / 0.8986 GB, free: 66.22 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.563e-05/0.1694, allocations: 3.938 kB / 0.8986 GB, free: 66.22 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.904e-05/0.1695, allocations: 15.86 kB / 0.8986 GB, free: 66.2 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001439/0.1696, allocations: 27.97 kB / 0.8986 GB, free: 66.18 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.602e-05/0.1697, allocations: 75.72 kB / 0.8987 GB, free: 66.1 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.1698, allocations: 27.92 kB / 0.8987 GB, free: 66.07 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.533e-05/0.1699, allocations: 35.78 kB / 0.8988 GB, free: 66.04 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.903e-05/0.17, allocations: 31.84 kB / 0.8988 GB, free: 66.01 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.648e-05/0.17, allocations: 0 / 0.8988 GB, free: 66.01 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.366e-05/0.17, allocations: 4 kB / 0.8988 GB, free: 66 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.615e-05/0.17, allocations: 7.922 kB / 0.8988 GB, free: 66 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.966e-05/0.1701, allocations: 27.81 kB / 0.8988 GB, free: 65.97 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 8.281e-05/0.1701, allocations: 75.73 kB / 0.8989 GB, free: 65.89 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.1702, allocations: 4 kB / 0.8989 GB, free: 65.89 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.322e-06/0.1702, allocations: 0 / 0.8989 GB, free: 65.89 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.257e-06/0.1702, allocations: 0 / 0.8989 GB, free: 65.89 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0003987/0.1706, allocations: 387.1 kB / 0.8993 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.1706, allocations: 8.031 kB / 0.8993 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.557e-05/0.1707, allocations: 12.84 kB / 0.8993 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.421e-05/0.1708, allocations: 176.2 kB / 0.8995 GB, free: 65.23 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/0.1708, allocations: 384 / 0.8995 GB, free: 65.23 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.196e-05/0.1708, allocations: 8.375 kB / 0.8995 GB, free: 65.23 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001665/0.171, allocations: 99.56 kB / 0.8996 GB, free: 65.12 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.171, allocations: 0 / 0.8996 GB, free: 65.12 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.171, allocations: 3.984 kB / 0.8996 GB, free: 65.11 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.171, allocations: 4 kB / 0.8996 GB, free: 65.11 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001388/0.1712, allocations: 55.97 kB / 0.8996 GB, free: 65.05 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003731/0.1715, allocations: 340.6 kB / 0.9 GB, free: 64.67 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001124/0.1717, allocations: 50.56 kB / 0.9 GB, free: 64.61 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.149e-05/0.1717, allocations: 33.03 kB / 0.9 GB, free: 64.58 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.458e-05/0.1718, allocations: 7.938 kB / 0.9001 GB, free: 64.57 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.627e-05/0.1718, allocations: 30.56 kB / 0.9001 GB, free: 64.53 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.1718, allocations: 0 / 0.9001 GB, free: 64.53 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4): time 0.0002946/0.1721, allocations: 113.7 kB / 0.9002 GB, free: 64.41 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.476e-05/0.1721, allocations: 85.11 kB / 0.9003 GB, free: 64.31 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.968e-05/0.1722, allocations: 131.7 kB / 0.9004 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.115e-05/0.1722, allocations: 25.7 kB / 0.9004 GB, free: 64.14 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.454e-05/0.1723, allocations: 104 kB / 0.9005 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.343e-05/0.1723, allocations: 3.906 kB / 0.9005 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.176e-05/0.1723, allocations: 17.72 kB / 0.9005 GB, free: 64.01 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.482e-05/0.1724, allocations: 326.7 kB / 0.9009 GB, free: 63.68 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.033e-05/0.1724, allocations: 27.98 kB / 0.9009 GB, free: 63.66 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.994e-05/0.1725, allocations: 45.64 kB / 0.9009 GB, free: 63.61 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001217/0.1726, allocations: 60.86 kB / 0.901 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.1726, allocations: 0 / 0.901 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001624/0.1728, allocations: 93.56 kB / 0.9011 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.999e-06/0.1728, allocations: 4 kB / 0.9011 GB, free: 63.44 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.457e-06/0.1728, allocations: 0 / 0.9011 GB, free: 63.44 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.062e-05/0.1729, allocations: 4 kB / 0.9011 GB, free: 63.44 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.057e-05/0.1729, allocations: 16.17 kB / 0.9011 GB, free: 63.42 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.161e-06/0.173, allocations: 7.922 kB / 0.9011 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.269e-05/0.173, allocations: 19.98 kB / 0.9011 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.304e-06/0.1731, allocations: 4 kB / 0.9011 GB, free: 63.39 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (chiSwi.hysteresis.y,$PRE.chiSwi.hysteresis.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.725e-05/0.1731, allocations: 117.8 kB / 0.9012 GB, free: 63.27 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.605e-05/0.1731, allocations: 7.906 kB / 0.9012 GB, free: 63.26 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.77e-05/0.1732, allocations: 20.23 kB / 0.9013 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.1732, allocations: 0 / 0.9013 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.1732, allocations: 3.938 kB / 0.9013 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.162e-05/0.1732, allocations: 84.95 kB / 0.9013 GB, free: 63.13 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.057e-05/0.1732, allocations: 7.938 kB / 0.9014 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001036/0.1734, allocations: 11.98 kB / 0.9014 GB, free: 63.11 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.507e-05/0.1734, allocations: 11.98 kB / 0.9014 GB, free: 63.1 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002387/0.1737, allocations: 172.9 kB / 0.9015 GB, free: 62.92 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001962/0.1739, allocations: 270.6 kB / 0.9018 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.2e-05/0.1739, allocations: 27.92 kB / 0.9018 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.532e-05/0.174, allocations: 105.8 kB / 0.9019 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of Backend: time 4.7e-07/0.174, allocations: 0 / 0.9019 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003505/0.1743, allocations: 118.3 kB / 0.902 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0003709/0.1747, allocations: 0.6348 MB / 0.9027 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of Templates: time 0.002435/0.1772, allocations: 0.8861 MB / 0.9035 GB, free: 60.86 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.makefile (rm -f Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.sim & ./Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.pipe 2>&1)