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.TrimAndRespond.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.TrimAndRespond,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.305/1.305, allocations: 251.5 MB / 267.4 MB, free: 11.09 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.00114/0.00114, allocations: 174.8 kB / 326.5 MB, free: 2.695 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.382/1.382, allocations: 205 MB / 0.5767 GB, free: 21.01 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.0007288/0.0007288, allocations: 85.23 kB / 0.6804 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003566/0.0003566, allocations: 8.438 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1626/0.163, allocations: 105.4 MB / 0.8968 GB, free: 68.18 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond): time 0.001823/0.1648, allocations: 1.772 MB / 0.8985 GB, free: 66.39 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008273/0.1657, allocations: 0.7056 MB / 0.8992 GB, free: 65.68 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.725e-05/0.1658, allocations: 7.938 kB / 0.8992 GB, free: 65.67 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 5.297e-05/0.1658, allocations: 11.86 kB / 0.8992 GB, free: 65.66 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001033/0.1659, allocations: 31.66 kB / 0.8992 GB, free: 65.63 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002994/0.1663, allocations: 118.2 kB / 0.8993 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0003124/0.1666, allocations: 0.5103 MB / 0.8998 GB, free: 65 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002229/0.1668, allocations: 258 kB / 0.9001 GB, free: 64.75 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001475/0.167, allocations: 155.3 kB / 0.9002 GB, free: 64.59 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001182/0.1671, allocations: 186.9 kB / 0.9004 GB, free: 64.41 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.93e-05/0.1671, allocations: 16 kB / 0.9004 GB, free: 64.39 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 3.806e-05/0.1672, allocations: 16 kB / 0.9004 GB, free: 64.38 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.756e-05/0.1672, allocations: 75.61 kB / 0.9005 GB, free: 64.3 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001094/0.1673, allocations: 190.8 kB / 0.9007 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.00032/0.1677, allocations: 0.6268 MB / 0.9013 GB, free: 63.49 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.1677, allocations: 4 kB / 0.9013 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.243e-06/0.1677, allocations: 0 / 0.9013 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.141e-06/0.1677, allocations: 0 / 0.9013 GB, free: 63.48 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001473/0.1692, allocations: 0.9314 MB / 0.9022 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.135e-05/0.1692, allocations: 11.97 kB / 0.9022 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.378e-05/0.1693, allocations: 52.28 kB / 0.9023 GB, free: 62.44 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004247/0.1697, allocations: 419.7 kB / 0.9027 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.994e-05/0.1698, allocations: 25.38 kB / 0.9027 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.697e-05/0.1699, allocations: 44.36 kB / 0.9027 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009682/0.1709, allocations: 0.686 MB / 0.9034 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.1709, allocations: 0 / 0.9034 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.961e-05/0.1709, allocations: 16 kB / 0.9034 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/0.1709, allocations: 12 kB / 0.9034 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001007/0.172, allocations: 0.6406 MB / 0.9041 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00176/0.1737, allocations: 1.676 MB / 0.9057 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001477/0.1752, allocations: 0.9564 MB / 0.9066 GB, free: 57.77 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005272/0.1758, allocations: 372.8 kB / 0.907 GB, free: 57.39 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.126e-05/0.1758, allocations: 4 kB / 0.907 GB, free: 57.39 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007085/0.1765, allocations: 0.5565 MB / 0.9075 GB, free: 56.8 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=51): time 1.843e-06/0.1765, allocations: 0 / 0.9075 GB, free: 56.8 MB / 0.6042 GB Notification: Performance of matching and sorting (n=51): time 0.001822/0.1784, allocations: 1.141 MB / 0.9087 GB, free: 55.66 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.882e-05/0.1784, allocations: 288.9 kB / 0.9089 GB, free: 55.31 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003119/0.1788, allocations: 441.5 kB / 0.9094 GB, free: 54.88 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.91e-05/0.1788, allocations: 49.62 kB / 0.9094 GB, free: 54.82 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 9.439e-05/0.1789, allocations: 204.9 kB / 0.9096 GB, free: 54.61 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 6.974e-05/0.179, allocations: 130.4 kB / 0.9097 GB, free: 54.48 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.721e-05/0.179, allocations: 57.69 kB / 0.9098 GB, free: 54.42 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.925e-05/0.1791, allocations: 370.7 kB / 0.9101 GB, free: 54.05 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004986/0.1796, allocations: 308.8 kB / 0.9104 GB, free: 53.75 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005542/0.1802, allocations: 0.494 MB / 0.9109 GB, free: 53.18 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001002/0.1812, allocations: 0.7841 MB / 0.9117 GB, free: 52.32 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.1812, allocations: 4 kB / 0.9117 GB, free: 52.32 MB / 0.6042 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001252/0.1825, allocations: 0.85 MB / 0.9125 GB, free: 51.46 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.482e-05/0.1825, allocations: 247.8 kB / 0.9127 GB, free: 51.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.794e-06/0.1826, allocations: 4 kB / 0.9127 GB, free: 51.14 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.1826, allocations: 11.98 kB / 0.9128 GB, free: 51.12 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003161/0.1829, allocations: 115.8 kB / 0.9129 GB, free: 51.01 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.197e-06/0.1829, allocations: 8.156 kB / 0.9129 GB, free: 51 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003677/0.1833, allocations: 111.6 kB / 0.913 GB, free: 50.89 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.345e-05/0.1833, allocations: 31.92 kB / 0.913 GB, free: 50.86 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.879e-06/0.1834, allocations: 4 kB / 0.913 GB, free: 50.86 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008115/0.1842, allocations: 0.6158 MB / 0.9136 GB, free: 50.24 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.1842, allocations: 4 kB / 0.9136 GB, free: 50.23 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.341e-06/0.1842, allocations: 15.98 kB / 0.9136 GB, free: 50.22 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002171/0.1844, allocations: 71.83 kB / 0.9137 GB, free: 50.15 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.1844, allocations: 15.92 kB / 0.9137 GB, free: 50.13 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002857/0.1847, allocations: 84.25 kB / 0.9138 GB, free: 50.05 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.616e-05/0.1848, allocations: 23.98 kB / 0.9138 GB, free: 50.03 MB / 0.6042 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 (triAndRes[1].uniDel1.firstTrigger,$PRE.triAndRes[1].uniDel1.firstTrigger,triAndRes[1].sam.firstTrigger,$PRE.triAndRes[1].sam.firstTrigger,triAndRes[1].sam.sampleTrigger,$whenCondition9,triAndRes[1].uniDel1.sampleTrigger,$whenCondition10,triAndRes[1].firstTrigger,$PRE.triAndRes[1].firstTrigger,triAndRes[1].sampleTrigger,$whenCondition7,triAndRes[2].uniDel1.firstTrigger,$PRE.triAndRes[2].uniDel1.firstTrigger,triAndRes[2].sam.firstTrigger,$PRE.triAndRes[2].sam.firstTrigger,triAndRes[2].sam.sampleTrigger,$whenCondition5,triAndRes[2].uniDel1.sampleTrigger,$whenCondition6,triAndRes[2].uniDel1.y,$PRE.triAndRes[2].uniDel1.y,triAndRes[2].sam.y,triAndRes[2].incY.y,triAndRes[2].firstTrigger,$PRE.triAndRes[2].firstTrigger,triAndRes[2].sampleTrigger,$whenCondition4,triAndRes[3].uniDel1.firstTrigger,$PRE.triAndRes[3].uniDel1.firstTrigger,triAndRes[3].sam.firstTrigger,$PRE.triAndRes[3].sam.firstTrigger,triAndRes[3].sam.sampleTrigger,$whenCondition2,triAndRes[3].uniDel1.sampleTrigger,$whenCondition3,triAndRes[3].uniDel1.y,$PRE.triAndRes[3].uniDel1.y,triAndRes[3].sam.y,triAndRes[3].incY.y,triAndRes[3].firstTrigger,$PRE.triAndRes[3].firstTrigger,triAndRes[3].sampleTrigger,$whenCondition1,triAndRes[1].uniDel1.y,$PRE.triAndRes[1].uniDel1.y,triAndRes[1].sam.y,triAndRes[1].incY.y,act1.count,$PRE.act1.count,act1.T_start,$PRE.act1.T_start,$whenCondition8) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000231/0.185, allocations: 364.8 kB / 0.9142 GB, free: 49.66 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.181e-05/0.1851, allocations: 51.38 kB / 0.9142 GB, free: 49.61 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.775e-05/0.1851, allocations: 63.45 kB / 0.9143 GB, free: 49.55 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/0.1852, allocations: 0 / 0.9143 GB, free: 49.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.1852, allocations: 0 / 0.9143 GB, free: 49.55 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.738e-05/0.1852, allocations: 132.5 kB / 0.9144 GB, free: 49.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.845e-05/0.1853, allocations: 15.98 kB / 0.9144 GB, free: 49.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004456/0.1858, allocations: 123.8 kB / 0.9145 GB, free: 49.26 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.588e-05/0.1859, allocations: 47.88 kB / 0.9146 GB, free: 49.21 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001474/0.1873, allocations: 1.35 MB / 0.9159 GB, free: 47.86 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.00124/0.1886, allocations: 1.369 MB / 0.9172 GB, free: 46.46 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005569/0.1892, allocations: 394.1 kB / 0.9176 GB, free: 46.08 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002067/0.1894, allocations: 311.1 kB / 0.9179 GB, free: 45.78 MB / 0.6042 GB Notification: Performance of Backend: time 1.403e-06/0.1894, allocations: 0 / 0.9179 GB, free: 45.78 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001689/0.1911, allocations: 0.9249 MB / 0.9188 GB, free: 44.82 MB / 0.6042 GB Notification: Performance of SimCode: time 0.001177/0.1923, allocations: 1.416 MB / 0.9202 GB, free: 43.36 MB / 0.6042 GB Notification: Performance of Templates: time 0.01035/0.2026, allocations: 9.483 MB / 0.9295 GB, free: 33.96 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond.makefile (rm -f Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond.sim & ./Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond.pipe 2>&1)