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.471/2.471, allocations: 284.7 MB / 297.2 MB, free: 6.41 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.001472/0.001471, allocations: 180.8 kB / 365.6 MB, free: 2.672 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.062/2.062, allocations: 205.1 MB / 0.624 GB, free: 8.273 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.001145/0.001144, allocations: 105.3 kB / 0.7371 GB, free: 40.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.313e-05/4.322e-05, allocations: 8 kB / 0.8574 GB, free: 13.71 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8182/0.8183, allocations: 115.2 MB / 0.97 GB, free: 78.13 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.145/6.963, allocations: 2.081 GB / 3.051 GB, free: 17.1 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000354/6.963, allocations: 107 kB / 3.051 GB, free: 17.05 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.203/8.166, allocations: 159.3 MB / 3.206 GB, free: 252.6 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.934e-06/8.166, allocations: 0 / 3.206 GB, free: 252.6 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002875/8.167, allocations: 36 kB / 3.206 GB, free: 252.6 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.007403/8.174, allocations: 2.215 MB / 3.208 GB, free: 250.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.054e-05/8.174, allocations: 9.062 kB / 3.208 GB, free: 250.3 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004949/8.175, allocations: 98.52 kB / 3.209 GB, free: 250.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03982/8.215, allocations: 2.935 MB / 3.211 GB, free: 247.3 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008689/8.223, allocations: 2.824 MB / 3.214 GB, free: 244.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004421/8.224, allocations: 206.2 kB / 3.214 GB, free: 244.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005449/8.224, allocations: 56.34 kB / 3.214 GB, free: 244.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005916/8.23, allocations: 2.634 MB / 3.217 GB, free: 241.5 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.019e-05/8.23, allocations: 4 kB / 3.217 GB, free: 241.5 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003783/8.231, allocations: 31.91 kB / 3.217 GB, free: 241.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.56e-05/8.231, allocations: 12 kB / 3.217 GB, free: 241.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008004/8.239, allocations: 3.58 MB / 3.221 GB, free: 237.8 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03342/8.272, allocations: 8.802 MB / 3.229 GB, free: 228.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01753/8.29, allocations: 4.011 MB / 3.233 GB, free: 224.9 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003774/8.294, allocations: 1.623 MB / 3.235 GB, free: 223.3 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001902/8.294, allocations: 24.53 kB / 3.235 GB, free: 223.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005236/8.299, allocations: 2.365 MB / 3.237 GB, free: 220.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=79): time 5.841e-06/8.299, allocations: 0 / 3.237 GB, free: 220.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=79): time 0.04263/8.342, allocations: 4.68 MB / 3.242 GB, free: 216.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.41e-05/8.342, allocations: 97.89 kB / 3.242 GB, free: 216.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00997/8.352, allocations: 4.136 MB / 3.246 GB, free: 211.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0009542/8.353, allocations: 65.69 kB / 3.246 GB, free: 211.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001682/8.355, allocations: 1.002 MB / 3.247 GB, free: 210.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008177/8.356, allocations: 244.6 kB / 3.247 GB, free: 210.6 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003591/8.356, allocations: 16 kB / 3.247 GB, free: 210.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001058/8.356, allocations: 349.9 kB / 3.247 GB, free: 210.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004523/8.361, allocations: 2.138 MB / 3.249 GB, free: 208.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004788/8.365, allocations: 2.177 MB / 3.251 GB, free: 205.9 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004089/8.37, allocations: 1.753 MB / 3.253 GB, free: 204.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.915e-06/8.37, allocations: 0 / 3.253 GB, free: 204.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=115) (initialization): time 0.04519/8.415, allocations: 5.971 MB / 3.259 GB, free: 198.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002406/8.415, allocations: 385 kB / 3.259 GB, free: 197.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.293e-05/8.415, allocations: 4 kB / 3.259 GB, free: 197.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006787/8.422, allocations: 0.9999 MB / 3.26 GB, free: 196.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007923/8.43, allocations: 0.6515 MB / 3.261 GB, free: 196 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006266/8.436, allocations: 4.833 MB / 3.266 GB, free: 190.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009525/8.446, allocations: 0.5847 MB / 3.266 GB, free: 190.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001014/8.447, allocations: 147.9 kB / 3.266 GB, free: 190.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/8.447, allocations: 5.25 kB / 3.266 GB, free: 190.2 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04261/8.49, allocations: 5.703 MB / 3.272 GB, free: 184.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.31e-05/8.49, allocations: 12 kB / 3.272 GB, free: 184.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005353/8.495, allocations: 0.8673 MB / 3.273 GB, free: 183.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007892/8.503, allocations: 0.6553 MB / 3.274 GB, free: 182.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009359/8.512, allocations: 8.506 MB / 3.282 GB, free: 173.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00922/8.522, allocations: 0.5653 MB / 3.282 GB, free: 173.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008919/8.523, allocations: 151.9 kB / 3.283 GB, free: 173 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.0009874/8.524, allocations: 202.5 kB / 3.283 GB, free: 172.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001117/8.525, allocations: 260.8 kB / 3.283 GB, free: 172.5 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04146/8.566, allocations: 5.049 MB / 3.288 GB, free: 167.4 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.09e-05/8.566, allocations: 8.031 kB / 3.288 GB, free: 167.4 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.002e-06/8.566, allocations: 4 kB / 3.288 GB, free: 167.4 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.418e-05/8.566, allocations: 7.938 kB / 3.288 GB, free: 167.4 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006905/8.573, allocations: 3.589 MB / 3.291 GB, free: 163.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.536e-06/8.573, allocations: 0 / 3.291 GB, free: 163.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007398/8.581, allocations: 0.6124 MB / 3.292 GB, free: 163.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001396/8.582, allocations: 205.5 kB / 3.292 GB, free: 162.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005485/8.583, allocations: 71.89 kB / 3.292 GB, free: 162.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003022/8.586, allocations: 2.135 MB / 3.294 GB, free: 160.6 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/8.586, allocations: 3.953 kB / 3.294 GB, free: 160.6 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0402/8.626, allocations: 4.683 MB / 3.299 GB, free: 155.8 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003838/8.63, allocations: 1.118 MB / 3.3 GB, free: 154.7 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001345/8.631, allocations: 63.97 kB / 3.3 GB, free: 154.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009179/8.641, allocations: 0.5501 MB / 3.301 GB, free: 154.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005282/8.641, allocations: 84.66 kB / 3.301 GB, free: 154 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006142/8.642, allocations: 139.9 kB / 3.301 GB, free: 153.9 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.007847/8.65, allocations: 3.166 MB / 3.304 GB, free: 150.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.162e-06/8.65, allocations: 0 / 3.304 GB, free: 150.7 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.006148/8.656, allocations: 1.144 MB / 3.305 GB, free: 149.6 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.01652/8.672, allocations: 5.308 MB / 3.31 GB, free: 144.2 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01973/8.692, allocations: 8.041 MB / 3.318 GB, free: 136 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.925e-06/8.692, allocations: 0 / 3.318 GB, free: 136 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.005009/8.697, allocations: 1.974 MB / 3.32 GB, free: 134 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004861/8.702, allocations: 0.626 MB / 3.321 GB, free: 133.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02543/8.728, allocations: 6.741 MB / 3.327 GB, free: 126.6 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002308/8.73, allocations: 2.142 MB / 3.329 GB, free: 124.4 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.01476/8.745, allocations: 2.868 MB / 3.332 GB, free: 121.6 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00332/8.748, allocations: 0.8818 MB / 3.333 GB, free: 120.7 MB / 0.948 GB Notification: Performance of SimCode: time 9.82e-07/8.748, allocations: 0 / 3.333 GB, free: 120.7 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2545/9.003, allocations: 107.2 MB / 3.438 GB, free: 13.51 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000234/9.003, allocations: 245.3 kB / 3.438 GB, free: 13.19 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.857/15.86, allocations: 4.062 kB / 3.438 GB, free: 13.18 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)