Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001714/0.001714, allocations: 114.3 kB / 18.94 MB, free: 2.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002135/0.002135, allocations: 215.2 kB / 22.25 MB, free: 5.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.483/1.483, allocations: 230.6 MB / 256 MB, free: 8.043 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.42/3.42, allocations: 0.505 GB / 0.8101 GB, free: 22.11 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp,fileNamePrefix="Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_UACp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp,fileNamePrefix="Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_UACp",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002154/0.002154, allocations: 69.3 kB / 1.177 GB, free: 17.16 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3613/0.3635, allocations: 180.2 MB / 1.353 GB, free: 8.457 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp): time 0.003369/0.3669, allocations: 1.722 MB / 1.355 GB, free: 6.727 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.1843/0.5512, allocations: 151.8 MB / 1.503 GB, free: 14.39 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.841e-05/0.5513, allocations: 4 kB / 1.503 GB, free: 14.39 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0002049/0.5515, allocations: 47.67 kB / 1.503 GB, free: 14.34 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.001291/0.5528, allocations: 450 kB / 1.503 GB, free: 13.9 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001743/0.5529, allocations: 67.8 kB / 1.503 GB, free: 13.83 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.0002262/0.5532, allocations: 143.3 kB / 1.503 GB, free: 13.69 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 4.888e-05/0.5532, allocations: 9.578 kB / 1.503 GB, free: 13.68 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 7.343e-05/0.5533, allocations: 55.78 kB / 1.504 GB, free: 13.62 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001691/0.5534, allocations: 71.8 kB / 1.504 GB, free: 13.55 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 2.184e-05/0.5535, allocations: 8 kB / 1.504 GB, free: 13.54 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0011/0.5546, allocations: 0.5379 MB / 1.504 GB, free: 13 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 3.243e-05/0.5546, allocations: 23.91 kB / 1.504 GB, free: 12.98 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 7.276e-05/0.5547, allocations: 59.72 kB / 1.504 GB, free: 12.92 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.0007174/0.5554, allocations: 382.8 kB / 1.505 GB, free: 12.55 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/0.5554, allocations: 4 kB / 1.505 GB, free: 12.54 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.342e-06/0.5554, allocations: 0 / 1.505 GB, free: 12.54 MB / 1.201 GB Notification: Performance of Transformations before backend: time 6.022e-06/0.5554, allocations: 0 / 1.505 GB, free: 12.54 MB / 1.201 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0007659/0.5562, allocations: 417 kB / 1.505 GB, free: 12.11 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.5562, allocations: 15.97 kB / 1.505 GB, free: 12.09 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.09e-05/0.5563, allocations: 106 kB / 1.505 GB, free: 11.98 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01075/0.567, allocations: 1.709 MB / 1.507 GB, free: 10.27 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004089/0.5674, allocations: 270.1 kB / 1.507 GB, free: 9.977 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.626e-05/0.5675, allocations: 150.6 kB / 1.507 GB, free: 9.828 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001071/0.5676, allocations: 162.5 kB / 1.507 GB, free: 9.668 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.059e-05/0.5677, allocations: 101 kB / 1.507 GB, free: 9.562 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.627e-05/0.5677, allocations: 79.27 kB / 1.507 GB, free: 9.484 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.956e-05/0.5678, allocations: 154.6 kB / 1.508 GB, free: 9.332 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.04e-05/0.5679, allocations: 150.6 kB / 1.508 GB, free: 9.184 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.785e-05/0.5679, allocations: 154.5 kB / 1.508 GB, free: 9.031 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005604/0.5685, allocations: 0.5865 MB / 1.508 GB, free: 8.402 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000108/0.5686, allocations: 177.2 kB / 1.509 GB, free: 8.219 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.634e-05/0.5686, allocations: 80.14 kB / 1.509 GB, free: 8.137 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 3.127e-05/0.5687, allocations: 75.28 kB / 1.509 GB, free: 8.062 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.563e-05/0.5687, allocations: 113.8 kB / 1.509 GB, free: 7.941 MB / 1.201 GB Notification: Performance of pre-optimization done (n=0): time 1.894e-06/0.5687, allocations: 0 / 1.509 GB, free: 7.941 MB / 1.201 GB Notification: Performance of matching and sorting (n=0): time 0.0004156/0.5691, allocations: 65.59 kB / 1.509 GB, free: 7.871 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.92e-05/0.5692, allocations: 126.7 kB / 1.509 GB, free: 7.734 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000339/0.5695, allocations: 219.2 kB / 1.509 GB, free: 7.512 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 4.359e-05/0.5696, allocations: 25.7 kB / 1.509 GB, free: 7.48 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001008/0.5697, allocations: 104.1 kB / 1.509 GB, free: 7.375 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 2.204e-06/0.5697, allocations: 0 / 1.509 GB, free: 7.375 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001111/0.5698, allocations: 29.69 kB / 1.509 GB, free: 7.34 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001453/0.5699, allocations: 330.8 kB / 1.51 GB, free: 7.008 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004161/0.5741, allocations: 0.7773 MB / 1.511 GB, free: 6.227 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004212/0.5783, allocations: 0.7804 MB / 1.511 GB, free: 5.445 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003777/0.5821, allocations: 0.6875 MB / 1.512 GB, free: 4.754 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/0.5821, allocations: 0 / 1.512 GB, free: 4.754 MB / 1.201 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.008644/0.5907, allocations: 1.548 MB / 1.513 GB, free: 3.195 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.605e-05/0.5908, allocations: 10.03 kB / 1.513 GB, free: 3.188 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/0.5908, allocations: 0 / 1.513 GB, free: 3.188 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008824/0.5917, allocations: 152.6 kB / 1.514 GB, free: 3.035 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002027/0.5937, allocations: 327.6 kB / 1.514 GB, free: 2.715 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002823/0.5965, allocations: 1.509 MB / 1.515 GB, free: 1.094 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00205/0.5986, allocations: 331.6 kB / 1.516 GB, free: 0.7695 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.876e-05/0.5986, allocations: 7.922 kB / 1.516 GB, free: 0.7617 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00402/0.6026, allocations: 0.8625 MB / 1.517 GB, free: 15.89 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003969/0.6066, allocations: 0.7726 MB / 1.517 GB, free: 15.12 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003668/0.6103, allocations: 0.6797 MB / 1.518 GB, free: 14.44 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.35e-06/0.6103, allocations: 0 / 1.518 GB, free: 14.44 MB / 1.217 GB Notification: Performance of matching and sorting (n=6) (initialization_lambda0): time 0.007911/0.6182, allocations: 1.528 MB / 1.519 GB, free: 12.9 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.714e-05/0.6182, allocations: 8 kB / 1.519 GB, free: 12.89 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.6182, allocations: 0 / 1.519 GB, free: 12.89 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004801/0.6187, allocations: 116.7 kB / 1.52 GB, free: 12.77 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001947/0.6206, allocations: 323.6 kB / 1.52 GB, free: 12.46 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001524/0.6222, allocations: 1.358 MB / 1.521 GB, free: 10.98 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002091/0.6243, allocations: 327.8 kB / 1.522 GB, free: 10.66 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.181e-05/0.6243, allocations: 8 kB / 1.522 GB, free: 10.66 MB / 1.217 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * 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,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002019/0.6245, allocations: 267.4 kB / 1.522 GB, free: 10.39 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001246/0.6246, allocations: 116.9 kB / 1.522 GB, free: 10.27 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.844e-05/0.6247, allocations: 113.3 kB / 1.522 GB, free: 10.14 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.698e-05/0.6248, allocations: 188.2 kB / 1.522 GB, free: 9.949 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.871e-05/0.6249, allocations: 180.3 kB / 1.522 GB, free: 9.766 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.303e-05/0.6249, allocations: 176.3 kB / 1.523 GB, free: 9.586 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003273/0.6253, allocations: 420.2 kB / 1.523 GB, free: 9.125 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-05/0.6253, allocations: 101 kB / 1.523 GB, free: 9.02 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.171e-05/0.6254, allocations: 109 kB / 1.523 GB, free: 8.906 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.042e-05/0.6255, allocations: 192.2 kB / 1.523 GB, free: 8.711 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.246e-05/0.6256, allocations: 180.2 kB / 1.524 GB, free: 8.527 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.744e-05/0.6256, allocations: 176.3 kB / 1.524 GB, free: 8.348 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.566e-05/0.6257, allocations: 180.3 kB / 1.524 GB, free: 8.164 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002012/0.6259, allocations: 319.7 kB / 1.524 GB, free: 7.828 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001276/0.626, allocations: 124.9 kB / 1.524 GB, free: 7.699 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001066/0.6261, allocations: 184.2 kB / 1.524 GB, free: 7.512 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002229/0.6264, allocations: 101 kB / 1.525 GB, free: 7.406 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.205e-05/0.6265, allocations: 188.2 kB / 1.525 GB, free: 7.215 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.42e-05/0.6265, allocations: 101 kB / 1.525 GB, free: 7.109 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0002527/0.6268, allocations: 165.2 kB / 1.525 GB, free: 6.949 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6268, allocations: 0 / 1.525 GB, free: 6.949 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0005274/0.6273, allocations: 76 kB / 1.525 GB, free: 6.875 MB / 1.217 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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.0006183/0.6279, allocations: 0.8439 MB / 1.526 GB, free: 6.004 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.008976/0.6369, allocations: 1.816 MB / 1.528 GB, free: 4.16 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.6369, allocations: 0 / 1.528 GB, free: 4.16 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 9.408e-06/0.6369, allocations: 3.953 kB / 1.528 GB, free: 4.156 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006331/0.6375, allocations: 479.6 kB / 1.528 GB, free: 3.684 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0239/0.6614, allocations: 5.923 MB / 1.534 GB, free: 13.67 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003652/0.6618, allocations: 0.7006 MB / 1.535 GB, free: 12.94 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0003/0.6621, allocations: 40.47 kB / 1.535 GB, free: 12.9 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00014/0.6622, allocations: 31.42 kB / 1.535 GB, free: 12.87 MB / 1.232 GB Notification: Performance of SimCode: time 1.824e-06/0.6622, allocations: 4 kB / 1.535 GB, free: 12.87 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04181/0.704, allocations: 6.243 MB / 1.541 GB, free: 6.781 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.12/13.82, allocations: 17 kB / 1.541 GB, free: 6.77 MB / 1.232 GB " [Timeout remaining time 286] (rm -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp_res.csv --start-time 0 --stop-time 60 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_UACp.fmu > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 21.005338930999642] Failed to read output from testmodel.py, exit status != 0: 13.941001988000153 13.957118495 13.398522944 Calling exit ...