Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil,fileNamePrefix="Buildings_7_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 7.0.1/package.mo): time 2.245/2.245, allocations: 248.7 MB / 256.2 MB, free: 7.004 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.0015/0.0015, allocations: 176.3 kB / 315.4 MB, free: 3.996 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.054/2.054, allocations: 205.3 MB / 0.5662 GB, free: 0.543 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001129/0.001128, allocations: 90.47 kB / 0.6704 GB, free: 5.758 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.842e-05/2.851e-05, allocations: 8 kB / 0.7804 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2191/0.2191, allocations: 106.3 MB / 0.8841 GB, free: 12.97 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.164/7.383, allocations: 2.198 GB / 3.082 GB, free: 170.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003271/7.384, allocations: 107.1 kB / 3.082 GB, free: 170.5 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.4794/7.863, allocations: 142.1 MB / 3.221 GB, free: 34.86 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.094e-06/7.863, allocations: 0 / 3.221 GB, free: 34.86 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0002975/7.864, allocations: 32 kB / 3.221 GB, free: 34.83 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.00822/7.872, allocations: 2.222 MB / 3.223 GB, free: 32.54 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 6.262e-05/7.872, allocations: 15.97 kB / 3.223 GB, free: 32.52 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04144/7.913, allocations: 2.927 MB / 3.226 GB, free: 29.59 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009051/7.922, allocations: 2.828 MB / 3.229 GB, free: 26.7 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004784/7.923, allocations: 170.3 kB / 3.229 GB, free: 26.52 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006091/7.924, allocations: 44.33 kB / 3.229 GB, free: 26.48 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008164/7.932, allocations: 3.551 MB / 3.233 GB, free: 22.93 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005976/7.938, allocations: 2.581 MB / 3.235 GB, free: 20.32 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.965e-05/7.938, allocations: 3.938 kB / 3.235 GB, free: 20.32 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004129/7.938, allocations: 0 / 3.235 GB, free: 20.32 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.56e-05/7.938, allocations: 12 kB / 3.235 GB, free: 20.31 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03502/7.973, allocations: 8.698 MB / 3.244 GB, free: 11.55 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01697/7.99, allocations: 3.97 MB / 3.247 GB, free: 7.562 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003352/7.994, allocations: 1.603 MB / 3.249 GB, free: 5.957 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001522/7.994, allocations: 28.48 kB / 3.249 GB, free: 5.93 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004739/7.999, allocations: 2.344 MB / 3.251 GB, free: 3.566 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=79): time 6.031e-06/7.999, allocations: 0 / 3.251 GB, free: 3.566 MB / 0.8698 GB Notification: Performance of matching and sorting (n=79): time 0.6662/8.665, allocations: 5.132 MB / 3.256 GB, free: 247.5 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.702e-05/8.665, allocations: 101.8 kB / 3.256 GB, free: 247.4 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01336/8.679, allocations: 3.992 MB / 3.26 GB, free: 247.2 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0009438/8.68, allocations: 42.27 kB / 3.26 GB, free: 247.2 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.002255/8.682, allocations: 0.9816 MB / 3.261 GB, free: 247.1 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008896/8.683, allocations: 232.9 kB / 3.262 GB, free: 247 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003628/8.683, allocations: 1.594 kB / 3.262 GB, free: 247 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001309/8.683, allocations: 344 kB / 3.262 GB, free: 246.7 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005277/8.689, allocations: 2.134 MB / 3.264 GB, free: 246.7 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005319/8.694, allocations: 2.173 MB / 3.266 GB, free: 246.7 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05587/8.75, allocations: 11.36 MB / 3.277 GB, free: 246.7 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.817e-05/8.75, allocations: 1 kB / 3.277 GB, free: 246.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=115) (initialization): time 0.09418/8.844, allocations: 15.55 MB / 3.292 GB, free: 246.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002494/8.844, allocations: 394.5 kB / 3.293 GB, free: 246 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.202e-05/8.845, allocations: 0 / 3.293 GB, free: 246 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0065/8.851, allocations: 0.9502 MB / 3.294 GB, free: 246 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008027/8.859, allocations: 0.656 MB / 3.294 GB, free: 246 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006173/8.865, allocations: 4.84 MB / 3.299 GB, free: 242.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009471/8.875, allocations: 0.5651 MB / 3.3 GB, free: 242.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009464/8.876, allocations: 153.8 kB / 3.3 GB, free: 242.2 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/8.876, allocations: 3.969 kB / 3.3 GB, free: 242.2 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.08905/8.965, allocations: 15.2 MB / 3.315 GB, free: 242.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.285e-05/8.965, allocations: 4.25 kB / 3.315 GB, free: 242.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005172/8.97, allocations: 0.8739 MB / 3.315 GB, free: 242 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008078/8.978, allocations: 0.6533 MB / 3.316 GB, free: 242 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009395/8.988, allocations: 8.228 MB / 3.324 GB, free: 235.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009364/8.997, allocations: 0.547 MB / 3.325 GB, free: 235.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009073/8.998, allocations: 153.1 kB / 3.325 GB, free: 235.5 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.001042/8.999, allocations: 177.6 kB / 3.325 GB, free: 235.3 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.04556/9.045, allocations: 5.05 MB / 3.33 GB, free: 235.1 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001722/9.047, allocations: 262.6 kB / 3.33 GB, free: 235 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04546/9.092, allocations: 5.219 MB / 3.335 GB, free: 234.7 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.423e-05/9.092, allocations: 6.688 kB / 3.335 GB, free: 234.7 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/9.092, allocations: 4 kB / 3.335 GB, free: 234.7 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.42e-05/9.092, allocations: 5.953 kB / 3.335 GB, free: 234.7 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007202/9.099, allocations: 3.498 MB / 3.339 GB, free: 233.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.52e-05/9.099, allocations: 0 / 3.339 GB, free: 233.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007704/9.107, allocations: 0.6129 MB / 3.339 GB, free: 233.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00139/9.109, allocations: 204.3 kB / 3.339 GB, free: 233.7 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005747/9.109, allocations: 65.8 kB / 3.34 GB, free: 233.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002963/9.112, allocations: 2.099 MB / 3.342 GB, free: 231.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/9.112, allocations: 0 / 3.342 GB, free: 231.8 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04796/9.16, allocations: 4.862 MB / 3.346 GB, free: 230.2 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003979/9.164, allocations: 1.123 MB / 3.347 GB, free: 229.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001325/9.166, allocations: 54.25 kB / 3.347 GB, free: 229.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009332/9.175, allocations: 0.5391 MB / 3.348 GB, free: 229.5 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005039/9.176, allocations: 80.22 kB / 3.348 GB, free: 229.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006632/9.176, allocations: 142.8 kB / 3.348 GB, free: 229.5 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.007235/9.183, allocations: 3.018 MB / 3.351 GB, free: 228.3 MB / 0.8698 GB Notification: Performance of sort global known variables: time 7.32e-07/9.184, allocations: 0 / 3.351 GB, free: 228.3 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.006576/9.19, allocations: 1.091 MB / 3.352 GB, free: 228.2 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.01962/9.21, allocations: 5.589 MB / 3.358 GB, free: 226 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.01815/9.228, allocations: 7.951 MB / 3.365 GB, free: 222.3 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 8.105e-06/9.228, allocations: 0 / 3.365 GB, free: 222.3 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.004538/9.233, allocations: 1.942 MB / 3.367 GB, free: 221.2 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004776/9.237, allocations: 0.6336 MB / 3.368 GB, free: 220.7 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02502/9.263, allocations: 6.644 MB / 3.374 GB, free: 215.1 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002627/9.265, allocations: 2.136 MB / 3.377 GB, free: 213.4 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.01493/9.28, allocations: 2.866 MB / 3.379 GB, free: 211.3 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003219/9.283, allocations: 0.8818 MB / 3.38 GB, free: 210.4 MB / 0.8698 GB Notification: Performance of SimCode: time 1.843e-06/9.283, allocations: 0 / 3.38 GB, free: 210.4 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2076/9.491, allocations: 88.86 MB / 3.467 GB, free: 122.3 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002647/9.491, allocations: 188.5 kB / 3.467 GB, free: 122.1 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.496/15.99, allocations: 3.938 kB / 3.467 GB, free: 122.1 MB / 0.8698 GB