Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond") translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.639/1.639, allocations: 287.4 MB / 303.2 MB, free: 8.199 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009299/0.0009298, allocations: 189.1 kB / 371.8 MB, free: 10.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.363/1.363, allocations: 205.4 MB / 0.6305 GB, free: 10.56 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006951/0.0006951, allocations: 93.11 kB / 0.7438 GB, free: 6.57 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003375/0.0003375, allocations: 14.73 kB / 0.8667 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1767/0.1771, allocations: 115.3 MB / 0.9793 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond): time 0.001814/0.1789, allocations: 1.701 MB / 0.9809 GB, free: 26.49 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.000934/0.1799, allocations: 0.6597 MB / 0.9816 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001252/0.18, allocations: 3.938 kB / 0.9816 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 4.476e-05/0.1801, allocations: 15.86 kB / 0.9816 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001264/0.1802, allocations: 27.72 kB / 0.9816 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003365/0.1806, allocations: 95.81 kB / 0.9817 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003721/0.181, allocations: 482.6 kB / 0.9822 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002764/0.1812, allocations: 250.1 kB / 0.9824 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002301/0.1815, allocations: 155.3 kB / 0.9826 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001808/0.1817, allocations: 179.1 kB / 0.9827 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001025/0.1818, allocations: 16 kB / 0.9828 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.515e-05/0.1818, allocations: 16 kB / 0.9828 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.907e-05/0.1819, allocations: 75.66 kB / 0.9828 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.804e-05/0.182, allocations: 97.45 kB / 0.9829 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003253/0.1823, allocations: 0.5108 MB / 0.9834 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.1823, allocations: 11.94 kB / 0.9834 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.232e-06/0.1823, allocations: 0 / 0.9834 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.571e-05/0.1824, allocations: 0 / 0.9834 GB, free: 23.91 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001761/0.1841, allocations: 0.943 MB / 0.9844 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.1842, allocations: 8.031 kB / 0.9844 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001368/0.1843, allocations: 56.38 kB / 0.9844 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004519/0.1848, allocations: 407.7 kB / 0.9848 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.219e-05/0.1848, allocations: 33.36 kB / 0.9848 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.496e-05/0.1849, allocations: 36.38 kB / 0.9849 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001044/0.1859, allocations: 0.6938 MB / 0.9856 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.186, allocations: 0 / 0.9856 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.415e-05/0.186, allocations: 19.94 kB / 0.9856 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/0.186, allocations: 8 kB / 0.9856 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001117/0.1871, allocations: 0.6341 MB / 0.9862 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002052/0.1892, allocations: 1.672 MB / 0.9878 GB, free: 19.21 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001585/0.1908, allocations: 0.9525 MB / 0.9888 GB, free: 18.2 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005671/0.1914, allocations: 378.2 kB / 0.9891 GB, free: 17.82 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.655e-05/0.1914, allocations: 7.984 kB / 0.9891 GB, free: 17.81 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007852/0.1922, allocations: 0.5488 MB / 0.9897 GB, free: 17.23 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=51): time 3.296e-06/0.1922, allocations: 0 / 0.9897 GB, free: 17.23 MB / 0.6198 GB Notification: Performance of matching and sorting (n=51): time 0.002018/0.1943, allocations: 1.136 MB / 0.9908 GB, free: 16.09 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.234e-05/0.1944, allocations: 292.9 kB / 0.9911 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003933/0.1948, allocations: 433.5 kB / 0.9915 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.354e-05/0.1948, allocations: 49.7 kB / 0.9915 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001355/0.195, allocations: 204.9 kB / 0.9917 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 9.831e-05/0.1951, allocations: 130.4 kB / 0.9918 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.592e-05/0.1951, allocations: 12 kB / 0.9919 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.091e-05/0.1952, allocations: 362.8 kB / 0.9922 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000535/0.1957, allocations: 308.8 kB / 0.9925 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005874/0.1963, allocations: 497.9 kB / 0.993 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001042/0.1974, allocations: 0.7732 MB / 0.9937 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/0.1974, allocations: 4 kB / 0.9937 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001357/0.1988, allocations: 0.8431 MB / 0.9946 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001191/0.1989, allocations: 251.9 kB / 0.9948 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/0.1989, allocations: 4 kB / 0.9948 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.141e-05/0.1989, allocations: 8 kB / 0.9948 GB, free: 11.65 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003447/0.1993, allocations: 115.8 kB / 0.9949 GB, free: 11.54 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.468e-05/0.1993, allocations: 11.94 kB / 0.9949 GB, free: 11.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000404/0.1997, allocations: 111.6 kB / 0.995 GB, free: 11.42 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.637e-05/0.1998, allocations: 27.94 kB / 0.9951 GB, free: 11.39 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 7.724e-06/0.1998, allocations: 4 kB / 0.9951 GB, free: 11.39 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008852/0.2007, allocations: 0.6154 MB / 0.9957 GB, free: 10.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.2007, allocations: 4 kB / 0.9957 GB, free: 10.76 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.725e-06/0.2007, allocations: 8 kB / 0.9957 GB, free: 10.75 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002356/0.2009, allocations: 75.81 kB / 0.9957 GB, free: 10.68 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.016e-06/0.201, allocations: 11.94 kB / 0.9958 GB, free: 10.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003186/0.2013, allocations: 87.62 kB / 0.9958 GB, free: 10.58 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.866e-05/0.2013, allocations: 20 kB / 0.9959 GB, free: 10.56 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 53 ($PRE.triAndRes[1].uniDel1.firstTrigger,triAndRes[1].uniDel1.firstTrigger,$PRE.triAndRes[1].sam.firstTrigger,triAndRes[1].sam.firstTrigger,$whenCondition9,triAndRes[1].sam.sampleTrigger,$whenCondition10,triAndRes[1].uniDel1.sampleTrigger,$PRE.triAndRes[1].firstTrigger,triAndRes[1].firstTrigger,$whenCondition7,triAndRes[1].sampleTrigger,$PRE.triAndRes[2].uniDel1.firstTrigger,triAndRes[2].uniDel1.firstTrigger,$PRE.triAndRes[2].sam.firstTrigger,triAndRes[2].sam.firstTrigger,$whenCondition5,triAndRes[2].sam.sampleTrigger,$whenCondition6,triAndRes[2].uniDel1.sampleTrigger,triAndRes[2].incY.y,triAndRes[2].sam.y,$PRE.triAndRes[2].uniDel1.y,triAndRes[2].uniDel1.y,$PRE.triAndRes[2].firstTrigger,triAndRes[2].firstTrigger,$whenCondition4,triAndRes[2].sampleTrigger,$PRE.triAndRes[3].uniDel1.firstTrigger,triAndRes[3].uniDel1.firstTrigger,$PRE.triAndRes[3].sam.firstTrigger,triAndRes[3].sam.firstTrigger,$whenCondition2,triAndRes[3].sam.sampleTrigger,$whenCondition3,triAndRes[3].uniDel1.sampleTrigger,triAndRes[3].incY.y,triAndRes[3].sam.y,$PRE.triAndRes[3].uniDel1.y,triAndRes[3].uniDel1.y,$PRE.triAndRes[3].firstTrigger,triAndRes[3].firstTrigger,$whenCondition1,triAndRes[3].sampleTrigger,$whenCondition8,$PRE.act1.T_start,act1.T_start,$PRE.act1.count,act1.count,triAndRes[1].incY.y,triAndRes[1].sam.y,$PRE.triAndRes[1].uniDel1.y,triAndRes[1].uniDel1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * 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.0002971/0.2016, allocations: 373.4 kB / 0.9962 GB, free: 10.19 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001016/0.2017, allocations: 51.38 kB / 0.9963 GB, free: 10.14 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001079/0.2019, allocations: 63.47 kB / 0.9963 GB, free: 10.07 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.346e-06/0.2019, allocations: 3.984 kB / 0.9963 GB, free: 10.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.2019, allocations: 0 / 0.9963 GB, free: 10.07 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.755e-05/0.202, allocations: 128.6 kB / 0.9965 GB, free: 9.922 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.929e-05/0.202, allocations: 12 kB / 0.9965 GB, free: 9.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004652/0.2025, allocations: 123.8 kB / 0.9966 GB, free: 9.789 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001065/0.2026, allocations: 55.8 kB / 0.9966 GB, free: 9.734 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001606/0.2042, allocations: 1.339 MB / 0.9979 GB, free: 8.387 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001339/0.2056, allocations: 1.377 MB / 0.9993 GB, free: 6.992 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006155/0.2062, allocations: 385 kB / 0.9997 GB, free: 6.617 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002543/0.2065, allocations: 303.1 kB / 0.9999 GB, free: 6.328 MB / 0.6198 GB Notification: Performance of Backend: time 6.11e-07/0.2065, allocations: 0 / 0.9999 GB, free: 6.328 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001856/0.2084, allocations: 0.9292 MB / 1.001 GB, free: 5.367 MB / 0.6198 GB Notification: Performance of SimCode: time 0.001379/0.2098, allocations: 1.363 MB / 1.002 GB, free: 3.961 MB / 0.6198 GB Notification: Performance of Templates: time 0.01337/0.2231, allocations: 9.222 MB / 1.011 GB, free: 10.77 MB / 0.6355 GB make -j1 -f Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond.makefile (rm -f Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond.pipe ; mkfifo Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond.pipe >> ../files/Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond.sim & ./Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond.pipe 2>&1)