Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.528/2.528, allocations: 251.1 MB / 266.7 MB, free: 11.62 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.001425/0.001425, allocations: 175.8 kB / 326.2 MB, free: 2.879 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.439/2.439, allocations: 205.4 MB / 0.5772 GB, free: 20.75 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.0009955/0.0009945, allocations: 96.08 kB / 0.6817 GB, free: 13.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006342/0.0006349, allocations: 13.09 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2053/0.206, allocations: 106.3 MB / 0.8995 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond): time 0.002499/0.2086, allocations: 1.701 MB / 0.9012 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001454/0.2101, allocations: 0.6712 MB / 0.9018 GB, free: 63.13 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001516/0.2103, allocations: 7.938 kB / 0.9018 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 5.091e-05/0.2103, allocations: 11.86 kB / 0.9018 GB, free: 63.11 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001577/0.2105, allocations: 27.72 kB / 0.9019 GB, free: 63.08 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004834/0.211, allocations: 91.88 kB / 0.902 GB, free: 62.99 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0005401/0.2115, allocations: 482.6 kB / 0.9024 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003817/0.2119, allocations: 216 kB / 0.9026 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002898/0.2122, allocations: 163.3 kB / 0.9028 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002241/0.2125, allocations: 179 kB / 0.903 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 6.956e-05/0.2126, allocations: 16 kB / 0.903 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.308e-05/0.2126, allocations: 16 kB / 0.903 GB, free: 61.94 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.004e-05/0.2127, allocations: 71.66 kB / 0.9031 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 9.869e-05/0.2128, allocations: 101.5 kB / 0.9031 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0005556/0.2134, allocations: 0.5186 MB / 0.9037 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.2134, allocations: 0 / 0.9037 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.004e-06/0.2134, allocations: 0 / 0.9037 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.377e-06/0.2135, allocations: 0 / 0.9037 GB, free: 61.24 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.003117/0.2166, allocations: 0.9547 MB / 0.9046 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/0.2166, allocations: 8.031 kB / 0.9046 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001633/0.2168, allocations: 56.22 kB / 0.9046 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006876/0.2175, allocations: 404 kB / 0.905 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.877e-05/0.2176, allocations: 25.38 kB / 0.9051 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001061/0.2177, allocations: 40.36 kB / 0.9051 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001878/0.2196, allocations: 0.6898 MB / 0.9058 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.205e-05/0.2197, allocations: 4 kB / 0.9058 GB, free: 58.94 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.108e-05/0.2198, allocations: 12 kB / 0.9058 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.29e-05/0.2198, allocations: 8 kB / 0.9058 GB, free: 58.92 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002247/0.222, allocations: 0.6339 MB / 0.9064 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003816/0.2259, allocations: 1.676 MB / 0.908 GB, free: 56.54 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00411/0.2301, allocations: 0.9507 MB / 0.909 GB, free: 55.54 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001172/0.2313, allocations: 364.8 kB / 0.9093 GB, free: 55.16 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 5.881e-05/0.2314, allocations: 15.98 kB / 0.9093 GB, free: 55.15 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001525/0.2329, allocations: 0.5448 MB / 0.9099 GB, free: 54.57 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=51): time 4.418e-06/0.233, allocations: 3.938 kB / 0.9099 GB, free: 54.57 MB / 0.6042 GB Notification: Performance of matching and sorting (n=51): time 0.0041/0.2371, allocations: 1.147 MB / 0.911 GB, free: 53.42 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001107/0.2372, allocations: 288.9 kB / 0.9113 GB, free: 53.07 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000709/0.2379, allocations: 433.5 kB / 0.9117 GB, free: 52.64 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001961/0.2382, allocations: 49.69 kB / 0.9117 GB, free: 52.59 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002053/0.2384, allocations: 204.9 kB / 0.9119 GB, free: 52.39 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001773/0.2386, allocations: 134.3 kB / 0.9121 GB, free: 52.25 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.313e-05/0.2387, allocations: 12 kB / 0.9121 GB, free: 52.24 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001057/0.2388, allocations: 362.7 kB / 0.9124 GB, free: 51.88 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00114/0.2399, allocations: 308.8 kB / 0.9127 GB, free: 51.58 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001233/0.2412, allocations: 493.9 kB / 0.9132 GB, free: 51.02 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001139/0.2424, allocations: 369.4 kB / 0.9135 GB, free: 50.65 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.116e-06/0.2424, allocations: 8 kB / 0.9135 GB, free: 50.64 MB / 0.6042 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.004285/0.2467, allocations: 0.8402 MB / 0.9144 GB, free: 49.79 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001479/0.2469, allocations: 256 kB / 0.9146 GB, free: 49.47 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.361e-05/0.2469, allocations: 4 kB / 0.9146 GB, free: 49.46 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.596e-05/0.2469, allocations: 11.98 kB / 0.9146 GB, free: 49.45 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000711/0.2477, allocations: 119.8 kB / 0.9147 GB, free: 49.34 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.692e-05/0.2477, allocations: 11.94 kB / 0.9147 GB, free: 49.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008435/0.2485, allocations: 111.6 kB / 0.9149 GB, free: 49.21 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.286e-05/0.2486, allocations: 24 kB / 0.9149 GB, free: 49.19 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.2487, allocations: 8 kB / 0.9149 GB, free: 49.18 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001682/0.2503, allocations: 0.6026 MB / 0.9155 GB, free: 48.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.2504, allocations: 4 kB / 0.9155 GB, free: 48.57 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.2504, allocations: 8.438 kB / 0.9155 GB, free: 48.56 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000626/0.251, allocations: 79.81 kB / 0.9156 GB, free: 48.48 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.368e-05/0.2511, allocations: 12.25 kB / 0.9156 GB, free: 48.47 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001019/0.2521, allocations: 75.62 kB / 0.9156 GB, free: 48.4 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.949e-05/0.2522, allocations: 24 kB / 0.9157 GB, free: 48.38 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 ($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.0005767/0.2528, allocations: 368.8 kB / 0.916 GB, free: 48 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001369/0.253, allocations: 51.42 kB / 0.9161 GB, free: 47.95 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001302/0.2531, allocations: 55.47 kB / 0.9161 GB, free: 47.89 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.06e-05/0.2531, allocations: 3.984 kB / 0.9161 GB, free: 47.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/0.2532, allocations: 0 / 0.9161 GB, free: 47.89 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001015/0.2533, allocations: 128.6 kB / 0.9162 GB, free: 47.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001166/0.2534, allocations: 19.98 kB / 0.9163 GB, free: 47.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009785/0.2544, allocations: 123.8 kB / 0.9164 GB, free: 47.61 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001764/0.2546, allocations: 55.81 kB / 0.9164 GB, free: 47.55 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003171/0.2578, allocations: 1.347 MB / 0.9178 GB, free: 46.2 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002668/0.2605, allocations: 1.37 MB / 0.9191 GB, free: 44.8 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001214/0.2617, allocations: 385.8 kB / 0.9195 GB, free: 44.43 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0004455/0.2622, allocations: 307.1 kB / 0.9198 GB, free: 44.12 MB / 0.6042 GB Notification: Performance of Backend: time 4.41e-07/0.2622, allocations: 0 / 0.9198 GB, free: 44.12 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.003278/0.2655, allocations: 0.9201 MB / 0.9206 GB, free: 43.18 MB / 0.6042 GB Notification: Performance of SimCode: time 0.002196/0.2678, allocations: 1.372 MB / 0.922 GB, free: 41.76 MB / 0.6042 GB Notification: Performance of Templates: time 0.03299/0.3008, allocations: 9.183 MB / 0.931 GB, free: 32.62 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond.makefile (rm -f Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond.pipe ; mkfifo Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond.pipe >> ../files/Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond.sim & ./Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond.pipe 2>&1)