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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.005294/0.005294, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001539/0.001539, allocations: 202.8 kB / 16.68 MB, free: 5.969 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.35/1.35, allocations: 222.9 MB / 240.4 MB, free: 4.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.621/2.621, allocations: 482.6 MB / 0.755 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001715/0.001715, allocations: 67.89 kB / 1.083 GB, free: 12.19 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2687/0.2704, allocations: 162.3 MB / 1.242 GB, free: 9.797 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint): time 0.003916/0.2743, allocations: 2.951 MB / 1.245 GB, free: 6.832 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.63/0.9043, allocations: 154.7 MB / 1.396 GB, free: 15.93 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000187/0.9045, allocations: 3.562 kB / 1.396 GB, free: 15.93 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.00122/0.9058, allocations: 0.5348 MB / 1.396 GB, free: 15.59 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.001338/0.9072, allocations: 0.6899 MB / 1.397 GB, free: 15.07 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.001332/0.9085, allocations: 0.649 MB / 1.398 GB, free: 14.62 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.001226/0.9097, allocations: 1.341 MB / 1.399 GB, free: 13.84 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002344/0.91, allocations: 184.4 kB / 1.399 GB, free: 13.76 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004425/0.9104, allocations: 499.9 kB / 1.4 GB, free: 13.49 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007706/0.9112, allocations: 0.6291 MB / 1.4 GB, free: 13.1 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0001351/0.9114, allocations: 101.4 kB / 1.4 GB, free: 13.09 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001817/0.9132, allocations: 1.186 MB / 1.401 GB, free: 12.48 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0003364/0.9135, allocations: 395.3 kB / 1.402 GB, free: 12.21 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0006102/0.9141, allocations: 0.6815 MB / 1.403 GB, free: 11.71 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.002767/0.9169, allocations: 2.822 MB / 1.405 GB, free: 9.742 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.9169, allocations: 0 / 1.405 GB, free: 9.742 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.042e-06/0.9169, allocations: 0 / 1.405 GB, free: 9.742 MB / 1.107 GB Notification: Performance of Transformations before backend: time 1.436e-05/0.917, allocations: 0 / 1.405 GB, free: 9.742 MB / 1.107 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.003496/0.9205, allocations: 2.135 MB / 1.407 GB, free: 8.152 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.353e-05/0.9205, allocations: 9.625 kB / 1.407 GB, free: 8.152 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.555e-05/0.9206, allocations: 48.33 kB / 1.407 GB, free: 8.102 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01449/0.9351, allocations: 1.783 MB / 1.409 GB, free: 7.254 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002504/0.9376, allocations: 1.462 MB / 1.411 GB, free: 6.242 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.234e-05/0.9376, allocations: 13.22 kB / 1.411 GB, free: 6.238 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.82e-05/0.9377, allocations: 22.28 kB / 1.411 GB, free: 6.23 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004926/0.9426, allocations: 1.018 MB / 1.412 GB, free: 5.648 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.9427, allocations: 3.984 kB / 1.412 GB, free: 5.645 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.054e-05/0.9427, allocations: 10.34 kB / 1.412 GB, free: 5.637 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.9427, allocations: 2.375 kB / 1.412 GB, free: 5.637 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008974/0.9517, allocations: 1.666 MB / 1.413 GB, free: 4.797 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009243/0.961, allocations: 3.472 MB / 1.417 GB, free: 2.266 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009188/0.9702, allocations: 1.773 MB / 1.418 GB, free: 1.363 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004455/0.9746, allocations: 0.8471 MB / 1.419 GB, free: 0.9297 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007493/0.9754, allocations: 0.5186 MB / 1.42 GB, free: 348 kB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004854/0.9803, allocations: 0.9838 MB / 1.421 GB, free: 15.73 MB / 1.123 GB Notification: Performance of pre-optimization done (n=23): time 2.505e-06/0.9803, allocations: 0 / 1.421 GB, free: 15.73 MB / 1.123 GB Notification: Performance of matching and sorting (n=23): time 0.01526/0.9955, allocations: 2.718 MB / 1.423 GB, free: 12.99 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.777e-05/0.9956, allocations: 114.8 kB / 1.423 GB, free: 12.86 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00372/0.9994, allocations: 2.472 MB / 1.426 GB, free: 10.38 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0001065/0.9995, allocations: 33.7 kB / 1.426 GB, free: 10.34 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006197/1, allocations: 0.5978 MB / 1.426 GB, free: 9.734 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001016/1, allocations: 71.39 kB / 1.427 GB, free: 9.664 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002913/1.001, allocations: 121.6 kB / 1.427 GB, free: 9.539 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001368/1.001, allocations: 318 kB / 1.427 GB, free: 9.223 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004923/1.006, allocations: 0.9844 MB / 1.428 GB, free: 8.234 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004847/1.01, allocations: 1.015 MB / 1.429 GB, free: 7.211 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008755/1.019, allocations: 1.673 MB / 1.431 GB, free: 5.52 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/1.019, allocations: 0 / 1.431 GB, free: 5.52 MB / 1.123 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.01166/1.031, allocations: 2.534 MB / 1.433 GB, free: 2.961 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 4.087e-05/1.031, allocations: 37.69 kB / 1.433 GB, free: 2.918 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.756e-06/1.031, allocations: 0 / 1.433 GB, free: 2.918 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003276/1.034, allocations: 0.8069 MB / 1.434 GB, free: 2.098 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002923/1.037, allocations: 407.3 kB / 1.434 GB, free: 1.699 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009136/1.046, allocations: 7.965 MB / 1.442 GB, free: 9.168 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003181/1.05, allocations: 363.2 kB / 1.442 GB, free: 8.812 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.473e-05/1.05, allocations: 31.97 kB / 1.442 GB, free: 8.781 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005512/1.055, allocations: 1.495 MB / 1.444 GB, free: 7.281 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004697/1.06, allocations: 0.9913 MB / 1.445 GB, free: 6.277 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008573/1.068, allocations: 1.654 MB / 1.446 GB, free: 4.609 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.383e-06/1.068, allocations: 0 / 1.446 GB, free: 4.609 MB / 1.139 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.01046/1.079, allocations: 2.354 MB / 1.449 GB, free: 2.227 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 3.202e-05/1.079, allocations: 37.69 kB / 1.449 GB, free: 2.184 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/1.079, allocations: 7.938 kB / 1.449 GB, free: 2.176 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00188/1.081, allocations: 0.6238 MB / 1.449 GB, free: 1.539 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002952/1.084, allocations: 403.3 kB / 1.45 GB, free: 1.145 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005835/1.09, allocations: 6.635 MB / 1.456 GB, free: 9.957 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003015/1.093, allocations: 351.3 kB / 1.457 GB, free: 9.613 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.314e-05/1.093, allocations: 35.97 kB / 1.457 GB, free: 9.578 MB / 1.154 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.0002701/1.093, allocations: 230.5 kB / 1.457 GB, free: 9.34 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002451/1.093, allocations: 158.9 kB / 1.457 GB, free: 9.184 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009763/1.103, allocations: 1.937 MB / 1.459 GB, free: 7.227 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/1.103, allocations: 0 / 1.459 GB, free: 7.227 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.202e-06/1.103, allocations: 0 / 1.459 GB, free: 7.227 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/1.103, allocations: 11.98 kB / 1.459 GB, free: 7.215 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001467/1.105, allocations: 1.256 MB / 1.46 GB, free: 5.883 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/1.105, allocations: 0 / 1.46 GB, free: 5.883 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002516/1.107, allocations: 355.4 kB / 1.46 GB, free: 5.535 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/1.107, allocations: 0 / 1.46 GB, free: 5.535 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.14e-05/1.107, allocations: 15.98 kB / 1.46 GB, free: 5.52 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.467e-06/1.107, allocations: 3.984 kB / 1.46 GB, free: 5.516 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/1.107, allocations: 0 / 1.46 GB, free: 5.516 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009146/1.116, allocations: 1.863 MB / 1.462 GB, free: 3.625 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006641/1.117, allocations: 435.8 kB / 1.463 GB, free: 3.18 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002027/1.117, allocations: 8 kB / 1.463 GB, free: 3.172 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002592/1.12, allocations: 295.5 kB / 1.463 GB, free: 2.883 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.55e-05/1.12, allocations: 31.95 kB / 1.463 GB, free: 2.852 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.753e-05/1.12, allocations: 27.92 kB / 1.463 GB, free: 2.824 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.002662/1.123, allocations: 1.768 MB / 1.465 GB, free: 1.062 MB / 1.154 GB Notification: Performance of sort global known variables: time 3.025e-06/1.123, allocations: 0 / 1.465 GB, free: 1.062 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.00151/1.124, allocations: 0.5543 MB / 1.465 GB, free: 0.5078 MB / 1.154 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.01015/1.134, allocations: 2.564 MB / 1.468 GB, free: 13.91 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.01676/1.151, allocations: 4.39 MB / 1.472 GB, free: 9.383 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/1.151, allocations: 0 / 1.472 GB, free: 9.383 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.00463/1.156, allocations: 0.9435 MB / 1.473 GB, free: 8.426 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001527/1.157, allocations: 387.2 kB / 1.473 GB, free: 8.055 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06328/1.221, allocations: 21.47 MB / 1.494 GB, free: 2.363 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001065/1.222, allocations: 1.415 MB / 1.496 GB, free: 0.918 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.001418/1.223, allocations: 443.2 kB / 1.496 GB, free: 492 kB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008042/1.224, allocations: 459.2 kB / 1.497 GB, free: 36 kB / 1.186 GB Notification: Performance of SimCode: time 4.91e-07/1.224, allocations: 0 / 1.497 GB, free: 36 kB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.944/3.167, allocations: 44.29 MB / 1.54 GB, free: 4.172 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 29.51/32.68, allocations: 0.7188 kB / 1.54 GB, free: 4.172 MB / 1.232 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=400 --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)