Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDewPoint.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDewPoint,fileNamePrefix="Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_ApparatusDewPoint",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDewPoint,fileNamePrefix="Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_ApparatusDewPoint",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002229/0.002229, allocations: 99.55 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002506/0.002506, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.21/2.21, allocations: 223.2 MB / 239.9 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 3.801/3.801, allocations: 409.2 MB / 0.6838 GB, free: 1 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0005213/0.0005214, allocations: 8 kB / 0.8375 GB, free: 6.551 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.313/1.314, allocations: 146.8 MB / 0.9809 GB, free: 6.297 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDewPoint): time 0.005574/1.319, allocations: 2.425 MB / 0.9832 GB, free: 3.859 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.249/1.569, allocations: 130.7 MB / 1.111 GB, free: 0.8203 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007182/1.569, allocations: 0 / 1.111 GB, free: 0.8203 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.003038/1.572, allocations: 0.6504 MB / 1.112 GB, free: 172 kB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002553/1.575, allocations: 0.4985 MB / 1.112 GB, free: 15.67 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002356/1.577, allocations: 486 kB / 1.112 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001981/1.579, allocations: 0.8915 MB / 1.113 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000486/1.58, allocations: 182.7 kB / 1.114 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009103/1.581, allocations: 390.5 kB / 1.114 GB, free: 13.73 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0012/1.582, allocations: 0.5059 MB / 1.114 GB, free: 13.22 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.000156/1.582, allocations: 36 kB / 1.114 GB, free: 13.18 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003105/1.585, allocations: 0.8113 MB / 1.115 GB, free: 12.37 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0004275/1.586, allocations: 251 kB / 1.115 GB, free: 12.12 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0004986/1.586, allocations: 285 kB / 1.116 GB, free: 11.84 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.004064/1.59, allocations: 1.886 MB / 1.118 GB, free: 9.949 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 9.207e-06/1.59, allocations: 4 kB / 1.118 GB, free: 9.945 MB / 0.8731 GB Notification: Performance of FrontEnd: time 4.639e-06/1.59, allocations: 3.938 kB / 1.118 GB, free: 9.941 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 5.858e-05/1.591, allocations: 0 / 1.118 GB, free: 9.941 MB / 0.8731 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.006092/1.597, allocations: 1.817 MB / 1.119 GB, free: 8.062 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 8.155e-05/1.597, allocations: 8.031 kB / 1.119 GB, free: 8.055 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001396/1.597, allocations: 50.55 kB / 1.119 GB, free: 7.996 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02544/1.622, allocations: 2.296 MB / 1.122 GB, free: 5.695 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003807/1.626, allocations: 1.04 MB / 1.123 GB, free: 4.609 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.374e-05/1.626, allocations: 16.23 kB / 1.123 GB, free: 4.594 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00019/1.627, allocations: 20 kB / 1.123 GB, free: 4.574 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007931/1.634, allocations: 1.253 MB / 1.124 GB, free: 3.305 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.438e-05/1.635, allocations: 0 / 1.124 GB, free: 3.305 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.348e-05/1.635, allocations: 12 kB / 1.124 GB, free: 3.293 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.916e-05/1.635, allocations: 4 kB / 1.124 GB, free: 3.289 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01457/1.649, allocations: 2.084 MB / 1.126 GB, free: 1.203 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0162/1.666, allocations: 2.994 MB / 1.129 GB, free: 14.15 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02269/1.688, allocations: 2.768 MB / 1.132 GB, free: 11.36 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001034/1.689, allocations: 445.5 kB / 1.132 GB, free: 10.84 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009068/1.698, allocations: 1.226 MB / 1.133 GB, free: 9.586 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=21): time 6.392e-06/1.699, allocations: 0 / 1.133 GB, free: 9.586 MB / 0.8887 GB Notification: Performance of matching and sorting (n=21): time 0.0575/1.756, allocations: 4.887 MB / 1.138 GB, free: 4.641 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001567/1.756, allocations: 140.5 kB / 1.138 GB, free: 4.473 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007096/1.763, allocations: 2.086 MB / 1.14 GB, free: 2.383 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0004021/1.764, allocations: 37.69 kB / 1.14 GB, free: 2.34 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.001646/1.766, allocations: 0.5861 MB / 1.141 GB, free: 1.75 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004464/1.766, allocations: 55.2 kB / 1.141 GB, free: 1.695 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004044/1.767, allocations: 8 kB / 1.141 GB, free: 1.688 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0002964/1.767, allocations: 326 kB / 1.141 GB, free: 1.363 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009831/1.777, allocations: 1.198 MB / 1.142 GB, free: 164 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009541/1.786, allocations: 1.246 MB / 1.144 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008976/1.795, allocations: 1.13 MB / 1.145 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.461e-05/1.795, allocations: 4 kB / 1.145 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.04136/1.837, allocations: 4.133 MB / 1.149 GB, free: 9.598 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002041/1.837, allocations: 216.9 kB / 1.149 GB, free: 9.363 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.573e-05/1.837, allocations: 0 / 1.149 GB, free: 9.363 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006101/1.843, allocations: 0.9442 MB / 1.15 GB, free: 8.402 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003875/1.847, allocations: 431.4 kB / 1.15 GB, free: 7.98 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01624/1.863, allocations: 8.196 MB / 1.158 GB, free: 15.21 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005473/1.869, allocations: 475.1 kB / 1.159 GB, free: 14.75 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003588/1.869, allocations: 39.95 kB / 1.159 GB, free: 14.71 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/1.869, allocations: 7.938 kB / 1.159 GB, free: 14.7 MB / 0.92 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03894/1.908, allocations: 3.86 MB / 1.162 GB, free: 10.82 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.735e-05/1.908, allocations: 0 / 1.162 GB, free: 10.82 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00396/1.912, allocations: 0.7651 MB / 1.163 GB, free: 10.04 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004008/1.916, allocations: 435.4 kB / 1.164 GB, free: 9.613 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01151/1.928, allocations: 6.897 MB / 1.17 GB, free: 2.16 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005606/1.934, allocations: 463.3 kB / 1.171 GB, free: 1.707 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003634/1.934, allocations: 43.89 kB / 1.171 GB, free: 1.664 MB / 0.92 GB 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 () * Number of clocked 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.002199/1.936, allocations: 0.6859 MB / 1.172 GB, free: 0.9609 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008107/1.937, allocations: 142.2 kB / 1.172 GB, free: 0.8203 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03716/1.974, allocations: 3.529 MB / 1.175 GB, free: 13.26 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.356e-05/1.974, allocations: 8 kB / 1.175 GB, free: 13.25 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.605e-06/1.974, allocations: 4 kB / 1.175 GB, free: 13.25 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.696e-05/1.974, allocations: 3.984 kB / 1.175 GB, free: 13.25 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003291/1.978, allocations: 0.9951 MB / 1.176 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.758e-06/1.978, allocations: 3.953 kB / 1.176 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003515/1.981, allocations: 395.5 kB / 1.176 GB, free: 11.81 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000979/1.982, allocations: 164.7 kB / 1.177 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00014/1.983, allocations: 23.97 kB / 1.177 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001683/1.984, allocations: 0.6499 MB / 1.177 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/1.984, allocations: 0 / 1.177 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03758/2.022, allocations: 3.507 MB / 1.181 GB, free: 7.398 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00145/2.023, allocations: 371 kB / 1.181 GB, free: 7.016 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003865/2.024, allocations: 12 kB / 1.181 GB, free: 7.004 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004639/2.028, allocations: 415.5 kB / 1.181 GB, free: 6.598 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001798/2.029, allocations: 23.92 kB / 1.182 GB, free: 6.574 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001663/2.029, allocations: 31.95 kB / 1.182 GB, free: 6.543 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.004279/2.033, allocations: 1.499 MB / 1.183 GB, free: 5.051 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.51e-07/2.033, allocations: 0 / 1.183 GB, free: 5.051 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.003027/2.036, allocations: 0.5232 MB / 1.184 GB, free: 4.527 MB / 0.9356 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) * Number of clocked states: 0 () * 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.01808/2.054, allocations: 3.155 MB / 1.187 GB, free: 1.328 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.03171/2.086, allocations: 5.137 MB / 1.192 GB, free: 12.06 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 8.786e-06/2.086, allocations: 0 / 1.192 GB, free: 12.06 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.008922/2.095, allocations: 1.186 MB / 1.193 GB, free: 10.86 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0032/2.098, allocations: 337.6 kB / 1.193 GB, free: 10.53 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03915/2.138, allocations: 5.905 MB / 1.199 GB, free: 4.562 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002301/2.14, allocations: 1.444 MB / 1.2 GB, free: 3.09 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.003039/2.143, allocations: 264.9 kB / 1.201 GB, free: 2.828 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001575/2.145, allocations: 435.2 kB / 1.201 GB, free: 2.402 MB / 0.9512 GB Notification: Performance of SimCode: time 1.623e-06/2.145, allocations: 0 / 1.201 GB, free: 2.402 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1182/2.263, allocations: 42.14 MB / 1.242 GB, free: 8.668 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003088/2.263, allocations: 245.1 kB / 1.242 GB, free: 8.43 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.888/7.151, allocations: 0 / 1.242 GB, free: 8.43 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDewPoint.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDewPoint.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDewPoint.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDewPoint.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDewPoint_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_ApparatusDewPoint_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_ApparatusDewPoint.fmu > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDewPoint.pipe 2>&1) Environment - environmentSimulation: