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.001792/0.001792, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.00237/0.00237, allocations: 211 kB / 22.24 MB, free: 4.855 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.541/1.541, allocations: 230.6 MB / 256 MB, free: 7.801 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.937/2.937, allocations: 476 MB / 0.7699 GB, free: 4.715 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.00204/0.00204, allocations: 66.08 kB / 1.117 GB, free: 41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2944/0.2965, allocations: 170 MB / 1.283 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp): time 0.003416/0.2999, allocations: 1.667 MB / 1.284 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.1618/0.4617, allocations: 130.4 MB / 1.412 GB, free: 7.867 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.238e-05/0.4618, allocations: 0 / 1.412 GB, free: 7.867 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0002113/0.462, allocations: 43.7 kB / 1.412 GB, free: 7.824 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.001264/0.4632, allocations: 446 kB / 1.412 GB, free: 7.387 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001659/0.4634, allocations: 71.8 kB / 1.412 GB, free: 7.316 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.0002238/0.4636, allocations: 143.3 kB / 1.412 GB, free: 7.176 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 4.832e-05/0.4637, allocations: 9.578 kB / 1.412 GB, free: 7.16 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 7.813e-05/0.4637, allocations: 47.84 kB / 1.412 GB, free: 7.113 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001586/0.4639, allocations: 63.73 kB / 1.412 GB, free: 7.051 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 2.454e-05/0.4639, allocations: 12 kB / 1.412 GB, free: 7.039 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009921/0.4649, allocations: 462.9 kB / 1.413 GB, free: 6.586 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 3.771e-05/0.465, allocations: 27.91 kB / 1.413 GB, free: 6.559 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 6.033e-05/0.465, allocations: 47.78 kB / 1.413 GB, free: 6.512 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.0006731/0.4657, allocations: 364.3 kB / 1.413 GB, free: 6.16 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.4657, allocations: 4 kB / 1.413 GB, free: 6.156 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.433e-06/0.4657, allocations: 0 / 1.413 GB, free: 6.156 MB / 1.107 GB Notification: Performance of Transformations before backend: time 1.074e-05/0.4657, allocations: 0 / 1.413 GB, free: 6.156 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.000728/0.4664, allocations: 417 kB / 1.414 GB, free: 5.719 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.4665, allocations: 15.97 kB / 1.414 GB, free: 5.703 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.143e-05/0.4665, allocations: 106 kB / 1.414 GB, free: 5.59 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001301/0.4678, allocations: 196 kB / 1.414 GB, free: 5.398 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003238/0.4682, allocations: 254.2 kB / 1.414 GB, free: 5.125 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.665e-05/0.4682, allocations: 154.6 kB / 1.414 GB, free: 4.973 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.263e-05/0.4683, allocations: 150.6 kB / 1.414 GB, free: 4.824 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.938e-05/0.4684, allocations: 109 kB / 1.415 GB, free: 4.711 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.028e-05/0.4684, allocations: 75.28 kB / 1.415 GB, free: 4.637 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.852e-05/0.4685, allocations: 158.6 kB / 1.415 GB, free: 4.48 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001182/0.4686, allocations: 150.6 kB / 1.415 GB, free: 4.332 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.197e-05/0.4687, allocations: 154.5 kB / 1.415 GB, free: 4.18 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004308/0.4691, allocations: 476.9 kB / 1.415 GB, free: 3.672 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001078/0.4692, allocations: 165.1 kB / 1.416 GB, free: 3.5 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.737e-05/0.4693, allocations: 88.12 kB / 1.416 GB, free: 3.41 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 4.267e-05/0.4693, allocations: 79.22 kB / 1.416 GB, free: 3.332 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.613e-05/0.4694, allocations: 109.8 kB / 1.416 GB, free: 3.215 MB / 1.107 GB Notification: Performance of pre-optimization done (n=0): time 1.122e-06/0.4694, allocations: 0 / 1.416 GB, free: 3.215 MB / 1.107 GB Notification: Performance of matching and sorting (n=0): time 0.0002999/0.4697, allocations: 65.61 kB / 1.416 GB, free: 3.145 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.596e-05/0.4698, allocations: 130.7 kB / 1.416 GB, free: 3.004 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003121/0.4701, allocations: 215.8 kB / 1.416 GB, free: 2.785 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 2.239e-05/0.4701, allocations: 25.7 kB / 1.416 GB, free: 2.754 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 7.843e-05/0.4702, allocations: 108.1 kB / 1.416 GB, free: 2.645 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 1.964e-06/0.4702, allocations: 0 / 1.416 GB, free: 2.645 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.662e-05/0.4702, allocations: 21.72 kB / 1.416 GB, free: 2.617 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.000142/0.4704, allocations: 326.8 kB / 1.417 GB, free: 2.289 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.181e-05/0.4704, allocations: 24.84 kB / 1.417 GB, free: 2.262 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.237e-05/0.4705, allocations: 20 kB / 1.417 GB, free: 2.242 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.435e-05/0.4705, allocations: 24.86 kB / 1.417 GB, free: 2.215 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.4705, allocations: 3.938 kB / 1.417 GB, free: 2.211 MB / 1.107 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0005815/0.4711, allocations: 130.4 kB / 1.417 GB, free: 2.074 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.4711, allocations: 4 kB / 1.417 GB, free: 2.07 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.4711, allocations: 0 / 1.417 GB, free: 2.07 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007519/0.4719, allocations: 148.6 kB / 1.417 GB, free: 1.922 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.568e-05/0.472, allocations: 8 kB / 1.417 GB, free: 1.914 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002065/0.474, allocations: 1.512 MB / 1.419 GB, free: 296 kB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001497/0.4742, allocations: 4.031 kB / 1.419 GB, free: 292 kB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.256e-05/0.4742, allocations: 4 kB / 1.419 GB, free: 288 kB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 8.941e-05/0.4743, allocations: 100.1 kB / 1.419 GB, free: 184 kB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 4.931e-05/0.4743, allocations: 16 kB / 1.419 GB, free: 168 kB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 4.68e-05/0.4744, allocations: 24.86 kB / 1.419 GB, free: 140 kB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.91e-07/0.4744, allocations: 0 / 1.419 GB, free: 140 kB / 1.107 GB Notification: Performance of matching and sorting (n=6) (initialization_lambda0): time 0.0002454/0.4746, allocations: 114.3 kB / 1.419 GB, free: 16 kB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.083e-05/0.4746, allocations: 12 kB / 1.419 GB, free: 4 kB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.403e-06/0.4746, allocations: 0 / 1.419 GB, free: 4 kB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003621/0.475, allocations: 104.7 kB / 1.419 GB, free: 15.9 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.586e-05/0.475, allocations: 7.984 kB / 1.419 GB, free: 15.89 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00121/0.4762, allocations: 1.334 MB / 1.42 GB, free: 14.44 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001433/0.4764, allocations: 16 kB / 1.42 GB, free: 14.43 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.009e-05/0.4764, allocations: 7.969 kB / 1.42 GB, free: 14.42 MB / 1.123 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.0001338/0.4765, allocations: 255.5 kB / 1.421 GB, free: 14.16 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.133e-05/0.4766, allocations: 120.8 kB / 1.421 GB, free: 14.04 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.475e-05/0.4767, allocations: 117.5 kB / 1.421 GB, free: 13.91 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.208e-05/0.4768, allocations: 176.6 kB / 1.421 GB, free: 13.73 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.094e-05/0.4768, allocations: 184.2 kB / 1.421 GB, free: 13.54 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.705e-05/0.4769, allocations: 184.2 kB / 1.421 GB, free: 13.36 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002905/0.4772, allocations: 404.2 kB / 1.422 GB, free: 12.91 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-05/0.4773, allocations: 109 kB / 1.422 GB, free: 12.8 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.034e-05/0.4773, allocations: 104.9 kB / 1.422 GB, free: 12.69 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.891e-05/0.4774, allocations: 184.2 kB / 1.422 GB, free: 12.5 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.135e-05/0.4775, allocations: 184.3 kB / 1.422 GB, free: 12.31 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.657e-05/0.4775, allocations: 184.2 kB / 1.422 GB, free: 12.12 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.574e-05/0.4776, allocations: 176.3 kB / 1.423 GB, free: 11.95 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000176/0.4778, allocations: 319.7 kB / 1.423 GB, free: 11.61 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001036/0.4779, allocations: 120.9 kB / 1.423 GB, free: 11.48 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.46e-05/0.478, allocations: 184.1 kB / 1.423 GB, free: 11.3 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002023/0.4782, allocations: 105 kB / 1.423 GB, free: 11.19 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.34e-05/0.4783, allocations: 192.2 kB / 1.423 GB, free: 10.99 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.374e-05/0.4783, allocations: 101 kB / 1.424 GB, free: 10.89 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0002225/0.4785, allocations: 165.1 kB / 1.424 GB, free: 10.73 MB / 1.123 GB Notification: Performance of sort global known variables: time 9.1e-08/0.4785, allocations: 0 / 1.424 GB, free: 10.73 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0004451/0.479, allocations: 67.92 kB / 1.424 GB, free: 10.66 MB / 1.123 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.0006738/0.4797, allocations: 0.8592 MB / 1.425 GB, free: 9.773 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0005953/0.4803, allocations: 297.3 kB / 1.425 GB, free: 9.457 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.4803, allocations: 0 / 1.425 GB, free: 9.457 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 2.926e-06/0.4803, allocations: 0 / 1.425 GB, free: 9.457 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005297/0.4808, allocations: 483.6 kB / 1.425 GB, free: 8.98 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003135/0.4839, allocations: 2.064 MB / 1.427 GB, free: 6.832 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.58e-05/0.484, allocations: 89.75 kB / 1.427 GB, free: 6.727 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 7.84e-05/0.4841, allocations: 8.75 kB / 1.427 GB, free: 6.719 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.039e-05/0.4842, allocations: 27.42 kB / 1.427 GB, free: 6.691 MB / 1.123 GB Notification: Performance of SimCode: time 6.41e-07/0.4842, allocations: 0 / 1.427 GB, free: 6.691 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03542/0.5196, allocations: 5.398 MB / 1.433 GB, free: 1.488 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.33/13.85, allocations: 11.89 kB / 1.433 GB, free: 1.484 MB / 1.123 GB " [Timeout remaining time 285] (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.84886089898646] Failed to read output from testmodel.py, exit status != 0: 14.544654477853328 14.003900532 13.533318128 Calling exit ...