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: "" <> buildModelFMU(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_TrimAndRespond",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_TrimAndRespond",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.744/1.744, allocations: 288.2 MB / 303.2 MB, free: 8.125 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.001211/0.001212, allocations: 192 kB / 371.8 MB, free: 10.29 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.093/2.093, allocations: 205.4 MB / 0.6305 GB, free: 10.04 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.0009228/0.0009235, allocations: 101 kB / 0.7439 GB, free: 5.969 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006994/0.0006994, allocations: 11.34 kB / 0.8669 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3933/0.394, allocations: 115.3 MB / 0.9795 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9492/1.343, allocations: 141.6 MB / 1.118 GB, free: 16.36 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002436/1.344, allocations: 94.83 kB / 1.118 GB, free: 16.36 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0215/1.365, allocations: 7.892 MB / 1.126 GB, free: 31.45 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.035e-06/1.365, allocations: 0 / 1.126 GB, free: 31.45 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.717e-05/1.365, allocations: 15.53 kB / 1.126 GB, free: 31.45 MB / 0.698 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.002228/1.368, allocations: 0.9426 MB / 1.127 GB, free: 30.88 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.158e-05/1.368, allocations: 11.56 kB / 1.127 GB, free: 30.88 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001911/1.368, allocations: 70.22 kB / 1.127 GB, free: 30.84 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001669/1.368, allocations: 58.14 kB / 1.127 GB, free: 30.81 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000715/1.369, allocations: 409.4 kB / 1.127 GB, free: 30.58 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.638e-05/1.369, allocations: 24.09 kB / 1.127 GB, free: 30.58 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.491e-05/1.369, allocations: 37.53 kB / 1.127 GB, free: 30.58 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001148/1.37, allocations: 0.6664 MB / 1.128 GB, free: 30.36 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.527e-05/1.37, allocations: 3.938 kB / 1.128 GB, free: 30.36 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.176e-05/1.37, allocations: 19.11 kB / 1.128 GB, free: 30.36 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.159e-05/1.37, allocations: 11.8 kB / 1.128 GB, free: 30.35 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00114/1.371, allocations: 0.6085 MB / 1.128 GB, free: 30.2 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00286/1.374, allocations: 1.681 MB / 1.13 GB, free: 29.15 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001659/1.376, allocations: 0.9468 MB / 1.131 GB, free: 28.77 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.282e-05/1.376, allocations: 15.7 kB / 1.131 GB, free: 28.77 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008871/1.377, allocations: 0.5467 MB / 1.132 GB, free: 28.5 MB / 0.698 GB Notification: Performance of pre-optimization done (n=51): time 4.819e-06/1.377, allocations: 0 / 1.132 GB, free: 28.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=51): time 0.002245/1.379, allocations: 1.15 MB / 1.133 GB, free: 28.17 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001757/1.379, allocations: 283.4 kB / 1.133 GB, free: 27.85 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005011/1.38, allocations: 391.7 kB / 1.133 GB, free: 27.69 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.145e-05/1.38, allocations: 51.25 kB / 1.133 GB, free: 27.65 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001651/1.38, allocations: 202.9 kB / 1.134 GB, free: 27.53 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001215/1.38, allocations: 129.5 kB / 1.134 GB, free: 27.45 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.285e-05/1.38, allocations: 14.34 kB / 1.134 GB, free: 27.45 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001753/1.38, allocations: 359.8 kB / 1.134 GB, free: 27.12 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000571/1.381, allocations: 305.9 kB / 1.134 GB, free: 27.05 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006573/1.382, allocations: 497.7 kB / 1.135 GB, free: 26.76 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006125/1.382, allocations: 368.6 kB / 1.135 GB, free: 26.64 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.11e-05/1.382, allocations: 3.875 kB / 1.135 GB, free: 26.64 MB / 0.698 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001442/1.384, allocations: 0.8346 MB / 1.136 GB, free: 26.38 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007957/1.384, allocations: 1.871 MB / 1.138 GB, free: 24.41 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.88e-05/1.384, allocations: 7.719 kB / 1.138 GB, free: 24.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.438e-05/1.385, allocations: 8.328 kB / 1.138 GB, free: 24.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005204/1.385, allocations: 116.5 kB / 1.138 GB, free: 24.36 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.686e-05/1.385, allocations: 3.969 kB / 1.138 GB, free: 24.36 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005523/1.386, allocations: 100.2 kB / 1.138 GB, free: 24.33 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.293e-05/1.386, allocations: 30.94 kB / 1.138 GB, free: 24.32 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/1.386, allocations: 3.844 kB / 1.138 GB, free: 24.32 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009538/1.387, allocations: 0.6048 MB / 1.139 GB, free: 24.17 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.258e-05/1.387, allocations: 11.72 kB / 1.139 GB, free: 24.16 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/1.387, allocations: 12.11 kB / 1.139 GB, free: 24.16 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002537/1.387, allocations: 79.27 kB / 1.139 GB, free: 24.13 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.098e-05/1.387, allocations: 15.64 kB / 1.139 GB, free: 24.12 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003963/1.387, allocations: 75.47 kB / 1.139 GB, free: 24.09 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.488e-05/1.387, allocations: 22.28 kB / 1.139 GB, free: 24.09 MB / 0.698 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.0004724/1.388, allocations: 365 kB / 1.139 GB, free: 23.85 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001166/1.388, allocations: 42.78 kB / 1.139 GB, free: 23.83 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001271/1.388, allocations: 62.44 kB / 1.139 GB, free: 23.81 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.975e-06/1.388, allocations: 7.625 kB / 1.139 GB, free: 23.81 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.089e-05/1.388, allocations: 0 / 1.139 GB, free: 23.81 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/1.388, allocations: 7.906 kB / 1.139 GB, free: 23.81 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002766/1.391, allocations: 1.935 MB / 1.141 GB, free: 22.77 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.103e-06/1.391, allocations: 3.875 kB / 1.141 GB, free: 22.77 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002917/1.391, allocations: 93.27 kB / 1.141 GB, free: 22.73 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.598e-06/1.391, allocations: 3.844 kB / 1.141 GB, free: 22.73 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.532e-05/1.391, allocations: 10.78 kB / 1.141 GB, free: 22.73 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.717e-06/1.391, allocations: 15.73 kB / 1.141 GB, free: 22.72 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/1.391, allocations: 0 / 1.141 GB, free: 22.72 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001645/1.393, allocations: 1.334 MB / 1.143 GB, free: 21.93 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001728/1.393, allocations: 127.5 kB / 1.143 GB, free: 21.81 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.948e-05/1.393, allocations: 18.36 kB / 1.143 GB, free: 21.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006929/1.394, allocations: 123.9 kB / 1.143 GB, free: 21.76 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001312/1.394, allocations: 51.95 kB / 1.143 GB, free: 21.74 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.179e-05/1.394, allocations: 15.19 kB / 1.143 GB, free: 21.74 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003452/1.395, allocations: 312.7 kB / 1.143 GB, free: 21.61 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/1.395, allocations: 4 kB / 1.143 GB, free: 21.6 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0009995/1.396, allocations: 192.9 kB / 1.143 GB, free: 21.58 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 39 (triAndRes[3].sampleTrigger,$whenCondition1,triAndRes[3].firstTrigger,triAndRes[3].uniDel1.sampleTrigger,triAndRes[3].sam.sampleTrigger,$whenCondition3,$whenCondition2,triAndRes[3].incY.y,triAndRes[3].sam.firstTrigger,triAndRes[3].sam.y,triAndRes[3].uniDel1.firstTrigger,triAndRes[3].uniDel1.y,triAndRes[2].sampleTrigger,$whenCondition4,triAndRes[2].firstTrigger,triAndRes[2].uniDel1.sampleTrigger,triAndRes[2].sam.sampleTrigger,$whenCondition6,$whenCondition5,triAndRes[2].incY.y,triAndRes[2].sam.firstTrigger,triAndRes[2].sam.y,triAndRes[2].uniDel1.firstTrigger,triAndRes[2].uniDel1.y,triAndRes[1].sampleTrigger,$whenCondition7,triAndRes[1].firstTrigger,triAndRes[1].uniDel1.sampleTrigger,triAndRes[1].sam.sampleTrigger,$whenCondition10,$whenCondition9,$whenCondition8,act1.T_start,act1.count,triAndRes[1].incY.y,triAndRes[1].sam.firstTrigger,triAndRes[1].sam.y,triAndRes[1].uniDel1.firstTrigger,triAndRes[1].uniDel1.y) * Number of discrete states: 4 (act1.count,triAndRes[1].uniDel1.u,triAndRes[2].uniDel1.u,triAndRes[3].uniDel1.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 17 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002219/1.398, allocations: 2.265 MB / 1.146 GB, free: 19.91 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002046/1.4, allocations: 1.141 MB / 1.147 GB, free: 19.52 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/1.4, allocations: 7.781 kB / 1.147 GB, free: 19.52 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006913/1.401, allocations: 402.3 kB / 1.147 GB, free: 19.42 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007175/1.401, allocations: 80.25 kB / 1.147 GB, free: 19.4 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008098/1.409, allocations: 6.531 MB / 1.154 GB, free: 14.81 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006029/1.41, allocations: 0.92 MB / 1.154 GB, free: 14.03 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0005367/1.411, allocations: 208.6 kB / 1.155 GB, free: 13.95 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002412/1.411, allocations: 142.4 kB / 1.155 GB, free: 13.93 MB / 0.698 GB Notification: Performance of SimCode: time 1.233e-06/1.411, allocations: 0 / 1.155 GB, free: 13.93 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02593/1.437, allocations: 10.43 MB / 1.165 GB, free: 6.734 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001734/1.437, allocations: 211.2 kB / 1.165 GB, free: 6.5 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.379/3.816, allocations: 13.48 kB / 1.165 GB, free: 6.492 MB / 0.698 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_TrimAndRespond_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_TrimAndRespond.fmu > Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond.pipe 2>&1)