Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDewPoint.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.ApparatusDewPoint,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_ApparatusDewPoint",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.262/2.262, allocations: 248.7 MB / 256.2 MB, free: 7.078 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.001534/0.001533, allocations: 179.4 kB / 315.4 MB, free: 4.004 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.105/2.105, allocations: 205.3 MB / 0.5662 GB, free: 0.5312 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.001102/0.001102, allocations: 103.2 kB / 0.6704 GB, free: 5.727 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.628e-05/3.626e-05, allocations: 4 kB / 0.7804 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1996/0.1997, allocations: 106.3 MB / 0.8841 GB, free: 12.96 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.213/7.413, allocations: 2.184 GB / 3.068 GB, free: 168.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003365/7.413, allocations: 102.5 kB / 3.068 GB, free: 168.6 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.3227/7.736, allocations: 92.4 MB / 3.158 GB, free: 82.88 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.064e-06/7.736, allocations: 0 / 3.158 GB, free: 82.88 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.202e-05/7.736, allocations: 16 kB / 3.159 GB, free: 82.86 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: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.003395/7.739, allocations: 1.409 MB / 3.16 GB, free: 81.39 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.125e-05/7.739, allocations: 8.031 kB / 3.16 GB, free: 81.38 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02764/7.767, allocations: 2.179 MB / 3.162 GB, free: 79.2 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003767/7.771, allocations: 1.305 MB / 3.163 GB, free: 77.85 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.235e-05/7.771, allocations: 4 kB / 3.163 GB, free: 77.84 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001626/7.771, allocations: 15.94 kB / 3.163 GB, free: 77.83 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00142/7.772, allocations: 0.5819 MB / 3.164 GB, free: 77.25 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001105/7.774, allocations: 0.4897 MB / 3.164 GB, free: 76.74 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/7.774, allocations: 0 / 3.164 GB, free: 76.74 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.26e-05/7.774, allocations: 4 kB / 3.164 GB, free: 76.74 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.164e-06/7.774, allocations: 0 / 3.164 GB, free: 76.74 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.017/7.791, allocations: 3.308 MB / 3.168 GB, free: 73.38 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001715/7.792, allocations: 0.7275 MB / 3.168 GB, free: 72.64 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007049/7.793, allocations: 324.5 kB / 3.169 GB, free: 72.32 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.692e-05/7.793, allocations: 4 kB / 3.169 GB, free: 72.31 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009528/7.794, allocations: 490.8 kB / 3.169 GB, free: 71.8 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=21): time 3.156e-06/7.794, allocations: 0 / 3.169 GB, free: 71.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=21): time 0.03849/7.833, allocations: 2.389 MB / 3.171 GB, free: 69.4 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.7e-05/7.833, allocations: 140.4 kB / 3.172 GB, free: 69.23 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004704/7.838, allocations: 2.092 MB / 3.174 GB, free: 67.14 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002822/7.838, allocations: 29.7 kB / 3.174 GB, free: 67.1 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008806/7.839, allocations: 0.5506 MB / 3.174 GB, free: 66.55 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002176/7.839, allocations: 59.11 kB / 3.174 GB, free: 66.49 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001174/7.839, allocations: 0 / 3.174 GB, free: 66.49 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.897e-05/7.839, allocations: 321.9 kB / 3.175 GB, free: 66.17 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001088/7.84, allocations: 472.1 kB / 3.175 GB, free: 65.7 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001068/7.842, allocations: 0.4892 MB / 3.175 GB, free: 65.21 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04498/7.886, allocations: 9.747 MB / 3.185 GB, free: 55.45 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.398e-06/7.887, allocations: 0 / 3.185 GB, free: 55.45 MB / 0.8698 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.08/7.967, allocations: 11.95 MB / 3.197 GB, free: 43.45 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001253/7.967, allocations: 221.9 kB / 3.197 GB, free: 43.21 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.256e-05/7.967, allocations: 3.938 kB / 3.197 GB, free: 43.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005252/7.972, allocations: 0.8313 MB / 3.198 GB, free: 42.36 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004741/7.977, allocations: 431.4 kB / 3.198 GB, free: 41.93 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007592/7.984, allocations: 3.515 MB / 3.202 GB, free: 38.29 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00637/7.991, allocations: 467.1 kB / 3.202 GB, free: 37.83 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002697/7.991, allocations: 47.95 kB / 3.202 GB, free: 37.79 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/7.991, allocations: 4 kB / 3.202 GB, free: 37.78 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.07807/8.069, allocations: 11.69 MB / 3.213 GB, free: 26.07 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.518e-05/8.069, allocations: 0 / 3.213 GB, free: 26.07 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004085/8.073, allocations: 0.7455 MB / 3.214 GB, free: 25.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004796/8.078, allocations: 431.4 kB / 3.215 GB, free: 24.88 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01113/8.089, allocations: 6.742 MB / 3.221 GB, free: 17.65 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006322/8.096, allocations: 467.2 kB / 3.222 GB, free: 17.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003211/8.096, allocations: 39.95 kB / 3.222 GB, free: 17.16 MB / 0.8698 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: adp.XADP:VARIABLE(min = 0.0 max = 1.0 ) "Humidity mass fraction of air at apparatus dew point" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,adp.stage,speRat.a,speRat.b,speRat.last,$PRE.speRat.nextEvent,speRat.nextEvent,speRat.nextEventScaled,$PRE.deaBan.y,deaBan.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 5 {1 1,1 2,1 2,1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0004198/8.097, allocations: 148.3 kB / 3.222 GB, free: 17 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.03707/8.134, allocations: 2.326 MB / 3.224 GB, free: 14.66 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006703/8.134, allocations: 138.3 kB / 3.224 GB, free: 14.52 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03522/8.17, allocations: 2.164 MB / 3.226 GB, free: 12.35 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.616e-05/8.17, allocations: 7.953 kB / 3.226 GB, free: 12.34 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/8.17, allocations: 0 / 3.226 GB, free: 12.34 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.199e-05/8.17, allocations: 3.984 kB / 3.226 GB, free: 12.34 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002125/8.172, allocations: 1.071 MB / 3.227 GB, free: 11.22 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/8.172, allocations: 0 / 3.227 GB, free: 11.22 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004424/8.176, allocations: 407.4 kB / 3.228 GB, free: 10.82 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005991/8.177, allocations: 128.7 kB / 3.228 GB, free: 10.7 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001561/8.177, allocations: 19.95 kB / 3.228 GB, free: 10.68 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008185/8.178, allocations: 0.6147 MB / 3.228 GB, free: 10.04 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/8.178, allocations: 4.031 kB / 3.228 GB, free: 10.03 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03491/8.213, allocations: 2.118 MB / 3.231 GB, free: 7.879 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001422/8.215, allocations: 439 kB / 3.231 GB, free: 7.43 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003571/8.215, allocations: 4 kB / 3.231 GB, free: 7.426 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005521/8.22, allocations: 415.5 kB / 3.231 GB, free: 7.02 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001316/8.221, allocations: 27.89 kB / 3.231 GB, free: 6.992 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001379/8.221, allocations: 31.91 kB / 3.231 GB, free: 6.961 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.003172/8.224, allocations: 1.598 MB / 3.233 GB, free: 5.367 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4.21e-07/8.224, allocations: 0 / 3.233 GB, free: 5.367 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002539/8.227, allocations: 0.5661 MB / 3.234 GB, free: 4.801 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,adp.stage,speRat.a,speRat.b,speRat.last,speRat.nextEvent,speRat.nextEventScaled,deaBan.y) * Number of discrete states: 7 (deaBan.y,speRat.nextEvent,speRat.last,speRat.nextEventScaled,speRat.b,speRat.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.006065/8.233, allocations: 2.595 MB / 3.236 GB, free: 2.18 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.6044/8.837, allocations: 2.679 MB / 3.239 GB, free: 270.2 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.023e-05/8.837, allocations: 4.094 kB / 3.239 GB, free: 270.2 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001605/8.839, allocations: 441.8 kB / 3.239 GB, free: 270.1 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002814/8.842, allocations: 311.6 kB / 3.239 GB, free: 270.1 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03029/8.872, allocations: 3.717 MB / 3.243 GB, free: 269.7 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002176/8.874, allocations: 1.411 MB / 3.244 GB, free: 269 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.006867/8.881, allocations: 1.005 MB / 3.245 GB, free: 269 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001479/8.883, allocations: 405.2 kB / 3.246 GB, free: 269 MB / 0.8698 GB Notification: Performance of SimCode: time 1.653e-06/8.883, allocations: 0 / 3.246 GB, free: 269 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1476/9.03, allocations: 45.81 MB / 3.291 GB, free: 266.8 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002784/9.031, allocations: 181.3 kB / 3.291 GB, free: 266.6 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.503/13.53, allocations: 0 / 3.291 GB, free: 266.6 MB / 0.8698 GB