Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_WetCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_WetCoil",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.498/2.498, allocations: 284.9 MB / 292.4 MB, free: 10.57 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.001459/0.001459, allocations: 188.8 kB / 360.6 MB, free: 7.289 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.083/2.083, allocations: 205.3 MB / 0.6191 GB, free: 12.21 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001116/0.001116, allocations: 95.47 kB / 0.7321 GB, free: 44.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.136e-05/3.134e-05, allocations: 8 kB / 0.8509 GB, free: 3.32 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7849/0.7849, allocations: 115.3 MB / 0.9634 GB, free: 78.51 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.007/6.792, allocations: 2.08 GB / 3.043 GB, free: 38.71 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000336/6.793, allocations: 103.9 kB / 3.044 GB, free: 38.65 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.144/7.936, allocations: 143 MB / 3.183 GB, free: 288.8 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.244e-06/7.936, allocations: 4 kB / 3.183 GB, free: 288.8 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0003111/7.937, allocations: 36.16 kB / 3.183 GB, free: 288.8 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.007943/7.945, allocations: 2.229 MB / 3.185 GB, free: 286.5 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.98e-05/7.945, allocations: 8.031 kB / 3.185 GB, free: 286.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04126/7.986, allocations: 2.931 MB / 3.188 GB, free: 283.6 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008723/7.995, allocations: 2.834 MB / 3.191 GB, free: 280.7 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004168/7.995, allocations: 170.3 kB / 3.191 GB, free: 280.6 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005375/7.996, allocations: 36 kB / 3.191 GB, free: 280.5 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007696/8.003, allocations: 3.551 MB / 3.195 GB, free: 277 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005573/8.009, allocations: 2.577 MB / 3.197 GB, free: 274.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.05e-05/8.009, allocations: 0 / 3.197 GB, free: 274.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003927/8.01, allocations: 8.328 kB / 3.197 GB, free: 274.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.428e-05/8.01, allocations: 15.95 kB / 3.197 GB, free: 274.3 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0342/8.044, allocations: 8.69 MB / 3.206 GB, free: 265.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01678/8.061, allocations: 3.973 MB / 3.21 GB, free: 261.6 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003327/8.064, allocations: 1.607 MB / 3.211 GB, free: 260 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001488/8.064, allocations: 24.36 kB / 3.211 GB, free: 260 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00488/8.069, allocations: 2.344 MB / 3.213 GB, free: 257.6 MB / 0.948 GB Notification: Performance of pre-optimization done (n=79): time 5.29e-06/8.069, allocations: 0 / 3.213 GB, free: 257.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=79): time 0.04852/8.118, allocations: 5.14 MB / 3.218 GB, free: 252.5 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.64e-05/8.118, allocations: 97.8 kB / 3.219 GB, free: 252.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01001/8.128, allocations: 3.994 MB / 3.222 GB, free: 248.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.001065/8.129, allocations: 49.62 kB / 3.222 GB, free: 248.3 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002126/8.131, allocations: 0.9783 MB / 3.223 GB, free: 247.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000899/8.132, allocations: 232.7 kB / 3.224 GB, free: 247.1 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004378/8.133, allocations: 4 kB / 3.224 GB, free: 247.1 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001538/8.133, allocations: 345.9 kB / 3.224 GB, free: 246.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004516/8.137, allocations: 2.127 MB / 3.226 GB, free: 244.6 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004639/8.142, allocations: 2.17 MB / 3.228 GB, free: 242.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05088/8.193, allocations: 11.36 MB / 3.239 GB, free: 231.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.499e-05/8.193, allocations: 0 / 3.239 GB, free: 231.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=115) (initialization): time 0.09251/8.285, allocations: 15.55 MB / 3.254 GB, free: 215.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002917/8.286, allocations: 389.8 kB / 3.255 GB, free: 215.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.234e-05/8.286, allocations: 4 kB / 3.255 GB, free: 215.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006722/8.293, allocations: 0.9531 MB / 3.256 GB, free: 214.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008232/8.301, allocations: 0.6559 MB / 3.256 GB, free: 213.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006231/8.307, allocations: 4.843 MB / 3.261 GB, free: 208.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009821/8.317, allocations: 0.5652 MB / 3.262 GB, free: 207.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001044/8.318, allocations: 151.9 kB / 3.262 GB, free: 207.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/8.318, allocations: 4.938 kB / 3.262 GB, free: 207.7 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.09001/8.408, allocations: 15.21 MB / 3.277 GB, free: 192.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.911e-05/8.408, allocations: 0 / 3.277 GB, free: 192.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005188/8.413, allocations: 0.8674 MB / 3.278 GB, free: 191.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00812/8.422, allocations: 0.6592 MB / 3.278 GB, free: 190.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009135/8.431, allocations: 8.222 MB / 3.286 GB, free: 182 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009614/8.44, allocations: 0.5537 MB / 3.287 GB, free: 181.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009801/8.442, allocations: 155.9 kB / 3.287 GB, free: 181.3 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 33 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition9,wetCoi.cooCap.stage,$PRE.wetCoi.cooCap.checkBoundsTEva[1],wetCoi.cooCap.checkBoundsTEva[1],$PRE.wetCoi.cooCap.checkBoundsTEva[2],wetCoi.cooCap.checkBoundsTEva[2],$PRE.wetCoi.cooCap.checkBoundsTEva[3],wetCoi.cooCap.checkBoundsTEva[3],$PRE.wetCoi.cooCap.checkBoundsTEva[4],wetCoi.cooCap.checkBoundsTEva[4],$PRE.wetCoi.cooCap.checkBoundsTCon[1],wetCoi.cooCap.checkBoundsTCon[1],$PRE.wetCoi.cooCap.checkBoundsTCon[2],wetCoi.cooCap.checkBoundsTCon[2],$PRE.wetCoi.cooCap.checkBoundsTCon[3],wetCoi.cooCap.checkBoundsTCon[3],$PRE.wetCoi.cooCap.checkBoundsTCon[4],wetCoi.cooCap.checkBoundsTCon[4],wetCoi.shr.on,speRat.a,speRat.b,speRat.last,$PRE.speRat.nextEvent,speRat.nextEvent,speRat.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 6 {1 1,1 2,1 2,1 2,1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.00103/8.443, allocations: 175.6 kB / 3.287 GB, free: 181.2 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.04662/8.489, allocations: 5.049 MB / 3.292 GB, free: 176.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001779/8.491, allocations: 252.8 kB / 3.292 GB, free: 175.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04587/8.537, allocations: 5.216 MB / 3.297 GB, free: 170.6 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.581e-05/8.537, allocations: 8 kB / 3.297 GB, free: 170.6 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/8.537, allocations: 0 / 3.297 GB, free: 170.6 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.446e-05/8.537, allocations: 3.984 kB / 3.297 GB, free: 170.6 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00711/8.544, allocations: 3.511 MB / 3.301 GB, free: 167.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.126e-05/8.544, allocations: 0 / 3.301 GB, free: 167.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007731/8.552, allocations: 0.6124 MB / 3.301 GB, free: 166.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001372/8.553, allocations: 209.5 kB / 3.302 GB, free: 166.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006499/8.554, allocations: 71.84 kB / 3.302 GB, free: 166.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002891/8.557, allocations: 2.08 MB / 3.304 GB, free: 163.9 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.55e-06/8.557, allocations: 0 / 3.304 GB, free: 163.9 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04474/8.602, allocations: 4.871 MB / 3.308 GB, free: 159 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003943/8.606, allocations: 1.118 MB / 3.31 GB, free: 157.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001007/8.607, allocations: 47.97 kB / 3.31 GB, free: 157.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008909/8.616, allocations: 0.5462 MB / 3.31 GB, free: 157.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003419/8.616, allocations: 84.61 kB / 3.31 GB, free: 157.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004704/8.617, allocations: 139.9 kB / 3.31 GB, free: 157.1 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.006392/8.623, allocations: 3.017 MB / 3.313 GB, free: 154.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.022e-06/8.623, allocations: 0 / 3.313 GB, free: 154.1 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.005815/8.629, allocations: 1.081 MB / 3.314 GB, free: 153 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition9,wetCoi.cooCap.stage,wetCoi.cooCap.checkBoundsTEva[1],wetCoi.cooCap.checkBoundsTEva[2],wetCoi.cooCap.checkBoundsTEva[3],wetCoi.cooCap.checkBoundsTEva[4],wetCoi.cooCap.checkBoundsTCon[1],wetCoi.cooCap.checkBoundsTCon[2],wetCoi.cooCap.checkBoundsTCon[3],wetCoi.cooCap.checkBoundsTCon[4],wetCoi.shr.on,speRat.a,speRat.b,speRat.last,speRat.nextEvent,speRat.nextEventScaled) * Number of discrete states: 9 (speRat.nextEvent,speRat.last,speRat.nextEventScaled,speRat.b,speRat.a,$whenCondition9,wetCoi.cooCap.stage,wetCoi.cooCap.checkBoundsTEva[wetCoi.cooCap.stage],wetCoi.cooCap.checkBoundsTCon[wetCoi.cooCap.stage]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (72): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 8 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.01974/8.649, allocations: 5.601 MB / 3.32 GB, free: 147.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01683/8.666, allocations: 7.947 MB / 3.328 GB, free: 139.4 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.753e-06/8.666, allocations: 8 kB / 3.328 GB, free: 139.4 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.004093/8.67, allocations: 1.941 MB / 3.329 GB, free: 137.4 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004422/8.674, allocations: 0.6181 MB / 3.33 GB, free: 136.8 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02393/8.698, allocations: 6.662 MB / 3.337 GB, free: 130.1 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00217/8.7, allocations: 2.138 MB / 3.339 GB, free: 127.9 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.01373/8.714, allocations: 2.864 MB / 3.341 GB, free: 125.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003032/8.717, allocations: 0.8779 MB / 3.342 GB, free: 124.2 MB / 0.948 GB Notification: Performance of SimCode: time 1.323e-06/8.717, allocations: 4 kB / 3.342 GB, free: 124.2 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2124/8.93, allocations: 88.86 MB / 3.429 GB, free: 35.29 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002456/8.93, allocations: 188.7 kB / 3.429 GB, free: 35.1 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.432/15.36, allocations: 3.938 kB / 3.429 GB, free: 35.09 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_WetCoil_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_WetCoil.fmu > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil.pipe 2>&1)