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.001625/0.001625, allocations: 107.3 kB / 16.46 MB, free: 6.508 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.001463/0.001463, allocations: 213.7 kB / 19.43 MB, free: 3.648 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.467/1.467, allocations: 230.6 MB / 252.8 MB, free: 9.113 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.36/3.36, allocations: 0.505 GB / 0.8066 GB, free: 23.24 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.002092/0.002092, allocations: 71.62 kB / 1.172 GB, free: 17.58 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3773/0.3794, allocations: 180.2 MB / 1.348 GB, free: 10.07 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp): time 0.003443/0.3829, allocations: 1.706 MB / 1.349 GB, free: 8.355 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.1824/0.5652, allocations: 151.7 MB / 1.498 GB, free: 56 kB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001781/0.5654, allocations: 0 / 1.498 GB, free: 56 kB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0003448/0.5658, allocations: 51.67 kB / 1.498 GB, free: 4 kB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.002063/0.5678, allocations: 446 kB / 1.498 GB, free: 15.57 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002621/0.5681, allocations: 67.8 kB / 1.498 GB, free: 15.5 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.0003454/0.5684, allocations: 147.3 kB / 1.498 GB, free: 15.36 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 6.664e-05/0.5685, allocations: 5.406 kB / 1.498 GB, free: 15.34 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001067/0.5686, allocations: 55.77 kB / 1.498 GB, free: 15.29 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001961/0.5688, allocations: 59.83 kB / 1.498 GB, free: 15.23 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 3.227e-05/0.5688, allocations: 12 kB / 1.498 GB, free: 15.22 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001404/0.5702, allocations: 0.5456 MB / 1.499 GB, free: 14.67 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 4.765e-05/0.5703, allocations: 23.92 kB / 1.499 GB, free: 14.65 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 7.944e-05/0.5704, allocations: 51.73 kB / 1.499 GB, free: 14.6 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.001092/0.5715, allocations: 382.8 kB / 1.499 GB, free: 14.22 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.5715, allocations: 0 / 1.499 GB, free: 14.22 MB / 1.201 GB Notification: Performance of FrontEnd: time 3.206e-06/0.5715, allocations: 0 / 1.499 GB, free: 14.22 MB / 1.201 GB Notification: Performance of Transformations before backend: time 9.178e-06/0.5715, allocations: 0 / 1.499 GB, free: 14.22 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.0009576/0.5724, allocations: 494.1 kB / 1.5 GB, free: 13.69 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 5.528e-05/0.5725, allocations: 23.92 kB / 1.5 GB, free: 13.67 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.761e-05/0.5726, allocations: 110 kB / 1.5 GB, free: 13.55 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01078/0.5833, allocations: 1.709 MB / 1.502 GB, free: 11.84 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005613/0.5839, allocations: 312 kB / 1.502 GB, free: 11.5 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.522e-05/0.584, allocations: 162.6 kB / 1.502 GB, free: 11.34 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001266/0.5841, allocations: 154.5 kB / 1.502 GB, free: 11.18 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.538e-05/0.5842, allocations: 104.9 kB / 1.502 GB, free: 11.07 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.053e-05/0.5843, allocations: 75.28 kB / 1.502 GB, free: 11 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.51e-05/0.5843, allocations: 154.6 kB / 1.503 GB, free: 10.85 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.113e-05/0.5844, allocations: 154.6 kB / 1.503 GB, free: 10.7 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.168e-05/0.5845, allocations: 150.6 kB / 1.503 GB, free: 10.55 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006913/0.5852, allocations: 0.6187 MB / 1.503 GB, free: 9.879 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001266/0.5853, allocations: 173.1 kB / 1.504 GB, free: 9.699 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.82e-05/0.5854, allocations: 88.14 kB / 1.504 GB, free: 9.609 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 3.855e-05/0.5854, allocations: 75.28 kB / 1.504 GB, free: 9.535 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.388e-05/0.5854, allocations: 109.8 kB / 1.504 GB, free: 9.418 MB / 1.201 GB Notification: Performance of pre-optimization done (n=0): time 2.154e-06/0.5854, allocations: 0 / 1.504 GB, free: 9.418 MB / 1.201 GB Notification: Performance of matching and sorting (n=0): time 0.0004479/0.5859, allocations: 57.59 kB / 1.504 GB, free: 9.355 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.788e-05/0.586, allocations: 134.7 kB / 1.504 GB, free: 9.211 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003903/0.5864, allocations: 215.1 kB / 1.504 GB, free: 8.992 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 5.546e-05/0.5864, allocations: 29.7 kB / 1.504 GB, free: 8.957 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001218/0.5865, allocations: 96.14 kB / 1.504 GB, free: 8.859 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 4.889e-06/0.5866, allocations: 11.88 kB / 1.504 GB, free: 8.848 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001495/0.5867, allocations: 29.69 kB / 1.504 GB, free: 8.812 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001864/0.5869, allocations: 326.8 kB / 1.505 GB, free: 8.484 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004289/0.5912, allocations: 0.7812 MB / 1.506 GB, free: 7.699 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004241/0.5954, allocations: 0.7804 MB / 1.506 GB, free: 6.918 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003933/0.5994, allocations: 0.6797 MB / 1.507 GB, free: 6.234 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.92e-06/0.5994, allocations: 0 / 1.507 GB, free: 6.234 MB / 1.201 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.008945/0.6083, allocations: 1.559 MB / 1.508 GB, free: 4.664 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.577e-05/0.6083, allocations: 4 kB / 1.508 GB, free: 4.66 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.816e-06/0.6083, allocations: 0 / 1.508 GB, free: 4.66 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009091/0.6092, allocations: 144.7 kB / 1.509 GB, free: 4.516 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00211/0.6114, allocations: 331.6 kB / 1.509 GB, free: 4.191 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002551/0.6139, allocations: 1.616 MB / 1.511 GB, free: 2.434 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002164/0.6161, allocations: 327.6 kB / 1.511 GB, free: 2.113 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.013e-05/0.6161, allocations: 7.984 kB / 1.511 GB, free: 2.105 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004285/0.6204, allocations: 0.8547 MB / 1.512 GB, free: 1.246 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004156/0.6246, allocations: 0.7842 MB / 1.512 GB, free: 472 kB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003826/0.6284, allocations: 0.6797 MB / 1.513 GB, free: 15.78 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.438e-06/0.6284, allocations: 3.984 kB / 1.513 GB, free: 15.77 MB / 1.217 GB Notification: Performance of matching and sorting (n=6) (initialization_lambda0): time 0.008217/0.6366, allocations: 1.52 MB / 1.515 GB, free: 14.24 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/0.6366, allocations: 4 kB / 1.515 GB, free: 14.24 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.6366, allocations: 0 / 1.515 GB, free: 14.24 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004556/0.6371, allocations: 116.6 kB / 1.515 GB, free: 14.12 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002028/0.6391, allocations: 331.6 kB / 1.515 GB, free: 13.8 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001533/0.6406, allocations: 1.461 MB / 1.516 GB, free: 12.19 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002124/0.6428, allocations: 323.7 kB / 1.517 GB, free: 11.88 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.216e-05/0.6428, allocations: 3.984 kB / 1.517 GB, free: 11.87 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.0001798/0.643, allocations: 267.5 kB / 1.517 GB, free: 11.6 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000107/0.6431, allocations: 112.9 kB / 1.517 GB, free: 11.48 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.35e-05/0.6432, allocations: 125.2 kB / 1.517 GB, free: 11.36 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.515e-05/0.6432, allocations: 176.3 kB / 1.517 GB, free: 11.18 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.522e-05/0.6433, allocations: 180.2 kB / 1.518 GB, free: 10.99 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.112e-05/0.6434, allocations: 188.2 kB / 1.518 GB, free: 10.8 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003165/0.6437, allocations: 445.1 kB / 1.518 GB, free: 10.31 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.271e-05/0.6438, allocations: 104.9 kB / 1.518 GB, free: 10.2 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.148e-05/0.6438, allocations: 101 kB / 1.518 GB, free: 10.09 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.056e-05/0.6439, allocations: 184.2 kB / 1.519 GB, free: 9.906 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.308e-05/0.644, allocations: 188.2 kB / 1.519 GB, free: 9.715 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.121e-05/0.644, allocations: 180.3 kB / 1.519 GB, free: 9.531 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.664e-05/0.6441, allocations: 184.2 kB / 1.519 GB, free: 9.344 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001873/0.6443, allocations: 307.7 kB / 1.519 GB, free: 9.02 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001435/0.6444, allocations: 202 kB / 1.52 GB, free: 8.797 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001009/0.6446, allocations: 192.2 kB / 1.52 GB, free: 8.602 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001937/0.6447, allocations: 104.9 kB / 1.52 GB, free: 8.492 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.666e-05/0.6448, allocations: 180.3 kB / 1.52 GB, free: 8.309 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.116e-05/0.6449, allocations: 101 kB / 1.52 GB, free: 8.203 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0002383/0.6451, allocations: 164 kB / 1.52 GB, free: 8.043 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6451, allocations: 8 kB / 1.52 GB, free: 8.035 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0005091/0.6456, allocations: 79.94 kB / 1.52 GB, free: 7.957 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.0006062/0.6462, allocations: 0.8401 MB / 1.521 GB, free: 7.09 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.009061/0.6553, allocations: 1.816 MB / 1.523 GB, free: 5.246 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.6553, allocations: 0 / 1.523 GB, free: 5.246 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 6.041e-06/0.6553, allocations: 16 / 1.523 GB, free: 5.246 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006104/0.6559, allocations: 485.3 kB / 1.523 GB, free: 4.77 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02413/0.68, allocations: 5.935 MB / 1.529 GB, free: 14.74 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000363/0.6804, allocations: 0.7006 MB / 1.53 GB, free: 14.02 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0002848/0.6807, allocations: 36.55 kB / 1.53 GB, free: 13.98 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001456/0.6808, allocations: 31.41 kB / 1.53 GB, free: 13.95 MB / 1.232 GB Notification: Performance of SimCode: time 1.373e-06/0.6808, allocations: 0 / 1.53 GB, free: 13.95 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03959/0.7204, allocations: 6.243 MB / 1.536 GB, free: 7.883 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.78/13.5, allocations: 6.984 kB / 1.536 GB, free: 7.879 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: 20.559470053995028] Failed to read output from testmodel.py, exit status != 0: 13.600319433957338 13.61477721 13.040217652 Calling exit ...