Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001275/0.001275, allocations: 118 kB / 16.38 MB, free: 6.02 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001254/0.001254, allocations: 189.1 kB / 17.31 MB, free: 5.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.447/1.447, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.767/1.767, allocations: 292.3 MB / 0.5496 GB, free: 17.36 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001393/0.001393, allocations: 72.47 kB / 0.6729 GB, free: 5.875 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2249/0.2263, allocations: 114.6 MB / 0.7848 GB, free: 3.203 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond): time 0.00342/0.2297, allocations: 2.05 MB / 0.7868 GB, free: 1.137 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001229/0.231, allocations: 0.7099 MB / 0.7875 GB, free: 428 kB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.419e-05/0.2311, allocations: 4 kB / 0.7875 GB, free: 424 kB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 6.462e-05/0.2312, allocations: 19.73 kB / 0.7875 GB, free: 404 kB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001238/0.2313, allocations: 39.59 kB / 0.7876 GB, free: 364 kB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004044/0.2317, allocations: 123.7 kB / 0.7877 GB, free: 240 kB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.3572/0.5889, allocations: 0.5587 MB / 0.7882 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003885/0.5893, allocations: 252.1 kB / 0.7885 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003757/0.5897, allocations: 236.8 kB / 0.7887 GB, free: 46.43 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002102/0.59, allocations: 234.3 kB / 0.7889 GB, free: 46.38 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 7.378e-05/0.59, allocations: 52.5 kB / 0.789 GB, free: 46.38 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 7.111e-05/0.5901, allocations: 52.5 kB / 0.789 GB, free: 46.38 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001074/0.5902, allocations: 127.5 kB / 0.7891 GB, free: 46.36 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002085/0.5904, allocations: 247.8 kB / 0.7894 GB, free: 46.29 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0005113/0.591, allocations: 0.6872 MB / 0.79 GB, free: 46.23 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.591, allocations: 0 / 0.79 GB, free: 46.23 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.743e-06/0.591, allocations: 0 / 0.79 GB, free: 46.23 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.987e-06/0.591, allocations: 3.188 kB / 0.79 GB, free: 46.23 MB / 0.6544 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.001883/0.5929, allocations: 1.003 MB / 0.791 GB, free: 45.69 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.437e-05/0.5929, allocations: 9.75 kB / 0.791 GB, free: 45.69 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.674e-05/0.593, allocations: 50.62 kB / 0.7911 GB, free: 45.67 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004776/0.5935, allocations: 417.1 kB / 0.7915 GB, free: 45.42 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.994e-05/0.5936, allocations: 30.83 kB / 0.7915 GB, free: 45.42 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.057e-05/0.5936, allocations: 37.47 kB / 0.7915 GB, free: 45.42 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001023/0.5947, allocations: 0.6754 MB / 0.7922 GB, free: 45.31 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.518e-05/0.5947, allocations: 3.938 kB / 0.7922 GB, free: 45.3 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.389e-05/0.5947, allocations: 13.28 kB / 0.7922 GB, free: 45.3 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.388e-06/0.5948, allocations: 10.22 kB / 0.7922 GB, free: 45.3 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00109/0.5959, allocations: 0.594 MB / 0.7928 GB, free: 45.3 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00194/0.5978, allocations: 1.639 MB / 0.7944 GB, free: 44.58 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001652/0.5995, allocations: 0.8925 MB / 0.7953 GB, free: 44.42 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005741/0.6001, allocations: 345.4 kB / 0.7956 GB, free: 44.37 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.757e-05/0.6001, allocations: 12.27 kB / 0.7956 GB, free: 44.37 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000812/0.6009, allocations: 0.524 MB / 0.7961 GB, free: 44.27 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=51): time 2.565e-06/0.6009, allocations: 0 / 0.7961 GB, free: 44.27 MB / 0.6544 GB Notification: Performance of matching and sorting (n=51): time 0.002117/0.6031, allocations: 1.09 MB / 0.7972 GB, free: 44.2 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.123e-05/0.6032, allocations: 276.9 kB / 0.7975 GB, free: 43.89 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004503/0.6036, allocations: 440.4 kB / 0.7979 GB, free: 43.77 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.299e-05/0.6037, allocations: 46.86 kB / 0.7979 GB, free: 43.74 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001448/0.6038, allocations: 207.5 kB / 0.7981 GB, free: 43.63 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001019/0.6039, allocations: 131.5 kB / 0.7983 GB, free: 43.56 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001757/0.6041, allocations: 117.9 kB / 0.7984 GB, free: 43.54 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000112/0.6042, allocations: 357.8 kB / 0.7987 GB, free: 43.23 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000663/0.6049, allocations: 297.2 kB / 0.799 GB, free: 43.21 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007863/0.6057, allocations: 484.7 kB / 0.7995 GB, free: 43.02 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001362/0.6071, allocations: 0.7322 MB / 0.8002 GB, free: 42.81 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.402e-06/0.6071, allocations: 6.875 kB / 0.8002 GB, free: 42.8 MB / 0.6544 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001732/0.6088, allocations: 0.8086 MB / 0.801 GB, free: 42.59 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.762e-05/0.6089, allocations: 33.86 kB / 0.801 GB, free: 42.55 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.17e-05/0.6089, allocations: 5.734 kB / 0.801 GB, free: 42.55 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.792e-05/0.6089, allocations: 7.562 kB / 0.801 GB, free: 42.55 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004087/0.6093, allocations: 98.78 kB / 0.8011 GB, free: 42.55 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.95e-05/0.6094, allocations: 12.62 kB / 0.8011 GB, free: 42.55 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000457/0.6098, allocations: 100.3 kB / 0.8012 GB, free: 42.52 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.683e-05/0.6099, allocations: 27.09 kB / 0.8012 GB, free: 42.52 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006469/0.6105, allocations: 399.1 kB / 0.8016 GB, free: 42.34 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005686/0.6111, allocations: 393.3 kB / 0.802 GB, free: 42.09 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009386/0.6121, allocations: 0.6074 MB / 0.8026 GB, free: 41.74 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.432e-06/0.6121, allocations: 1.5 kB / 0.8026 GB, free: 41.74 MB / 0.6544 GB Notification: Performance of matching and sorting (n=66) (initialization_lambda0): time 0.001309/0.6134, allocations: 0.6521 MB / 0.8032 GB, free: 41.51 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.412e-05/0.6135, allocations: 39.3 kB / 0.8033 GB, free: 41.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.6135, allocations: 7.312 kB / 0.8033 GB, free: 41.48 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.045e-05/0.6135, allocations: 9.75 kB / 0.8033 GB, free: 41.48 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002624/0.6137, allocations: 75.58 kB / 0.8034 GB, free: 41.47 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.434e-05/0.6138, allocations: 11.48 kB / 0.8034 GB, free: 41.47 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000387/0.6142, allocations: 71.62 kB / 0.8034 GB, free: 41.45 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.256e-05/0.6142, allocations: 21.36 kB / 0.8035 GB, free: 41.45 MB / 0.6544 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.0002778/0.6145, allocations: 265.3 kB / 0.8037 GB, free: 41.23 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001004/0.6146, allocations: 50.66 kB / 0.8038 GB, free: 41.2 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000146/0.6148, allocations: 54.11 kB / 0.8038 GB, free: 41.17 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.408e-05/0.6148, allocations: 4.516 kB / 0.8038 GB, free: 41.17 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.6148, allocations: 1.312 kB / 0.8038 GB, free: 41.17 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 9.836e-05/0.6149, allocations: 126 kB / 0.8039 GB, free: 41.05 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.186e-05/0.615, allocations: 21.52 kB / 0.804 GB, free: 41.04 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005917/0.6156, allocations: 102 kB / 0.804 GB, free: 41.04 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001872/0.6158, allocations: 52.89 kB / 0.8041 GB, free: 41.02 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002389/0.6182, allocations: 1.279 MB / 0.8053 GB, free: 40.38 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001981/0.6202, allocations: 1.34 MB / 0.8067 GB, free: 39.61 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008303/0.621, allocations: 369.1 kB / 0.807 GB, free: 39.52 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0003505/0.6214, allocations: 315 kB / 0.8073 GB, free: 39.38 MB / 0.6544 GB Notification: Performance of Backend: time 5.51e-07/0.6214, allocations: 1.344 kB / 0.8073 GB, free: 39.38 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002549/0.6239, allocations: 0.889 MB / 0.8082 GB, free: 39.04 MB / 0.6544 GB Notification: Performance of SimCode: time 0.001862/0.6258, allocations: 1.272 MB / 0.8094 GB, free: 38.18 MB / 0.6544 GB Notification: Performance of Templates: time 0.02324/0.6491, allocations: 10.2 MB / 0.8194 GB, free: 37.79 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond.makefile (rm -f Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond.pipe ; mkfifo Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond.pipe ; head -c 1048576 < Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond.pipe >> ../files/Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond.sim & ./Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond.pipe 2>&1)