Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint.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.ApparatusDryPoint,fileNamePrefix="Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_ApparatusDryPoint",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint,fileNamePrefix="Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_ApparatusDryPoint",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.0009152/0.0009152, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.006181/0.006181, allocations: 170.2 kB / 16.26 MB, free: 6.676 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.209/1.209, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.403/2.403, allocations: 462.6 MB / 0.7364 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003354/0.0003354, allocations: 15.56 kB / 0.9029 GB, free: 36.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2629/0.2632, allocations: 159.6 MB / 1.059 GB, free: 4.902 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint): time 0.00321/0.2665, allocations: 2.645 MB / 1.061 GB, free: 2.242 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1479/0.4144, allocations: 150.8 MB / 1.209 GB, free: 10.92 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003845/0.4148, allocations: 4 kB / 1.209 GB, free: 10.91 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.00151/0.4164, allocations: 0.5328 MB / 1.209 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001595/0.418, allocations: 0.6184 MB / 1.21 GB, free: 9.758 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001486/0.4195, allocations: 0.5521 MB / 1.21 GB, free: 9.207 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.00135/0.4208, allocations: 1.295 MB / 1.212 GB, free: 7.91 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002841/0.4211, allocations: 182.5 kB / 1.212 GB, free: 7.719 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005939/0.4217, allocations: 438.1 kB / 1.212 GB, free: 7.289 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000925/0.4227, allocations: 0.5836 MB / 1.213 GB, free: 6.703 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0002003/0.4229, allocations: 56 kB / 1.213 GB, free: 6.648 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0022/0.4251, allocations: 1.244 MB / 1.214 GB, free: 5.402 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0003811/0.4255, allocations: 358.7 kB / 1.214 GB, free: 5.051 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0007524/0.4262, allocations: 0.6582 MB / 1.215 GB, free: 4.383 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.003018/0.4293, allocations: 2.741 MB / 1.218 GB, free: 1.633 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.4293, allocations: 0 / 1.218 GB, free: 1.633 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.793e-06/0.4293, allocations: 0 / 1.218 GB, free: 1.633 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.176e-05/0.4293, allocations: 0 / 1.218 GB, free: 1.633 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.003572/0.4329, allocations: 1.879 MB / 1.219 GB, free: 15.69 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/0.433, allocations: 19.95 kB / 1.219 GB, free: 15.67 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.545e-05/0.433, allocations: 46.75 kB / 1.22 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01574/0.4488, allocations: 2.187 MB / 1.222 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002871/0.4517, allocations: 1.46 MB / 1.223 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.15e-05/0.4518, allocations: 16 kB / 1.223 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001232/0.4519, allocations: 24 kB / 1.223 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005489/0.4574, allocations: 1.218 MB / 1.224 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.4574, allocations: 3.984 kB / 1.224 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.658e-05/0.4575, allocations: 4 kB / 1.224 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.4575, allocations: 4 kB / 1.224 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009835/0.4673, allocations: 2.068 MB / 1.226 GB, free: 8.562 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01005/0.4774, allocations: 3.677 MB / 1.23 GB, free: 4.723 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01019/0.4876, allocations: 2.165 MB / 1.232 GB, free: 2.547 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004983/0.4927, allocations: 1.043 MB / 1.233 GB, free: 1.5 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007249/0.4934, allocations: 0.522 MB / 1.234 GB, free: 0.8672 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005253/0.4987, allocations: 1.172 MB / 1.235 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=23): time 3.036e-06/0.4987, allocations: 0 / 1.235 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of matching and sorting (n=23): time 0.01653/0.5152, allocations: 3.321 MB / 1.238 GB, free: 12.34 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.078e-05/0.5153, allocations: 110.8 kB / 1.238 GB, free: 12.21 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003713/0.5191, allocations: 2.483 MB / 1.24 GB, free: 9.719 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001529/0.5192, allocations: 29.7 kB / 1.241 GB, free: 9.684 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005681/0.5198, allocations: 0.5939 MB / 1.241 GB, free: 9.086 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001071/0.5199, allocations: 63.09 kB / 1.241 GB, free: 9.023 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001193/0.5201, allocations: 53.69 kB / 1.241 GB, free: 8.965 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000112/0.5202, allocations: 326 kB / 1.242 GB, free: 8.641 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005256/0.5254, allocations: 1.175 MB / 1.243 GB, free: 7.461 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005121/0.5306, allocations: 1.226 MB / 1.244 GB, free: 6.23 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009362/0.54, allocations: 2.041 MB / 1.246 GB, free: 4.176 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.54, allocations: 0 / 1.246 GB, free: 4.176 MB / 0.9981 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.01226/0.5522, allocations: 2.931 MB / 1.249 GB, free: 1.215 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 9.879e-05/0.5524, allocations: 136.3 kB / 1.249 GB, free: 1.066 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.5524, allocations: 3.984 kB / 1.249 GB, free: 1.062 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00346/0.5559, allocations: 0.8031 MB / 1.25 GB, free: 252 kB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.4481/1.004, allocations: 499.6 kB / 1.25 GB, free: 189.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007796/1.012, allocations: 7.427 MB / 1.257 GB, free: 184.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003525/1.015, allocations: 462.8 kB / 1.258 GB, free: 184.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001337/1.016, allocations: 35.88 kB / 1.258 GB, free: 184.4 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 8.426e-06/1.016, allocations: 3.938 kB / 1.258 GB, free: 184.4 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01078/1.026, allocations: 2.61 MB / 1.26 GB, free: 184.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.764e-06/1.026, allocations: 4.875 kB / 1.26 GB, free: 184.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002093/1.028, allocations: 0.6339 MB / 1.261 GB, free: 184.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003171/1.032, allocations: 495.4 kB / 1.261 GB, free: 184.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004012/1.036, allocations: 6.193 MB / 1.268 GB, free: 179.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003364/1.039, allocations: 453.7 kB / 1.268 GB, free: 179.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001001/1.039, allocations: 32.92 kB / 1.268 GB, free: 179.2 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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,appDryPt.stage,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(1,2), (1,2), (1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0008613/1.04, allocations: 0.6771 MB / 1.269 GB, free: 178.9 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002761/1.04, allocations: 153.6 kB / 1.269 GB, free: 178.9 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01063/1.051, allocations: 2.336 MB / 1.271 GB, free: 178.7 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.847e-06/1.051, allocations: 4.656 kB / 1.271 GB, free: 178.7 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.304e-06/1.051, allocations: 3.344 kB / 1.271 GB, free: 178.7 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/1.051, allocations: 5.406 kB / 1.271 GB, free: 178.7 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001787/1.053, allocations: 1.25 MB / 1.272 GB, free: 178.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/1.053, allocations: 0.5312 kB / 1.272 GB, free: 178.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002953/1.056, allocations: 444.2 kB / 1.273 GB, free: 178.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.115e-06/1.056, allocations: 1.703 kB / 1.273 GB, free: 178.4 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-05/1.056, allocations: 26.52 kB / 1.273 GB, free: 178.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/1.056, allocations: 3.984 kB / 1.273 GB, free: 178.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/1.056, allocations: 1.219 kB / 1.273 GB, free: 178.3 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01051/1.066, allocations: 2.258 MB / 1.275 GB, free: 178.1 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008676/1.067, allocations: 424.4 kB / 1.275 GB, free: 177.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000244/1.068, allocations: 7.703 kB / 1.275 GB, free: 177.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00314/1.071, allocations: 400.8 kB / 1.276 GB, free: 177.9 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.494e-05/1.071, allocations: 22.45 kB / 1.276 GB, free: 177.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.722e-05/1.071, allocations: 29.83 kB / 1.276 GB, free: 177.9 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002912/1.074, allocations: 1.769 MB / 1.278 GB, free: 177.8 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.91e-07/1.074, allocations: 0 / 1.278 GB, free: 177.8 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00167/1.076, allocations: 0.5503 MB / 1.278 GB, free: 177.8 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,appDryPt.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 (20): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01056/1.086, allocations: 2.949 MB / 1.281 GB, free: 177 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01723/1.103, allocations: 4.98 MB / 1.286 GB, free: 175.2 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.229e-06/1.103, allocations: 1.062 kB / 1.286 GB, free: 175.2 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.004984/1.108, allocations: 1.146 MB / 1.287 GB, free: 174.8 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001772/1.11, allocations: 361.9 kB / 1.287 GB, free: 174.7 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06814/1.178, allocations: 24.42 MB / 1.311 GB, free: 157.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007989/1.179, allocations: 1.416 MB / 1.313 GB, free: 156 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.00176/1.181, allocations: 447.2 kB / 1.313 GB, free: 155.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007313/1.182, allocations: 459.2 kB / 1.313 GB, free: 155.1 MB / 0.9981 GB Notification: Performance of SimCode: time 1.122e-06/1.182, allocations: 0 / 1.313 GB, free: 155.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.537/4.719, allocations: 41.93 MB / 1.354 GB, free: 113.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001814/4.719, allocations: 271.3 kB / 1.355 GB, free: 113.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.407/8.126, allocations: 0 / 1.355 GB, free: 113.3 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_ApparatusDryPoint_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_ApparatusDryPoint.fmu > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint.pipe 2>&1)