Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.TrimAndRespond.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001087/0.001087, allocations: 92.2 kB / 20.21 MB, free: 4.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001076/0.001076, allocations: 165.7 kB / 23.53 MB, free: 1.035 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9346/0.9346, allocations: 177.2 MB / 203.9 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.022/2.022, allocations: 428.5 MB / 0.6727 GB, free: 4.922 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.TrimAndRespond,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.TrimAndRespond") translateModel(Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.TrimAndRespond,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.TrimAndRespond") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.253e-06/1.253e-06, allocations: 0 / 0.8771 GB, free: 7.883 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.594e-05/1.719e-05, allocations: 4.562 kB / 0.8771 GB, free: 7.879 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.TrimAndRespond): time 0.002162/0.00218, allocations: 2.034 MB / 0.8791 GB, free: 5.859 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0009078/0.003087, allocations: 0.721 MB / 0.8798 GB, free: 5.137 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.14e-05/0.003169, allocations: 0 / 0.8798 GB, free: 5.137 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 5.44e-05/0.003223, allocations: 19.73 kB / 0.8798 GB, free: 5.117 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001094/0.003333, allocations: 44.31 kB / 0.8798 GB, free: 5.074 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.000377/0.00371, allocations: 141.3 kB / 0.88 GB, free: 4.938 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0004146/0.004124, allocations: 0.5921 MB / 0.8805 GB, free: 4.344 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000192/0.004316, allocations: 126.8 kB / 0.8807 GB, free: 4.219 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003479/0.004664, allocations: 351.3 kB / 0.881 GB, free: 3.875 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001982/0.004862, allocations: 248 kB / 0.8812 GB, free: 3.633 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 6.417e-05/0.004926, allocations: 57.19 kB / 0.8813 GB, free: 3.578 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 7.048e-05/0.004997, allocations: 59.94 kB / 0.8813 GB, free: 3.52 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 7.809e-05/0.005075, allocations: 127.6 kB / 0.8815 GB, free: 3.395 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001205/0.005195, allocations: 169.2 kB / 0.8816 GB, free: 3.23 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0005124/0.005708, allocations: 0.7672 MB / 0.8824 GB, free: 2.461 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.903e-06/0.00571, allocations: 0 / 0.8824 GB, free: 2.461 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.21e-07/0.00571, allocations: 0 / 0.8824 GB, free: 2.461 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.774e-06/0.005718, allocations: 4 kB / 0.8824 GB, free: 2.457 MB / 0.8386 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.001307/0.007025, allocations: 0.9414 MB / 0.8833 GB, free: 1.477 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.329e-05/0.007058, allocations: 12.03 kB / 0.8833 GB, free: 1.465 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002222/0.00728, allocations: 104.6 kB / 0.8834 GB, free: 1.363 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003812/0.007661, allocations: 373.4 kB / 0.8838 GB, free: 0.9688 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.727e-05/0.007689, allocations: 29.38 kB / 0.8838 GB, free: 0.9414 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.213e-05/0.007731, allocations: 36.36 kB / 0.8838 GB, free: 0.9062 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000802/0.008533, allocations: 0.7655 MB / 0.8846 GB, free: 88 kB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.008545, allocations: 4.188 kB / 0.8846 GB, free: 84 kB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.093e-05/0.008576, allocations: 12.38 kB / 0.8846 GB, free: 72 kB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.508e-06/0.008585, allocations: 11.94 kB / 0.8846 GB, free: 60 kB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009268/0.009512, allocations: 0.6022 MB / 0.8852 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001398/0.01091, allocations: 1.451 MB / 0.8866 GB, free: 13.96 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001089/0.012, allocations: 0.8744 MB / 0.8875 GB, free: 13.03 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003893/0.01239, allocations: 348.8 kB / 0.8878 GB, free: 12.67 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.642e-05/0.01241, allocations: 12 kB / 0.8878 GB, free: 12.66 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005925/0.01301, allocations: 0.5457 MB / 0.8883 GB, free: 12.08 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=51): time 1.773e-06/0.01301, allocations: 0 / 0.8883 GB, free: 12.08 MB / 0.8542 GB Notification: Performance of matching and sorting (n=51): time 0.001425/0.01443, allocations: 1.143 MB / 0.8895 GB, free: 10.93 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.143e-05/0.01453, allocations: 285 kB / 0.8897 GB, free: 10.59 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002564/0.01478, allocations: 364.4 kB / 0.8901 GB, free: 10.23 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 4.431e-05/0.01483, allocations: 53.69 kB / 0.8901 GB, free: 10.17 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001083/0.01493, allocations: 208.9 kB / 0.8903 GB, free: 9.961 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 7.954e-05/0.01501, allocations: 135 kB / 0.8905 GB, free: 9.828 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001136/0.01513, allocations: 110.3 kB / 0.8906 GB, free: 9.715 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 9.7e-05/0.01522, allocations: 362.8 kB / 0.8909 GB, free: 9.352 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004011/0.01563, allocations: 352.8 kB / 0.8912 GB, free: 8.996 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000493/0.01612, allocations: 0.5953 MB / 0.8918 GB, free: 8.305 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008067/0.01693, allocations: 0.7723 MB / 0.8926 GB, free: 7.461 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.01693, allocations: 4 kB / 0.8926 GB, free: 7.457 MB / 0.8542 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0009924/0.01792, allocations: 0.8934 MB / 0.8935 GB, free: 6.547 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.783e-05/0.01795, allocations: 37.64 kB / 0.8935 GB, free: 6.504 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.01796, allocations: 11.98 kB / 0.8935 GB, free: 6.492 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.01798, allocations: 4.438 kB / 0.8935 GB, free: 6.488 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002055/0.01818, allocations: 111.8 kB / 0.8936 GB, free: 6.379 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.989e-06/0.01819, allocations: 15.92 kB / 0.8936 GB, free: 6.363 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000222/0.01841, allocations: 99.67 kB / 0.8937 GB, free: 6.266 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.601e-05/0.01844, allocations: 23.98 kB / 0.8937 GB, free: 6.242 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004061/0.01885, allocations: 454.9 kB / 0.8942 GB, free: 5.785 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003731/0.01922, allocations: 0.5134 MB / 0.8947 GB, free: 5.18 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006012/0.01982, allocations: 0.632 MB / 0.8953 GB, free: 4.477 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.106e-06/0.01982, allocations: 0 / 0.8953 GB, free: 4.477 MB / 0.8542 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.0007652/0.02059, allocations: 0.7425 MB / 0.896 GB, free: 3.715 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.02061, allocations: 40.05 kB / 0.8961 GB, free: 3.672 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.02061, allocations: 11.94 kB / 0.8961 GB, free: 3.66 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.62e-06/0.02062, allocations: 8 kB / 0.8961 GB, free: 3.652 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001458/0.02076, allocations: 84.23 kB / 0.8962 GB, free: 3.57 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.02077, allocations: 15.94 kB / 0.8962 GB, free: 3.555 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001867/0.02096, allocations: 79.7 kB / 0.8963 GB, free: 3.477 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.133e-05/0.02098, allocations: 24 kB / 0.8963 GB, free: 3.453 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 56 (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,$PRE.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,$PRE.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,$PRE.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 (68): * Single equations (assignments): 67 * 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.000148/0.02112, allocations: 260 kB / 0.8965 GB, free: 3.191 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.098e-05/0.0212, allocations: 67.66 kB / 0.8966 GB, free: 3.125 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.059e-05/0.02126, allocations: 59.23 kB / 0.8966 GB, free: 3.07 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.032e-06/0.02126, allocations: 3.984 kB / 0.8966 GB, free: 3.066 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.02126, allocations: 0 / 0.8966 GB, free: 3.066 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.838e-05/0.0213, allocations: 47.69 kB / 0.8967 GB, free: 3.02 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.02e-05/0.02135, allocations: 19.98 kB / 0.8967 GB, free: 3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002416/0.02159, allocations: 107.8 kB / 0.8968 GB, free: 2.895 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.67e-05/0.02168, allocations: 55.86 kB / 0.8969 GB, free: 2.84 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001124/0.0228, allocations: 1.299 MB / 0.8981 GB, free: 1.535 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001097/0.0239, allocations: 1.374 MB / 0.8995 GB, free: 144 kB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004547/0.02436, allocations: 355.6 kB / 0.8998 GB, free: 15.79 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0001772/0.02453, allocations: 270.9 kB / 0.9001 GB, free: 15.52 MB / 0.8698 GB Notification: Performance of Backend: time 2.4e-07/0.02453, allocations: 0 / 0.9001 GB, free: 15.52 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001441/0.02597, allocations: 0.9937 MB / 0.901 GB, free: 14.49 MB / 0.8698 GB Notification: Performance of SimCode: time 0.00111/0.02708, allocations: 1.271 MB / 0.9023 GB, free: 13.17 MB / 0.8698 GB Notification: Performance of Templates: time 0.01144/0.03853, allocations: 11.44 MB / 0.9135 GB, free: 1.879 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.TrimAndRespond.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.TrimAndRespond.pipe ; mkfifo Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.TrimAndRespond.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.TrimAndRespond.pipe >> ../files/Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.TrimAndRespond.sim & ./Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.TrimAndRespond -abortSlowSimulation -alarm=800 -lv LOG_STATS > Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.TrimAndRespond.pipe 2>&1) [Timeout 800] [Calling sys.exit(0), Time elapsed: 5.134824218228459]