Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Examples.ChillerPlant.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.0009158/0.0009158, allocations: 80.88 kB / 21.55 MB, free: 2.945 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.000969/0.000969, allocations: 163.7 kB / 24.97 MB, free: 8.656 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.9206/0.9206, allocations: 177.1 MB / 205.4 MB, free: 5.508 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.867/1.867, allocations: 389.6 MB / 0.6362 GB, free: 12.32 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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.BaseClasses.Controls.Examples.TrimAndRespond,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond") translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.314e-06/2.314e-06, allocations: 0.5469 kB / 0.776 GB, free: 5.379 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.928e-05/2.159e-05, allocations: 2.312 kB / 0.776 GB, free: 5.375 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond): time 0.002516/0.002537, allocations: 2.133 MB / 0.7781 GB, free: 3.262 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.000988/0.003525, allocations: 0.7446 MB / 0.7788 GB, free: 2.52 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.827e-05/0.003614, allocations: 7.938 kB / 0.7788 GB, free: 2.512 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 5.45e-05/0.003668, allocations: 19.73 kB / 0.7788 GB, free: 2.492 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001125/0.003781, allocations: 44.91 kB / 0.7789 GB, free: 2.453 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003337/0.004114, allocations: 144.2 kB / 0.779 GB, free: 2.312 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0004034/0.004518, allocations: 0.5836 MB / 0.7796 GB, free: 1.73 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001606/0.004678, allocations: 131.4 kB / 0.7797 GB, free: 1.602 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003178/0.004996, allocations: 355.2 kB / 0.78 GB, free: 1.254 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002005/0.005197, allocations: 255.4 kB / 0.7803 GB, free: 1.004 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 5.481e-05/0.005251, allocations: 56 kB / 0.7803 GB, free: 0.9492 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 7.899e-05/0.00533, allocations: 56 kB / 0.7804 GB, free: 0.8945 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 7.554e-05/0.005406, allocations: 127.6 kB / 0.7805 GB, free: 0.7695 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0001148/0.005521, allocations: 171.6 kB / 0.7807 GB, free: 0.6016 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0003504/0.005871, allocations: 489.2 kB / 0.7811 GB, free: 128 kB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.934e-06/0.005873, allocations: 0 / 0.7811 GB, free: 128 kB / 0.7292 GB Notification: Performance of FrontEnd: time 6.41e-07/0.005874, allocations: 0 / 0.7811 GB, free: 128 kB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.005879, allocations: 0 / 0.7811 GB, free: 128 kB / 0.7292 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.0009902/0.006869, allocations: 0.7972 MB / 0.7819 GB, free: 15.3 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.392e-05/0.006903, allocations: 14.58 kB / 0.7819 GB, free: 15.29 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001864/0.007089, allocations: 80.86 kB / 0.782 GB, free: 15.21 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002924/0.007381, allocations: 246.4 kB / 0.7822 GB, free: 14.95 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.953e-05/0.007411, allocations: 33.36 kB / 0.7823 GB, free: 14.91 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.905e-05/0.00745, allocations: 41 kB / 0.7823 GB, free: 14.88 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004273/0.007877, allocations: 457.8 kB / 0.7827 GB, free: 14.38 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.007887, allocations: 1 kB / 0.7827 GB, free: 14.38 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.061e-05/0.007918, allocations: 20.36 kB / 0.7828 GB, free: 14.36 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.415e-06/0.007926, allocations: 12.47 kB / 0.7828 GB, free: 14.35 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001546/0.008081, allocations: 93.25 kB / 0.7829 GB, free: 14.26 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008996/0.008981, allocations: 0.9512 MB / 0.7838 GB, free: 13.28 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003662/0.009347, allocations: 298.8 kB / 0.7841 GB, free: 12.93 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.08e-05/0.009438, allocations: 77.12 kB / 0.7841 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.5e-05/0.009463, allocations: 19.92 kB / 0.7842 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002639/0.009727, allocations: 273.8 kB / 0.7844 GB, free: 12.53 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=51): time 1.443e-06/0.009728, allocations: 0 / 0.7844 GB, free: 12.53 MB / 0.7448 GB Notification: Performance of matching and sorting (n=51): time 0.0003798/0.01011, allocations: 276.1 kB / 0.7847 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.26e-05/0.0102, allocations: 284.9 kB / 0.785 GB, free: 11.91 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001548/0.01036, allocations: 274.9 kB / 0.7852 GB, free: 11.63 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.828e-05/0.01039, allocations: 53.69 kB / 0.7853 GB, free: 11.57 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.579e-05/0.01047, allocations: 175.4 kB / 0.7854 GB, free: 11.4 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 7.44e-05/0.01054, allocations: 135 kB / 0.7856 GB, free: 11.27 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001072/0.01065, allocations: 106.3 kB / 0.7857 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.359e-05/0.01074, allocations: 362.7 kB / 0.786 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.995e-05/0.01083, allocations: 81.16 kB / 0.7861 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001781/0.01101, allocations: 332 kB / 0.7864 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000261/0.01127, allocations: 333.5 kB / 0.7867 GB, free: 9.898 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.01128, allocations: 0 / 0.7867 GB, free: 9.898 MB / 0.7448 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0003252/0.0116, allocations: 362.6 kB / 0.7871 GB, free: 9.531 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.386e-05/0.01163, allocations: 38.67 kB / 0.7871 GB, free: 9.488 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.01163, allocations: 4 kB / 0.7871 GB, free: 9.484 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/0.01165, allocations: 11.94 kB / 0.7871 GB, free: 9.473 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001807/0.01183, allocations: 88.5 kB / 0.7872 GB, free: 9.387 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.01184, allocations: 12.44 kB / 0.7872 GB, free: 9.375 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001581/0.01199, allocations: 66.8 kB / 0.7873 GB, free: 9.312 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.559e-05/0.01202, allocations: 20 kB / 0.7873 GB, free: 9.293 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001338/0.01215, allocations: 171 kB / 0.7875 GB, free: 9.117 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001696/0.01232, allocations: 325.8 kB / 0.7878 GB, free: 8.699 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002304/0.01255, allocations: 329.2 kB / 0.7881 GB, free: 8.312 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.505e-06/0.01256, allocations: 4 kB / 0.7881 GB, free: 8.309 MB / 0.7448 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.0002955/0.01285, allocations: 348.1 kB / 0.7884 GB, free: 7.953 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.01287, allocations: 37.69 kB / 0.7885 GB, free: 7.91 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.457e-06/0.01287, allocations: 5.062 kB / 0.7885 GB, free: 7.906 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.283e-06/0.01288, allocations: 8 kB / 0.7885 GB, free: 7.898 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001392/0.01302, allocations: 84.95 kB / 0.7886 GB, free: 7.816 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/0.01302, allocations: 8 kB / 0.7886 GB, free: 7.809 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001426/0.01317, allocations: 56.77 kB / 0.7886 GB, free: 7.754 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.878e-05/0.01318, allocations: 16 kB / 0.7886 GB, free: 7.738 MB / 0.7448 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.0001395/0.01332, allocations: 271.5 kB / 0.7889 GB, free: 7.469 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.413e-05/0.01338, allocations: 43.95 kB / 0.7889 GB, free: 7.426 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.57e-05/0.01343, allocations: 52.17 kB / 0.789 GB, free: 7.367 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/0.01344, allocations: 7.922 kB / 0.789 GB, free: 7.359 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.01344, allocations: 4 kB / 0.789 GB, free: 7.355 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.156e-05/0.01347, allocations: 40.69 kB / 0.789 GB, free: 7.316 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.463e-05/0.01352, allocations: 19.98 kB / 0.7891 GB, free: 7.297 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001618/0.01368, allocations: 62.03 kB / 0.7891 GB, free: 7.238 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.553e-05/0.01375, allocations: 44.55 kB / 0.7892 GB, free: 7.195 MB / 0.7448 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003624/0.01411, allocations: 0.6769 MB / 0.7898 GB, free: 6.512 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003747/0.01448, allocations: 0.7822 MB / 0.7906 GB, free: 5.711 MB / 0.7448 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000119/0.0146, allocations: 108.1 kB / 0.7907 GB, free: 5.605 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 7.145e-05/0.01467, allocations: 104.6 kB / 0.7908 GB, free: 5.504 MB / 0.7448 GB Notification: Performance of Backend: time 2.31e-07/0.01467, allocations: 0 / 0.7908 GB, free: 5.504 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0008296/0.0155, allocations: 0.574 MB / 0.7913 GB, free: 4.891 MB / 0.7448 GB Notification: Performance of SimCode: time 0.001119/0.01662, allocations: 1.266 MB / 0.7926 GB, free: 3.574 MB / 0.7448 GB Notification: Performance of Templates: time 0.01206/0.02868, allocations: 12.02 MB / 0.8043 GB, free: 7.832 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond.pipe ; mkfifo Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond.pipe ; head -c 1048576 < Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond.pipe >> ../files/Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond.sim & ./Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.879642224870622]