Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001922/0.001922, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002559/0.002559, allocations: 216.8 kB / 22.25 MB, free: 5.121 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.547/1.547, allocations: 230.6 MB / 256 MB, free: 7.977 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.966/2.966, allocations: 476.7 MB / 0.7707 GB, free: 4.254 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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_11_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_UACp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp,fileNamePrefix="Buildings_11_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.001974/0.001974, allocations: 64.17 kB / 1.117 GB, free: 40.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3142/0.3162, allocations: 170 MB / 1.283 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp): time 0.00359/0.3197, allocations: 1.731 MB / 1.285 GB, free: 9.945 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.1914/0.5112, allocations: 151.8 MB / 1.433 GB, free: 1.617 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.37e-05/0.5113, allocations: 0 / 1.433 GB, free: 1.617 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0002214/0.5115, allocations: 47.67 kB / 1.433 GB, free: 1.57 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.001309/0.5128, allocations: 457.9 kB / 1.434 GB, free: 1.121 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001697/0.513, allocations: 63.88 kB / 1.434 GB, free: 1.059 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.0002511/0.5132, allocations: 147.3 kB / 1.434 GB, free: 0.9141 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 5.297e-05/0.5133, allocations: 5.594 kB / 1.434 GB, free: 0.9023 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 7.89e-05/0.5133, allocations: 59.78 kB / 1.434 GB, free: 0.8438 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000166/0.5135, allocations: 67.75 kB / 1.434 GB, free: 0.7773 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 2.103e-05/0.5135, allocations: 8 kB / 1.434 GB, free: 0.7695 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001095/0.5146, allocations: 0.5495 MB / 1.435 GB, free: 224 kB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 3.291e-05/0.5147, allocations: 23.92 kB / 1.435 GB, free: 200 kB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 6.442e-05/0.5147, allocations: 51.77 kB / 1.435 GB, free: 148 kB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.0007436/0.5155, allocations: 383.8 kB / 1.435 GB, free: 15.77 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.5155, allocations: 0 / 1.435 GB, free: 15.77 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.393e-06/0.5155, allocations: 0 / 1.435 GB, free: 15.77 MB / 1.139 GB Notification: Performance of Transformations before backend: time 6.152e-06/0.5155, allocations: 0 / 1.435 GB, free: 15.77 MB / 1.139 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.0007579/0.5162, allocations: 421 kB / 1.435 GB, free: 15.32 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 5.149e-05/0.5163, allocations: 19.95 kB / 1.436 GB, free: 15.3 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.722e-05/0.5163, allocations: 106 kB / 1.436 GB, free: 15.19 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001333/0.5177, allocations: 184 kB / 1.436 GB, free: 15.01 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003777/0.5181, allocations: 262.1 kB / 1.436 GB, free: 14.73 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.53e-05/0.5181, allocations: 154.6 kB / 1.436 GB, free: 14.58 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.942e-05/0.5182, allocations: 154.6 kB / 1.436 GB, free: 14.43 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001421/0.5184, allocations: 108.8 kB / 1.436 GB, free: 14.32 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.836e-05/0.5184, allocations: 75.28 kB / 1.437 GB, free: 14.24 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.784e-05/0.5185, allocations: 150.6 kB / 1.437 GB, free: 14.09 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.098e-05/0.5185, allocations: 154.5 kB / 1.437 GB, free: 13.94 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001072/0.5187, allocations: 158.6 kB / 1.437 GB, free: 13.79 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004344/0.5191, allocations: 488.9 kB / 1.437 GB, free: 13.27 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001104/0.5192, allocations: 177.1 kB / 1.438 GB, free: 13.08 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.61e-05/0.5192, allocations: 80.14 kB / 1.438 GB, free: 13 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 4.061e-05/0.5193, allocations: 75.28 kB / 1.438 GB, free: 12.93 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.399e-05/0.5193, allocations: 109.8 kB / 1.438 GB, free: 12.81 MB / 1.139 GB Notification: Performance of pre-optimization done (n=0): time 1.383e-06/0.5193, allocations: 4 kB / 1.438 GB, free: 12.8 MB / 1.139 GB Notification: Performance of matching and sorting (n=0): time 0.0003235/0.5197, allocations: 49.69 kB / 1.438 GB, free: 12.75 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.223e-05/0.5198, allocations: 134.7 kB / 1.438 GB, free: 12.61 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003535/0.5201, allocations: 219.8 kB / 1.438 GB, free: 12.38 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 2.025e-05/0.5201, allocations: 29.64 kB / 1.438 GB, free: 12.35 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 8.056e-05/0.5202, allocations: 104.1 kB / 1.438 GB, free: 12.24 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 2.094e-06/0.5202, allocations: 0 / 1.438 GB, free: 12.24 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.179e-05/0.5203, allocations: 29.7 kB / 1.438 GB, free: 12.21 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001701/0.5204, allocations: 326.8 kB / 1.439 GB, free: 11.88 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.805e-05/0.5205, allocations: 20.86 kB / 1.439 GB, free: 11.86 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.044e-05/0.5206, allocations: 15.98 kB / 1.439 GB, free: 11.84 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.533e-05/0.5207, allocations: 24.86 kB / 1.439 GB, free: 11.81 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.5207, allocations: 3.938 kB / 1.439 GB, free: 11.81 MB / 1.139 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0006373/0.5213, allocations: 138.4 kB / 1.439 GB, free: 11.66 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.5213, allocations: 4 kB / 1.439 GB, free: 11.66 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.5213, allocations: 0 / 1.439 GB, free: 11.66 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007958/0.5221, allocations: 152.6 kB / 1.439 GB, free: 11.51 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.324e-05/0.5222, allocations: 4 kB / 1.439 GB, free: 11.5 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002534/0.5247, allocations: 1.505 MB / 1.441 GB, free: 9.883 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002059/0.5249, allocations: 11.89 kB / 1.441 GB, free: 9.871 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.956e-06/0.5249, allocations: 4 kB / 1.441 GB, free: 9.867 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001077/0.525, allocations: 100.1 kB / 1.441 GB, free: 9.766 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 3.677e-05/0.5251, allocations: 20 kB / 1.441 GB, free: 9.746 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 4.808e-05/0.5251, allocations: 24.86 kB / 1.441 GB, free: 9.719 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.32e-07/0.5251, allocations: 0 / 1.441 GB, free: 9.719 MB / 1.139 GB Notification: Performance of matching and sorting (n=6) (initialization_lambda0): time 0.0002536/0.5254, allocations: 106.6 kB / 1.441 GB, free: 9.605 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.104e-05/0.5254, allocations: 11.94 kB / 1.441 GB, free: 9.594 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.994e-06/0.5254, allocations: 0 / 1.441 GB, free: 9.594 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000398/0.5258, allocations: 116.7 kB / 1.441 GB, free: 9.477 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.945e-05/0.5258, allocations: 7.984 kB / 1.441 GB, free: 9.469 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001341/0.5272, allocations: 1.346 MB / 1.442 GB, free: 8.008 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001755/0.5274, allocations: 12.16 kB / 1.442 GB, free: 7.996 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.205e-05/0.5274, allocations: 4 kB / 1.442 GB, free: 7.992 MB / 1.139 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.000166/0.5275, allocations: 259.5 kB / 1.442 GB, free: 7.73 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.712e-05/0.5276, allocations: 112.9 kB / 1.443 GB, free: 7.613 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.797e-05/0.5277, allocations: 121.5 kB / 1.443 GB, free: 7.484 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.952e-05/0.5278, allocations: 180.3 kB / 1.443 GB, free: 7.301 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.477e-05/0.5279, allocations: 176.3 kB / 1.443 GB, free: 7.121 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.983e-05/0.528, allocations: 184.2 kB / 1.443 GB, free: 6.934 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003396/0.5283, allocations: 412.2 kB / 1.444 GB, free: 6.48 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.217e-05/0.5284, allocations: 112.9 kB / 1.444 GB, free: 6.363 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.773e-05/0.5284, allocations: 105 kB / 1.444 GB, free: 6.254 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.765e-05/0.5285, allocations: 180.2 kB / 1.444 GB, free: 6.07 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001225/0.5286, allocations: 180.2 kB / 1.444 GB, free: 5.887 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.702e-05/0.5287, allocations: 180.3 kB / 1.444 GB, free: 5.703 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.998e-05/0.5288, allocations: 188.2 kB / 1.445 GB, free: 5.512 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001954/0.529, allocations: 319.8 kB / 1.445 GB, free: 5.176 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001259/0.5291, allocations: 128.8 kB / 1.445 GB, free: 5.043 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001042/0.5292, allocations: 180.2 kB / 1.445 GB, free: 4.859 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002154/0.5294, allocations: 112.9 kB / 1.445 GB, free: 4.742 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.418e-05/0.5295, allocations: 180.3 kB / 1.445 GB, free: 4.559 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.879e-05/0.5296, allocations: 104.9 kB / 1.445 GB, free: 4.449 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0002403/0.5298, allocations: 169.1 kB / 1.446 GB, free: 4.285 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5298, allocations: 0 / 1.446 GB, free: 4.285 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0004635/0.5303, allocations: 67.88 kB / 1.446 GB, free: 4.219 MB / 1.139 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.0006608/0.5309, allocations: 0.8553 MB / 1.447 GB, free: 3.336 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0006328/0.5316, allocations: 305.3 kB / 1.447 GB, free: 3.012 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 3.085e-06/0.5316, allocations: 0 / 1.447 GB, free: 3.012 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 6.021e-06/0.5316, allocations: 3.984 kB / 1.447 GB, free: 3.008 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005325/0.5321, allocations: 475.7 kB / 1.447 GB, free: 2.539 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003331/0.5354, allocations: 2.066 MB / 1.449 GB, free: 396 kB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003728/0.5358, allocations: 0.7006 MB / 1.45 GB, free: 15.66 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 9.439e-05/0.5359, allocations: 16.48 kB / 1.45 GB, free: 15.64 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.553e-05/0.536, allocations: 23.44 kB / 1.45 GB, free: 15.62 MB / 1.154 GB Notification: Performance of SimCode: time 7.61e-07/0.536, allocations: 0 / 1.45 GB, free: 15.62 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03483/0.5708, allocations: 4.77 MB / 1.455 GB, free: 11.04 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.89/13.47, allocations: 12.94 kB / 1.455 GB, free: 11.03 MB / 1.154 GB " [Timeout remaining time 286] (rm -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.pipe ; mkfifo Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.pipe >> ../files/Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp_res.csv --start-time 0 --stop-time 60 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 Buildings_11_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_UACp.fmu > Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 20.508299933999297] Failed to read output from testmodel.py, exit status != 0: 14.102683770999647 13.615774944 13.094501391 Calling exit ...