Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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.8.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.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.632/1.632, allocations: 288.4 MB / 304.3 MB, free: 8.137 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000914/0.0009142, allocations: 176.5 kB / 372.9 MB, free: 10.16 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.507/1.507, allocations: 205.4 MB / 0.6316 GB, free: 9.898 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008108/0.0008109, allocations: 106.3 kB / 0.745 GB, free: 5.797 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004249/0.0004249, allocations: 16.81 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2135/0.2139, allocations: 115.3 MB / 0.9807 GB, free: 27.35 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond): time 0.001897/0.2159, allocations: 1.711 MB / 0.9824 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0009008/0.2168, allocations: 0.6595 MB / 0.9831 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.567e-05/0.2169, allocations: 4 kB / 0.9831 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 4.48e-05/0.217, allocations: 15.8 kB / 0.9831 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001207/0.2171, allocations: 31.72 kB / 0.9831 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003249/0.2174, allocations: 87.83 kB / 0.9832 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003699/0.2178, allocations: 486.6 kB / 0.9837 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002722/0.2181, allocations: 238.2 kB / 0.9839 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000178/0.2183, allocations: 163.3 kB / 0.984 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001414/0.2184, allocations: 175.1 kB / 0.9842 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.198e-05/0.2185, allocations: 16 kB / 0.9842 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 3.748e-05/0.2185, allocations: 16 kB / 0.9842 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.616e-05/0.2186, allocations: 79.59 kB / 0.9843 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001288/0.2187, allocations: 200.6 kB / 0.9845 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003154/0.219, allocations: 0.5185 MB / 0.985 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.219, allocations: 0 / 0.985 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.703e-06/0.2191, allocations: 4 kB / 0.985 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.833e-06/0.2191, allocations: 4 kB / 0.985 GB, free: 22.93 MB / 0.6198 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.001696/0.2208, allocations: 0.9392 MB / 0.9859 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.2208, allocations: 8.031 kB / 0.9859 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.372e-05/0.2209, allocations: 52.38 kB / 0.986 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004145/0.2213, allocations: 411.7 kB / 0.9864 GB, free: 21.44 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.674e-05/0.2214, allocations: 29.38 kB / 0.9864 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.364e-05/0.2214, allocations: 40.3 kB / 0.9864 GB, free: 21.37 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001005/0.2225, allocations: 0.6938 MB / 0.9871 GB, free: 20.64 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.465e-05/0.2225, allocations: 0 / 0.9871 GB, free: 20.64 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.614e-05/0.2225, allocations: 15.98 kB / 0.9871 GB, free: 20.63 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.134e-05/0.2226, allocations: 11.98 kB / 0.9872 GB, free: 20.62 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001087/0.2236, allocations: 0.6306 MB / 0.9878 GB, free: 19.99 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001942/0.2256, allocations: 1.684 MB / 0.9894 GB, free: 18.23 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001591/0.2272, allocations: 0.9524 MB / 0.9903 GB, free: 17.23 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005519/0.2278, allocations: 368.8 kB / 0.9907 GB, free: 16.85 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.631e-05/0.2278, allocations: 11.98 kB / 0.9907 GB, free: 16.84 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007662/0.2286, allocations: 0.5487 MB / 0.9912 GB, free: 16.25 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=51): time 2.555e-06/0.2286, allocations: 0 / 0.9912 GB, free: 16.25 MB / 0.6198 GB Notification: Performance of matching and sorting (n=51): time 0.001979/0.2306, allocations: 1.147 MB / 0.9924 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.316e-05/0.2307, allocations: 281 kB / 0.9926 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003618/0.231, allocations: 437.5 kB / 0.993 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.761e-05/0.2311, allocations: 49.69 kB / 0.9931 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001188/0.2312, allocations: 204.9 kB / 0.9933 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.029e-05/0.2313, allocations: 134.4 kB / 0.9934 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.516e-05/0.2313, allocations: 12 kB / 0.9934 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.337e-05/0.2314, allocations: 362.7 kB / 0.9938 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005279/0.232, allocations: 308.8 kB / 0.9941 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005941/0.2326, allocations: 493.9 kB / 0.9945 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001058/0.2336, allocations: 0.7684 MB / 0.9953 GB, free: 11.87 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.768e-06/0.2336, allocations: 4 kB / 0.9953 GB, free: 11.87 MB / 0.6198 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001314/0.235, allocations: 0.843 MB / 0.9961 GB, free: 11.01 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001053/0.2351, allocations: 252 kB / 0.9964 GB, free: 10.69 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/0.2351, allocations: 11.98 kB / 0.9964 GB, free: 10.68 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.101e-05/0.2351, allocations: 8 kB / 0.9964 GB, free: 10.67 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003568/0.2355, allocations: 119.7 kB / 0.9965 GB, free: 10.55 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.203e-05/0.2355, allocations: 11.94 kB / 0.9965 GB, free: 10.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004044/0.2359, allocations: 111.6 kB / 0.9966 GB, free: 10.43 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.91e-05/0.236, allocations: 27.94 kB / 0.9966 GB, free: 10.41 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.471e-06/0.236, allocations: 4 kB / 0.9966 GB, free: 10.4 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008669/0.2369, allocations: 0.6125 MB / 0.9972 GB, free: 9.785 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.2369, allocations: 7.984 kB / 0.9972 GB, free: 9.777 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.083e-06/0.2369, allocations: 12 kB / 0.9973 GB, free: 9.766 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002355/0.2371, allocations: 71.83 kB / 0.9973 GB, free: 9.695 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.2371, allocations: 11.98 kB / 0.9973 GB, free: 9.684 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003027/0.2375, allocations: 75.62 kB / 0.9974 GB, free: 9.609 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.683e-05/0.2375, allocations: 28 kB / 0.9974 GB, free: 9.582 MB / 0.6198 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.0003598/0.2379, allocations: 364.8 kB / 0.9978 GB, free: 9.215 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.61e-05/0.2379, allocations: 51.38 kB / 0.9978 GB, free: 9.164 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.836e-05/0.238, allocations: 59.64 kB / 0.9979 GB, free: 9.102 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.2381, allocations: 7.984 kB / 0.9979 GB, free: 9.094 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.2381, allocations: 0 / 0.9979 GB, free: 9.094 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.153e-05/0.2382, allocations: 136.4 kB / 0.998 GB, free: 8.941 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.297e-05/0.2382, allocations: 19.98 kB / 0.998 GB, free: 8.922 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004572/0.2387, allocations: 123.8 kB / 0.9982 GB, free: 8.801 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001107/0.2388, allocations: 47.88 kB / 0.9982 GB, free: 8.754 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001587/0.2404, allocations: 1.336 MB / 0.9995 GB, free: 7.406 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001579/0.242, allocations: 1.371 MB / 1.001 GB, free: 6.02 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000598/0.2426, allocations: 387.6 kB / 1.001 GB, free: 5.641 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002661/0.2429, allocations: 307.1 kB / 1.002 GB, free: 5.344 MB / 0.6198 GB Notification: Performance of Backend: time 1.022e-06/0.2429, allocations: 0 / 1.002 GB, free: 5.344 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001953/0.2449, allocations: 0.9196 MB / 1.002 GB, free: 4.395 MB / 0.6198 GB Notification: Performance of SimCode: time 0.001591/0.2465, allocations: 1.372 MB / 1.004 GB, free: 2.977 MB / 0.6198 GB Notification: Performance of Templates: time 0.01437/0.2608, allocations: 9.299 MB / 1.013 GB, free: 9.75 MB / 0.6355 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond.makefile (rm -f Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond.sim & ./Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond.pipe 2>&1)