Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_WetCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.472/1.472, allocations: 249.5 MB / 257 MB, free: 7.012 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001018/0.001018, allocations: 184.9 kB / 316.3 MB, free: 3.297 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.656/1.656, allocations: 205.3 MB / 0.5671 GB, free: 15.91 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009101/0.0009101, allocations: 104.8 kB / 0.6714 GB, free: 5.016 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.137e-05/3.14e-05, allocations: 8 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2144/0.2145, allocations: 106.3 MB / 0.8853 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.262/5.476, allocations: 2.198 GB / 3.084 GB, free: 164.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002393/5.477, allocations: 104.2 kB / 3.084 GB, free: 164.8 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.2677/5.744, allocations: 142.1 MB / 3.222 GB, free: 29.06 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.124e-06/5.744, allocations: 0 / 3.222 GB, free: 29.06 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001246/5.744, allocations: 32 kB / 3.223 GB, free: 29.03 MB / 0.8698 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.004629/5.749, allocations: 2.226 MB / 3.225 GB, free: 26.73 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.947e-05/5.749, allocations: 8.031 kB / 3.225 GB, free: 26.73 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02108/5.77, allocations: 2.923 MB / 3.228 GB, free: 23.8 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00546/5.776, allocations: 2.82 MB / 3.23 GB, free: 20.92 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002477/5.776, allocations: 178.3 kB / 3.23 GB, free: 20.73 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000266/5.776, allocations: 40 kB / 3.231 GB, free: 20.69 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004055/5.78, allocations: 3.556 MB / 3.234 GB, free: 17.13 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002948/5.783, allocations: 2.577 MB / 3.236 GB, free: 14.54 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.553e-05/5.783, allocations: 0 / 3.236 GB, free: 14.54 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001978/5.784, allocations: 8 kB / 3.237 GB, free: 14.53 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.166e-05/5.784, allocations: 15.98 kB / 3.237 GB, free: 14.52 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01827/5.802, allocations: 8.691 MB / 3.245 GB, free: 5.762 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00821/5.81, allocations: 3.977 MB / 3.249 GB, free: 1.773 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001653/5.812, allocations: 1.603 MB / 3.25 GB, free: 172 kB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001083/5.812, allocations: 20.55 kB / 3.25 GB, free: 152 kB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.525/6.337, allocations: 2.345 MB / 3.253 GB, free: 248 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=79): time 5.31e-06/6.337, allocations: 0 / 3.253 GB, free: 248 MB / 0.8698 GB Notification: Performance of matching and sorting (n=79): time 0.02663/6.364, allocations: 5.135 MB / 3.258 GB, free: 247.8 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.221e-05/6.364, allocations: 95.7 kB / 3.258 GB, free: 247.7 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008359/6.372, allocations: 4 MB / 3.262 GB, free: 247.5 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0008359/6.373, allocations: 44.25 kB / 3.262 GB, free: 247.5 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001253/6.374, allocations: 0.9804 MB / 3.263 GB, free: 247.4 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000694/6.375, allocations: 232.7 kB / 3.263 GB, free: 247.2 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002097/6.375, allocations: 1.75 kB / 3.263 GB, free: 247.2 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001173/6.375, allocations: 348.5 kB / 3.263 GB, free: 246.9 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003118/6.379, allocations: 2.131 MB / 3.265 GB, free: 246.9 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003223/6.382, allocations: 2.167 MB / 3.268 GB, free: 246.9 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03014/6.412, allocations: 11.36 MB / 3.279 GB, free: 246.9 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.592e-05/6.412, allocations: 1.422 kB / 3.279 GB, free: 246.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=115) (initialization): time 0.04701/6.459, allocations: 15.55 MB / 3.294 GB, free: 246.6 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002345/6.459, allocations: 393.1 kB / 3.294 GB, free: 246.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/6.459, allocations: 0 / 3.294 GB, free: 246.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00367/6.463, allocations: 0.9589 MB / 3.295 GB, free: 246.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004206/6.467, allocations: 0.6537 MB / 3.296 GB, free: 246.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003934/6.471, allocations: 4.837 MB / 3.3 GB, free: 242.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005447/6.477, allocations: 0.5591 MB / 3.301 GB, free: 242.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000763/6.477, allocations: 154.8 kB / 3.301 GB, free: 242.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/6.477, allocations: 3.812 kB / 3.301 GB, free: 242.4 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0445/6.522, allocations: 15.21 MB / 3.316 GB, free: 242.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.852e-05/6.522, allocations: 5.25 kB / 3.316 GB, free: 242.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00296/6.525, allocations: 0.8844 MB / 3.317 GB, free: 242.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004346/6.529, allocations: 0.6512 MB / 3.318 GB, free: 242.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00605/6.535, allocations: 8.213 MB / 3.326 GB, free: 235.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005398/6.541, allocations: 0.5562 MB / 3.326 GB, free: 235.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000784/6.542, allocations: 147.7 kB / 3.326 GB, free: 235.7 MB / 0.8698 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: wetCoi.TADP:VARIABLE(min = 273.15 max = 373.15 unit = "K" ) "Dry bulb temperature of air at ADP" type: Real 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.0008264/6.543, allocations: 181.9 kB / 3.326 GB, free: 235.5 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02319/6.566, allocations: 5.059 MB / 3.331 GB, free: 235.2 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001573/6.567, allocations: 246.8 kB / 3.332 GB, free: 235.1 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02243/6.59, allocations: 5.22 MB / 3.337 GB, free: 233.5 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.966e-05/6.59, allocations: 7.875 kB / 3.337 GB, free: 233.5 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.518e-05/6.59, allocations: 3.875 kB / 3.337 GB, free: 233.5 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.891e-05/6.59, allocations: 11.33 kB / 3.337 GB, free: 233.5 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006133/6.596, allocations: 3.5 MB / 3.34 GB, free: 232 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.783e-06/6.596, allocations: 0 / 3.34 GB, free: 232 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003752/6.6, allocations: 0.6122 MB / 3.341 GB, free: 231.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007611/6.601, allocations: 208.2 kB / 3.341 GB, free: 231.9 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003514/6.601, allocations: 71.45 kB / 3.341 GB, free: 231.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001828/6.603, allocations: 2.071 MB / 3.343 GB, free: 230 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/6.603, allocations: 0 / 3.343 GB, free: 230 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02209/6.625, allocations: 4.873 MB / 3.348 GB, free: 228.4 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002708/6.628, allocations: 1.117 MB / 3.349 GB, free: 227.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008823/6.629, allocations: 48.05 kB / 3.349 GB, free: 227.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004733/6.633, allocations: 0.5431 MB / 3.349 GB, free: 227.7 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002455/6.634, allocations: 89.61 kB / 3.35 GB, free: 227.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002655/6.634, allocations: 142.9 kB / 3.35 GB, free: 227.7 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.004085/6.638, allocations: 3.015 MB / 3.353 GB, free: 226.5 MB / 0.8698 GB Notification: Performance of sort global known variables: time 3.21e-07/6.638, allocations: 0 / 3.353 GB, free: 226.5 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.003967/6.642, allocations: 1.086 MB / 3.354 GB, free: 226.5 MB / 0.8698 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.01035/6.652, allocations: 5.594 MB / 3.359 GB, free: 224.2 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.01002/6.663, allocations: 7.957 MB / 3.367 GB, free: 217.8 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 7.955e-06/6.663, allocations: 0 / 3.367 GB, free: 217.8 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.002601/6.665, allocations: 1.941 MB / 3.369 GB, free: 216.1 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003549/6.669, allocations: 0.6113 MB / 3.369 GB, free: 215.6 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01703/6.686, allocations: 6.648 MB / 3.376 GB, free: 210 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001487/6.687, allocations: 2.142 MB / 3.378 GB, free: 208.2 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.007975/6.695, allocations: 2.861 MB / 3.381 GB, free: 205.3 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001767/6.697, allocations: 0.8896 MB / 3.382 GB, free: 204.4 MB / 0.8698 GB Notification: Performance of SimCode: time 6.31e-07/6.697, allocations: 0 / 3.382 GB, free: 204.4 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1215/6.819, allocations: 88.89 MB / 3.468 GB, free: 116.4 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001736/6.819, allocations: 196.5 kB / 3.469 GB, free: 116.1 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.101/11.92, allocations: 0 / 3.469 GB, free: 116.1 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_WetCoil_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_WetCoil.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil.pipe 2>&1)