Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil,fileNamePrefix="Buildings_8_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_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.1.4-maint.8.1.x/package.mo): time 1.709/1.709, allocations: 289.9 MB / 297.4 MB, free: 6.32 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.001205/0.001204, allocations: 172.9 kB / 366.7 MB, free: 1.617 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.94/1.94, allocations: 205.2 MB / 0.626 GB, free: 7.133 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.00101/0.001009, allocations: 83.14 kB / 0.74 GB, free: 39.52 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.1e-05/3.129e-05, allocations: 4 kB / 0.8598 GB, free: 12.92 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7926/0.7927, allocations: 116.3 MB / 0.9734 GB, free: 76.2 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.723/5.516, allocations: 2.081 GB / 3.054 GB, free: 47.88 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002595/5.516, allocations: 109.1 kB / 3.055 GB, free: 47.77 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.7868/6.303, allocations: 143 MB / 3.194 GB, free: 290.2 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.322e-06/6.303, allocations: 4 kB / 3.194 GB, free: 290.2 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001263/6.303, allocations: 32 kB / 3.194 GB, free: 290.2 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.004941/6.308, allocations: 2.23 MB / 3.196 GB, free: 287.9 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.687e-05/6.308, allocations: 8.031 kB / 3.196 GB, free: 287.9 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02239/6.331, allocations: 2.919 MB / 3.199 GB, free: 284.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006282/6.337, allocations: 2.841 MB / 3.202 GB, free: 282.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002783/6.337, allocations: 179.4 kB / 3.202 GB, free: 281.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002895/6.337, allocations: 39.98 kB / 3.202 GB, free: 281.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004242/6.342, allocations: 3.547 MB / 3.206 GB, free: 278.3 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00326/6.345, allocations: 2.573 MB / 3.208 GB, free: 275.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.854e-05/6.345, allocations: 0 / 3.208 GB, free: 275.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000208/6.345, allocations: 0 / 3.208 GB, free: 275.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.18e-05/6.345, allocations: 12 kB / 3.208 GB, free: 275.7 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02/6.365, allocations: 8.7 MB / 3.217 GB, free: 267 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008506/6.374, allocations: 3.975 MB / 3.221 GB, free: 263 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001831/6.376, allocations: 1.603 MB / 3.222 GB, free: 261.4 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001275/6.376, allocations: 28.36 kB / 3.222 GB, free: 261.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002557/6.378, allocations: 2.332 MB / 3.224 GB, free: 259 MB / 0.948 GB Notification: Performance of pre-optimization done (n=79): time 4.96e-06/6.378, allocations: 1.594 kB / 3.224 GB, free: 259 MB / 0.948 GB Notification: Performance of matching and sorting (n=79): time 0.02431/6.403, allocations: 5.143 MB / 3.229 GB, free: 253.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.678e-05/6.403, allocations: 97.88 kB / 3.23 GB, free: 253.8 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006412/6.409, allocations: 3.994 MB / 3.233 GB, free: 249.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.001001/6.41, allocations: 41.69 kB / 3.234 GB, free: 249.7 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009736/6.411, allocations: 0.9938 MB / 3.234 GB, free: 248.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005257/6.412, allocations: 227.6 kB / 3.235 GB, free: 248.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002071/6.412, allocations: 4 kB / 3.235 GB, free: 248.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.602e-05/6.412, allocations: 341.9 kB / 3.235 GB, free: 248.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00223/6.414, allocations: 2.131 MB / 3.237 GB, free: 246 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002167/6.417, allocations: 2.174 MB / 3.239 GB, free: 243.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0253/6.442, allocations: 11.36 MB / 3.25 GB, free: 232.4 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.621e-05/6.442, allocations: 0 / 3.25 GB, free: 232.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=115) (initialization): time 0.04731/6.489, allocations: 15.54 MB / 3.266 GB, free: 216.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002511/6.49, allocations: 391 kB / 3.266 GB, free: 216.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.247e-05/6.49, allocations: 7.953 kB / 3.266 GB, free: 216.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003772/6.493, allocations: 0.9458 MB / 3.267 GB, free: 215.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004458/6.498, allocations: 0.6514 MB / 3.267 GB, free: 214.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003989/6.502, allocations: 4.854 MB / 3.272 GB, free: 209.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005894/6.508, allocations: 0.5535 MB / 3.273 GB, free: 209.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008882/6.509, allocations: 151.9 kB / 3.273 GB, free: 209 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/6.509, allocations: 8 kB / 3.273 GB, free: 209 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04522/6.554, allocations: 15.21 MB / 3.288 GB, free: 193.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.119e-05/6.554, allocations: 4 kB / 3.288 GB, free: 193.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003025/6.557, allocations: 0.8712 MB / 3.289 GB, free: 192.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004614/6.562, allocations: 0.6553 MB / 3.289 GB, free: 192.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005947/6.568, allocations: 8.217 MB / 3.297 GB, free: 183.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005845/6.574, allocations: 0.5537 MB / 3.298 GB, free: 182.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008328/6.574, allocations: 151.9 kB / 3.298 GB, free: 182.7 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.0008371/6.575, allocations: 167.8 kB / 3.298 GB, free: 182.5 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0236/6.599, allocations: 5.063 MB / 3.303 GB, free: 177.4 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001837/6.601, allocations: 252.9 kB / 3.303 GB, free: 177.2 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0237/6.625, allocations: 5.209 MB / 3.308 GB, free: 172 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.246e-05/6.625, allocations: 15.92 kB / 3.308 GB, free: 172 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/6.625, allocations: 0 / 3.308 GB, free: 172 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.332e-05/6.625, allocations: 4.031 kB / 3.308 GB, free: 172 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005798/6.63, allocations: 3.521 MB / 3.312 GB, free: 168.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.773e-06/6.631, allocations: 4 kB / 3.312 GB, free: 168.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004004/6.635, allocations: 0.6086 MB / 3.312 GB, free: 167.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008189/6.635, allocations: 201.5 kB / 3.313 GB, free: 167.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000448/6.636, allocations: 67.88 kB / 3.313 GB, free: 167.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001914/6.638, allocations: 2.084 MB / 3.315 GB, free: 165.3 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/6.638, allocations: 0 / 3.315 GB, free: 165.3 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02344/6.661, allocations: 4.875 MB / 3.319 GB, free: 160.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00306/6.664, allocations: 1.118 MB / 3.321 GB, free: 159.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001163/6.666, allocations: 52.03 kB / 3.321 GB, free: 159.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005437/6.671, allocations: 0.5423 MB / 3.321 GB, free: 158.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002838/6.671, allocations: 84.66 kB / 3.321 GB, free: 158.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003744/6.672, allocations: 139.9 kB / 3.321 GB, free: 158.4 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.00474/6.676, allocations: 3.017 MB / 3.324 GB, free: 155.4 MB / 0.948 GB Notification: Performance of sort global known variables: time 2e-07/6.676, allocations: 0 / 3.324 GB, free: 155.4 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.005018/6.681, allocations: 1.081 MB / 3.325 GB, free: 154.3 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.01088/6.692, allocations: 5.6 MB / 3.331 GB, free: 148.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01028/6.703, allocations: 7.943 MB / 3.339 GB, free: 140.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.282e-06/6.703, allocations: 4 kB / 3.339 GB, free: 140.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.00241/6.705, allocations: 1.948 MB / 3.341 GB, free: 138.8 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003639/6.709, allocations: 0.618 MB / 3.341 GB, free: 138.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01847/6.727, allocations: 6.663 MB / 3.348 GB, free: 131.4 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001546/6.729, allocations: 2.146 MB / 3.35 GB, free: 129.3 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.009531/6.739, allocations: 2.856 MB / 3.353 GB, free: 126.4 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002462/6.741, allocations: 0.8818 MB / 3.353 GB, free: 125.5 MB / 0.948 GB Notification: Performance of SimCode: time 1.913e-06/6.741, allocations: 0 / 3.353 GB, free: 125.5 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1381/6.879, allocations: 88.88 MB / 3.44 GB, free: 36.65 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002453/6.88, allocations: 184.1 kB / 3.44 GB, free: 36.46 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.332/12.21, allocations: 6.281 kB / 3.44 GB, free: 36.45 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_WetCoil_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_WetCoil.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil.pipe 2>&1)