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.001622/0.001622, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001917/0.001917, allocations: 208.4 kB / 22.24 MB, free: 5.262 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.474/1.474, allocations: 230.6 MB / 256 MB, free: 7.793 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.268/3.268, allocations: 0.5107 GB / 0.8158 GB, free: 17.79 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.002023/0.002023, allocations: 66.66 kB / 1.186 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3484/0.3504, allocations: 181.9 MB / 1.363 GB, free: 14.07 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp): time 0.003324/0.3538, allocations: 1.664 MB / 1.365 GB, free: 12.39 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.1642/0.518, allocations: 130.4 MB / 1.492 GB, free: 9.52 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001221/0.5181, allocations: 0 / 1.492 GB, free: 9.52 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0002443/0.5184, allocations: 43.64 kB / 1.492 GB, free: 9.477 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.001547/0.5199, allocations: 442 kB / 1.493 GB, free: 9.043 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002238/0.5201, allocations: 63.81 kB / 1.493 GB, free: 8.98 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.0002916/0.5204, allocations: 151.3 kB / 1.493 GB, free: 8.832 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 5.798e-05/0.5205, allocations: 5.594 kB / 1.493 GB, free: 8.824 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000113/0.5206, allocations: 51.83 kB / 1.493 GB, free: 8.773 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001905/0.5208, allocations: 63.75 kB / 1.493 GB, free: 8.711 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 2.773e-05/0.5208, allocations: 12 kB / 1.493 GB, free: 8.699 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001123/0.5219, allocations: 458.9 kB / 1.494 GB, free: 8.25 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 3.25e-05/0.522, allocations: 23.91 kB / 1.494 GB, free: 8.227 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 6.178e-05/0.522, allocations: 43.8 kB / 1.494 GB, free: 8.184 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.0007178/0.5228, allocations: 374.8 kB / 1.494 GB, free: 7.816 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.5228, allocations: 0 / 1.494 GB, free: 7.816 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.774e-06/0.5228, allocations: 0 / 1.494 GB, free: 7.816 MB / 1.186 GB Notification: Performance of Transformations before backend: time 8.085e-06/0.5228, allocations: 4 kB / 1.494 GB, free: 7.812 MB / 1.186 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.0007491/0.5235, allocations: 413 kB / 1.494 GB, free: 7.379 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.677e-05/0.5236, allocations: 8.031 kB / 1.494 GB, free: 7.371 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.094e-05/0.5236, allocations: 106 kB / 1.495 GB, free: 7.258 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01007/0.5337, allocations: 1.713 MB / 1.496 GB, free: 5.543 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004014/0.5341, allocations: 262.1 kB / 1.496 GB, free: 5.262 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.884e-05/0.5342, allocations: 158.6 kB / 1.497 GB, free: 5.105 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001/0.5343, allocations: 154.6 kB / 1.497 GB, free: 4.953 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.021e-05/0.5344, allocations: 105 kB / 1.497 GB, free: 4.844 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.571e-05/0.5344, allocations: 75.28 kB / 1.497 GB, free: 4.77 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.433e-05/0.5345, allocations: 150.6 kB / 1.497 GB, free: 4.621 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.642e-05/0.5345, allocations: 150.6 kB / 1.497 GB, free: 4.473 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.724e-05/0.5346, allocations: 158.5 kB / 1.497 GB, free: 4.316 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004863/0.5351, allocations: 0.5242 MB / 1.498 GB, free: 3.75 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001038/0.5352, allocations: 181.1 kB / 1.498 GB, free: 3.562 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.783e-05/0.5352, allocations: 80.14 kB / 1.498 GB, free: 3.48 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 3.765e-05/0.5353, allocations: 75.28 kB / 1.498 GB, free: 3.406 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.252e-05/0.5353, allocations: 109.8 kB / 1.498 GB, free: 3.289 MB / 1.186 GB Notification: Performance of pre-optimization done (n=0): time 1.673e-06/0.5353, allocations: 0 / 1.498 GB, free: 3.289 MB / 1.186 GB Notification: Performance of matching and sorting (n=0): time 0.0003455/0.5357, allocations: 69.52 kB / 1.498 GB, free: 3.215 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.256e-05/0.5357, allocations: 126.7 kB / 1.498 GB, free: 3.078 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003084/0.536, allocations: 219.2 kB / 1.499 GB, free: 2.855 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 3.714e-05/0.5361, allocations: 25.7 kB / 1.499 GB, free: 2.824 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 9.32e-05/0.5362, allocations: 104.1 kB / 1.499 GB, free: 2.719 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 1.854e-06/0.5362, allocations: 7.938 kB / 1.499 GB, free: 2.711 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001032/0.5363, allocations: 29.69 kB / 1.499 GB, free: 2.676 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001451/0.5364, allocations: 322.8 kB / 1.499 GB, free: 2.352 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003978/0.5404, allocations: 0.7812 MB / 1.5 GB, free: 1.566 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003928/0.5443, allocations: 0.7804 MB / 1.501 GB, free: 0.7852 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003607/0.5479, allocations: 0.6758 MB / 1.501 GB, free: 108 kB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.5479, allocations: 4 kB / 1.501 GB, free: 104 kB / 1.186 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.008136/0.5561, allocations: 1.559 MB / 1.503 GB, free: 14.53 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.5561, allocations: 4 kB / 1.503 GB, free: 14.53 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.5561, allocations: 0 / 1.503 GB, free: 14.53 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007838/0.5569, allocations: 152.6 kB / 1.503 GB, free: 14.38 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001941/0.5588, allocations: 323.6 kB / 1.503 GB, free: 14.06 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002105/0.5609, allocations: 1.5 MB / 1.505 GB, free: 12.44 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002013/0.563, allocations: 319.6 kB / 1.505 GB, free: 12.12 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.052e-05/0.563, allocations: 7.984 kB / 1.505 GB, free: 12.12 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004034/0.567, allocations: 0.8625 MB / 1.506 GB, free: 11.25 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003955/0.571, allocations: 0.7726 MB / 1.507 GB, free: 10.48 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003593/0.5746, allocations: 0.6798 MB / 1.507 GB, free: 9.793 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.915e-06/0.5746, allocations: 0 / 1.507 GB, free: 9.793 MB / 1.201 GB Notification: Performance of matching and sorting (n=6) (initialization_lambda0): time 0.007819/0.5824, allocations: 1.528 MB / 1.509 GB, free: 8.254 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.5824, allocations: 4 kB / 1.509 GB, free: 8.25 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.5824, allocations: 3.938 kB / 1.509 GB, free: 8.246 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004192/0.5828, allocations: 112.7 kB / 1.509 GB, free: 8.133 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001937/0.5848, allocations: 323.6 kB / 1.509 GB, free: 7.816 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001345/0.5861, allocations: 1.354 MB / 1.511 GB, free: 6.348 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002004/0.5881, allocations: 327.6 kB / 1.511 GB, free: 6.027 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.02e-05/0.5881, allocations: 3.984 kB / 1.511 GB, free: 6.023 MB / 1.201 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.0001717/0.5883, allocations: 255.5 kB / 1.511 GB, free: 5.766 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000102/0.5884, allocations: 120.8 kB / 1.511 GB, free: 5.641 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.461e-05/0.5885, allocations: 117.4 kB / 1.511 GB, free: 5.52 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.378e-05/0.5886, allocations: 188.4 kB / 1.512 GB, free: 5.328 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.559e-05/0.5887, allocations: 188.2 kB / 1.512 GB, free: 5.137 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.651e-05/0.5887, allocations: 176.3 kB / 1.512 GB, free: 4.957 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002934/0.589, allocations: 408.2 kB / 1.512 GB, free: 4.508 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.361e-05/0.5891, allocations: 104.9 kB / 1.512 GB, free: 4.398 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.141e-05/0.5891, allocations: 109 kB / 1.513 GB, free: 4.285 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.883e-05/0.5892, allocations: 188.1 kB / 1.513 GB, free: 4.094 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.713e-05/0.5893, allocations: 180.2 kB / 1.513 GB, free: 3.91 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.878e-05/0.5894, allocations: 180.2 kB / 1.513 GB, free: 3.727 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.513e-05/0.5894, allocations: 180.3 kB / 1.513 GB, free: 3.543 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001727/0.5896, allocations: 311.7 kB / 1.513 GB, free: 3.215 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001448/0.5898, allocations: 128.9 kB / 1.514 GB, free: 3.082 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001006/0.5899, allocations: 184.1 kB / 1.514 GB, free: 2.895 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001864/0.59, allocations: 109 kB / 1.514 GB, free: 2.781 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.633e-05/0.5901, allocations: 184.2 kB / 1.514 GB, free: 2.594 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.531e-05/0.5902, allocations: 105 kB / 1.514 GB, free: 2.484 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.000222/0.5904, allocations: 165.1 kB / 1.514 GB, free: 2.324 MB / 1.201 GB Notification: Performance of sort global known variables: time 7e-08/0.5904, allocations: 0 / 1.514 GB, free: 2.324 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.000495/0.5909, allocations: 72 kB / 1.514 GB, free: 2.254 MB / 1.201 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.0005832/0.5915, allocations: 0.844 MB / 1.515 GB, free: 1.383 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.008555/0.6, allocations: 1.816 MB / 1.517 GB, free: 15.54 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.6, allocations: 4 kB / 1.517 GB, free: 15.54 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 4.488e-06/0.6, allocations: 0 / 1.517 GB, free: 15.54 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005612/0.6006, allocations: 487.5 kB / 1.517 GB, free: 15.05 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02251/0.6231, allocations: 5.91 MB / 1.523 GB, free: 9.051 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.292e-05/0.6232, allocations: 81.75 kB / 1.523 GB, free: 8.953 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0002998/0.6235, allocations: 40.48 kB / 1.523 GB, free: 8.914 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001307/0.6236, allocations: 27.42 kB / 1.523 GB, free: 8.887 MB / 1.217 GB Notification: Performance of SimCode: time 1.112e-06/0.6236, allocations: 0 / 1.523 GB, free: 8.887 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03766/0.6613, allocations: 7.121 MB / 1.53 GB, free: 1.93 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.47/14.13, allocations: 9.938 kB / 1.53 GB, free: 1.922 MB / 1.217 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.085655469913036] Failed to read output from testmodel.py, exit status != 0: 14.249285738915205 14.266153168 13.740031685 Calling exit ...