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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.0009649/0.0009651, allocations: 90.67 kB / 15.36 MB, free: 0.7344 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.006516/0.006516, allocations: 169.8 kB / 16.26 MB, free: 6.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.22/1.22, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.442/2.442, allocations: 462.6 MB / 0.7364 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0002976/0.0002976, allocations: 9.906 kB / 0.9029 GB, free: 36.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2451/0.2454, allocations: 159.6 MB / 1.059 GB, free: 4.852 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDewPoint): time 0.003363/0.2488, allocations: 2.649 MB / 1.061 GB, free: 2.188 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1487/0.3975, allocations: 150.8 MB / 1.209 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003914/0.3979, allocations: 4 kB / 1.209 GB, free: 10.79 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001458/0.3994, allocations: 0.5328 MB / 1.209 GB, free: 10.26 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001673/0.4011, allocations: 0.6183 MB / 1.21 GB, free: 9.637 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001579/0.4027, allocations: 0.565 MB / 1.21 GB, free: 9.07 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.00135/0.404, allocations: 1.26 MB / 1.212 GB, free: 7.809 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003079/0.4044, allocations: 194.5 kB / 1.212 GB, free: 7.605 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000601/0.405, allocations: 430.1 kB / 1.212 GB, free: 7.184 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000951/0.4059, allocations: 0.5836 MB / 1.213 GB, free: 6.598 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0002252/0.4062, allocations: 56 kB / 1.213 GB, free: 6.543 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0022/0.4084, allocations: 1.255 MB / 1.214 GB, free: 5.285 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0003774/0.4088, allocations: 342.8 kB / 1.214 GB, free: 4.949 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0008001/0.4096, allocations: 0.662 MB / 1.215 GB, free: 4.277 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.003159/0.4127, allocations: 2.741 MB / 1.218 GB, free: 1.527 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.4128, allocations: 0 / 1.218 GB, free: 1.527 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.823e-06/0.4128, allocations: 0 / 1.218 GB, free: 1.527 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 2.541e-05/0.4128, allocations: 0 / 1.218 GB, free: 1.527 MB / 0.9669 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.003238/0.416, allocations: 1.887 MB / 1.22 GB, free: 15.58 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/0.4161, allocations: 19.97 kB / 1.22 GB, free: 15.56 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.903e-05/0.4162, allocations: 42.75 kB / 1.22 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01751/0.4337, allocations: 2.301 MB / 1.222 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002808/0.4365, allocations: 1.46 MB / 1.223 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.848e-05/0.4366, allocations: 16.23 kB / 1.223 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001161/0.4367, allocations: 20 kB / 1.223 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005589/0.4423, allocations: 1.257 MB / 1.225 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.4423, allocations: 3.938 kB / 1.225 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.173e-05/0.4424, allocations: 0 / 1.225 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.767e-06/0.4424, allocations: 4 kB / 1.225 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01077/0.4532, allocations: 2.095 MB / 1.227 GB, free: 8.281 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01052/0.4637, allocations: 3.365 MB / 1.23 GB, free: 4.855 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01398/0.4777, allocations: 2.768 MB / 1.233 GB, free: 2.066 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005059/0.4828, allocations: 1.067 MB / 1.234 GB, free: 0.9922 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006096/0.4834, allocations: 445.5 kB / 1.234 GB, free: 476 kB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00538/0.4888, allocations: 1.232 MB / 1.235 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=21): time 2.335e-06/0.4889, allocations: 0 / 1.235 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of matching and sorting (n=21): time 0.03428/0.5231, allocations: 4.811 MB / 1.24 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.199e-05/0.5233, allocations: 136.5 kB / 1.24 GB, free: 10.19 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003501/0.5268, allocations: 2.48 MB / 1.242 GB, free: 7.707 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001744/0.527, allocations: 41.67 kB / 1.243 GB, free: 7.66 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005435/0.5275, allocations: 0.5938 MB / 1.243 GB, free: 7.062 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001021/0.5276, allocations: 59.11 kB / 1.243 GB, free: 7.004 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001252/0.5277, allocations: 45.69 kB / 1.243 GB, free: 6.953 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001129/0.5279, allocations: 322 kB / 1.244 GB, free: 6.633 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005336/0.5332, allocations: 1.218 MB / 1.245 GB, free: 5.41 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005354/0.5386, allocations: 1.258 MB / 1.246 GB, free: 4.145 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00946/0.5481, allocations: 2.115 MB / 1.248 GB, free: 2.012 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.571e-06/0.5481, allocations: 0 / 1.248 GB, free: 2.012 MB / 0.9981 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.4322/0.9802, allocations: 4.183 MB / 1.252 GB, free: 189.2 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 6.639e-05/0.9803, allocations: 131.6 kB / 1.252 GB, free: 189.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.9803, allocations: 7.312 kB / 1.252 GB, free: 189.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003714/0.9841, allocations: 0.9757 MB / 1.253 GB, free: 189 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002393/0.9865, allocations: 431.8 kB / 1.254 GB, free: 189 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04071/1.027, allocations: 8.076 MB / 1.261 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003541/1.031, allocations: 480.2 kB / 1.262 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000122/1.031, allocations: 44.86 kB / 1.262 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.016e-05/1.031, allocations: 4.781 kB / 1.262 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02562/1.057, allocations: 3.86 MB / 1.266 GB, free: 183 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/1.057, allocations: 0.7031 kB / 1.266 GB, free: 183 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002795/1.059, allocations: 0.7954 MB / 1.267 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002683/1.062, allocations: 432.1 kB / 1.267 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005195/1.067, allocations: 6.846 MB / 1.274 GB, free: 177.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003525/1.071, allocations: 469.3 kB / 1.274 GB, free: 177.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001027/1.071, allocations: 38.39 kB / 1.274 GB, free: 177.3 MB / 0.9981 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 (deaBan.y,$PRE.deaBan.y,speRat.nextEventScaled,speRat.nextEvent,$PRE.speRat.nextEvent,speRat.last,speRat.b,speRat.a,adp.stage,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 5 systems {(1,1), (1,2), (1,2), (1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0009881/1.072, allocations: 0.6766 MB / 1.275 GB, free: 177.1 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002261/1.072, allocations: 146.3 kB / 1.275 GB, free: 177.1 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02609/1.098, allocations: 3.53 MB / 1.278 GB, free: 176.7 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.401e-05/1.098, allocations: 2.219 kB / 1.278 GB, free: 176.7 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/1.098, allocations: 5 kB / 1.278 GB, free: 176.7 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/1.098, allocations: 0 / 1.278 GB, free: 176.7 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001495/1.1, allocations: 1.135 MB / 1.279 GB, free: 176.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/1.1, allocations: 0.9375 kB / 1.279 GB, free: 176.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002434/1.102, allocations: 401.3 kB / 1.28 GB, free: 176.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006193/1.103, allocations: 171.1 kB / 1.28 GB, free: 176.5 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.398e-05/1.103, allocations: 20.06 kB / 1.28 GB, free: 176.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008587/1.104, allocations: 0.6537 MB / 1.281 GB, free: 175.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/1.104, allocations: 6 kB / 1.281 GB, free: 175.9 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03011/1.134, allocations: 3.483 MB / 1.284 GB, free: 174.6 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001078/1.135, allocations: 437.4 kB / 1.284 GB, free: 174.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002185/1.135, allocations: 16.02 kB / 1.284 GB, free: 174.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002921/1.138, allocations: 414.3 kB / 1.285 GB, free: 174.2 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.74e-05/1.138, allocations: 20.5 kB / 1.285 GB, free: 174.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.794e-05/1.138, allocations: 35.77 kB / 1.285 GB, free: 174.2 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002644/1.141, allocations: 1.771 MB / 1.287 GB, free: 173.8 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.81e-07/1.141, allocations: 0 / 1.287 GB, free: 173.8 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001901/1.143, allocations: 0.5516 MB / 1.287 GB, free: 173.8 MB / 0.9981 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01122/1.154, allocations: 3.072 MB / 1.29 GB, free: 172.4 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01752/1.172, allocations: 5.145 MB / 1.295 GB, free: 170 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/1.172, allocations: 0 / 1.295 GB, free: 170 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.005034/1.177, allocations: 1.192 MB / 1.296 GB, free: 169.6 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001716/1.179, allocations: 351.4 kB / 1.297 GB, free: 169.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09869/1.277, allocations: 26.74 MB / 1.323 GB, free: 145.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007058/1.278, allocations: 1.407 MB / 1.324 GB, free: 144 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001753/1.28, allocations: 435.1 kB / 1.325 GB, free: 143.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007941/1.281, allocations: 455.2 kB / 1.325 GB, free: 143.1 MB / 0.9981 GB Notification: Performance of SimCode: time 1.363e-06/1.281, allocations: 3.172 kB / 1.325 GB, free: 143.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6201/1.901, allocations: 47.11 MB / 1.371 GB, free: 96.45 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001723/1.901, allocations: 268.5 kB / 1.371 GB, free: 96.09 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.726/4.627, allocations: 0 / 1.371 GB, free: 96.09 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/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)