Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001295/0.001295, 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.001636/0.001636, allocations: 215.7 kB / 22.25 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.495/1.495, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.179/3.179, allocations: 0.4892 GB / 0.7943 GB, free: 35.52 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_UACp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp,fileNamePrefix="Buildings_12_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.002094/0.002094, allocations: 71.48 kB / 1.153 GB, free: 25.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3694/0.3715, allocations: 176.1 MB / 1.325 GB, free: 2.34 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp): time 0.002861/0.3744, allocations: 1.679 MB / 1.327 GB, free: 0.6562 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.1743/0.5487, allocations: 130.4 MB / 1.454 GB, free: 13.79 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000122/0.5488, allocations: 0 / 1.454 GB, free: 13.79 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0002327/0.549, allocations: 39.75 kB / 1.454 GB, free: 13.75 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.001443/0.5505, allocations: 442 kB / 1.454 GB, free: 13.32 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001876/0.5507, allocations: 59.88 kB / 1.455 GB, free: 13.26 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0002793/0.5509, allocations: 151.3 kB / 1.455 GB, free: 13.11 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 5.242e-05/0.551, allocations: 5.594 kB / 1.455 GB, free: 13.1 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 9.382e-05/0.5511, allocations: 55.84 kB / 1.455 GB, free: 13.05 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001817/0.5513, allocations: 71.67 kB / 1.455 GB, free: 12.98 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 2.265e-05/0.5513, allocations: 8 kB / 1.455 GB, free: 12.97 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009919/0.5523, allocations: 455 kB / 1.455 GB, free: 12.52 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 3.39e-05/0.5523, allocations: 27.84 kB / 1.455 GB, free: 12.5 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 6.407e-05/0.5524, allocations: 47.8 kB / 1.455 GB, free: 12.45 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0008177/0.5532, allocations: 374.8 kB / 1.456 GB, free: 12.08 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.5532, allocations: 0 / 1.456 GB, free: 12.08 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.613e-06/0.5532, allocations: 0 / 1.456 GB, free: 12.08 MB / 1.154 GB Notification: Performance of Transformations before backend: time 1.259e-05/0.5532, allocations: 3.938 kB / 1.456 GB, free: 12.08 MB / 1.154 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.0007657/0.554, allocations: 417.1 kB / 1.456 GB, free: 11.64 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.554, allocations: 8.031 kB / 1.456 GB, free: 11.63 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.237e-05/0.5541, allocations: 106 kB / 1.456 GB, free: 11.52 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001321/0.5554, allocations: 188 kB / 1.456 GB, free: 11.34 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003551/0.5558, allocations: 262.2 kB / 1.457 GB, free: 11.05 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.04e-05/0.5558, allocations: 154.6 kB / 1.457 GB, free: 10.9 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.459e-05/0.5559, allocations: 154.6 kB / 1.457 GB, free: 10.75 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.872e-05/0.556, allocations: 101 kB / 1.457 GB, free: 10.64 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.688e-05/0.556, allocations: 79.22 kB / 1.457 GB, free: 10.57 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.652e-05/0.5561, allocations: 150.6 kB / 1.457 GB, free: 10.42 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.486e-05/0.5562, allocations: 154.6 kB / 1.457 GB, free: 10.27 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.859e-05/0.5562, allocations: 150.6 kB / 1.458 GB, free: 10.12 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004326/0.5567, allocations: 488.8 kB / 1.458 GB, free: 9.598 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001068/0.5568, allocations: 169.1 kB / 1.458 GB, free: 9.422 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.662e-05/0.5568, allocations: 88.02 kB / 1.458 GB, free: 9.332 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 3.505e-05/0.5569, allocations: 75.28 kB / 1.458 GB, free: 9.258 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.089e-05/0.5569, allocations: 109.8 kB / 1.458 GB, free: 9.141 MB / 1.154 GB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/0.5569, allocations: 4 kB / 1.458 GB, free: 9.137 MB / 1.154 GB Notification: Performance of matching and sorting (n=0): time 0.00031/0.5572, allocations: 53.64 kB / 1.458 GB, free: 9.078 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.797e-05/0.5573, allocations: 126.7 kB / 1.459 GB, free: 8.941 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003278/0.5576, allocations: 227.7 kB / 1.459 GB, free: 8.711 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 2.571e-05/0.5577, allocations: 29.69 kB / 1.459 GB, free: 8.676 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 7.818e-05/0.5578, allocations: 100.1 kB / 1.459 GB, free: 8.574 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 2.736e-06/0.5578, allocations: 0 / 1.459 GB, free: 8.574 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.237e-05/0.5578, allocations: 25.7 kB / 1.459 GB, free: 8.543 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001555/0.558, allocations: 326.8 kB / 1.459 GB, free: 8.215 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.519e-05/0.558, allocations: 24.8 kB / 1.459 GB, free: 8.188 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.151e-05/0.5581, allocations: 15.98 kB / 1.459 GB, free: 8.172 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.676e-05/0.5581, allocations: 28.86 kB / 1.459 GB, free: 8.141 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.5581, allocations: 0 / 1.459 GB, free: 8.141 MB / 1.154 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000609/0.5587, allocations: 134.4 kB / 1.459 GB, free: 8 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.355e-05/0.5588, allocations: 9.562 kB / 1.459 GB, free: 7.992 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.5588, allocations: 0 / 1.459 GB, free: 7.992 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007493/0.5595, allocations: 148.6 kB / 1.46 GB, free: 7.844 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.028e-05/0.5596, allocations: 4 kB / 1.46 GB, free: 7.84 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002339/0.5619, allocations: 1.494 MB / 1.461 GB, free: 6.223 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001613/0.5621, allocations: 12.12 kB / 1.461 GB, free: 6.211 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.547e-05/0.5621, allocations: 12.06 kB / 1.461 GB, free: 6.199 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 9.688e-05/0.5622, allocations: 100.1 kB / 1.461 GB, free: 6.098 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 3.468e-05/0.5622, allocations: 15.98 kB / 1.461 GB, free: 6.082 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 4.967e-05/0.5623, allocations: 24.8 kB / 1.461 GB, free: 6.055 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.31e-07/0.5623, allocations: 0 / 1.461 GB, free: 6.055 MB / 1.154 GB Notification: Performance of matching and sorting (n=6) (initialization_lambda0): time 0.0002483/0.5625, allocations: 106.4 kB / 1.461 GB, free: 5.941 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 9.538e-06/0.5625, allocations: 7.938 kB / 1.461 GB, free: 5.934 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.253e-06/0.5626, allocations: 0 / 1.461 GB, free: 5.934 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003599/0.5629, allocations: 120.6 kB / 1.461 GB, free: 5.812 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.242e-05/0.563, allocations: 4 kB / 1.461 GB, free: 5.809 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001298/0.5643, allocations: 1.342 MB / 1.463 GB, free: 4.352 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001453/0.5644, allocations: 15.86 kB / 1.463 GB, free: 4.336 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.41e-06/0.5644, allocations: 0 / 1.463 GB, free: 4.336 MB / 1.154 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.0001361/0.5645, allocations: 260.1 kB / 1.463 GB, free: 4.074 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.08e-05/0.5646, allocations: 120.9 kB / 1.463 GB, free: 3.949 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.997e-05/0.5647, allocations: 109.5 kB / 1.463 GB, free: 3.832 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.368e-05/0.5648, allocations: 180.2 kB / 1.463 GB, free: 3.648 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.221e-05/0.5648, allocations: 188.2 kB / 1.464 GB, free: 3.457 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.566e-05/0.5649, allocations: 180.2 kB / 1.464 GB, free: 3.273 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002815/0.5652, allocations: 404.3 kB / 1.464 GB, free: 2.828 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.71e-05/0.5652, allocations: 105.1 kB / 1.464 GB, free: 2.719 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.774e-05/0.5653, allocations: 109 kB / 1.464 GB, free: 2.605 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.72e-05/0.5654, allocations: 184.2 kB / 1.465 GB, free: 2.418 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.282e-05/0.5655, allocations: 184.2 kB / 1.465 GB, free: 2.23 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.261e-05/0.5655, allocations: 180.2 kB / 1.465 GB, free: 2.047 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.142e-05/0.5656, allocations: 184.2 kB / 1.465 GB, free: 1.859 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002329/0.5659, allocations: 311.7 kB / 1.465 GB, free: 1.531 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001145/0.566, allocations: 124.9 kB / 1.465 GB, free: 1.402 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001003/0.5661, allocations: 184.2 kB / 1.466 GB, free: 1.215 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001854/0.5663, allocations: 108.9 kB / 1.466 GB, free: 1.102 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.36e-05/0.5663, allocations: 180.3 kB / 1.466 GB, free: 0.918 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.516e-05/0.5664, allocations: 101 kB / 1.466 GB, free: 0.8125 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0002051/0.5666, allocations: 169.2 kB / 1.466 GB, free: 0.6484 MB / 1.154 GB Notification: Performance of sort global known variables: time 1e-07/0.5666, allocations: 0 / 1.466 GB, free: 0.6484 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0004333/0.567, allocations: 63.94 kB / 1.466 GB, free: 0.5859 MB / 1.154 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.0006671/0.5677, allocations: 0.8556 MB / 1.467 GB, free: 15.7 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0005798/0.5683, allocations: 305.2 kB / 1.467 GB, free: 15.38 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.5683, allocations: 0 / 1.467 GB, free: 15.38 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 2.595e-06/0.5683, allocations: 0 / 1.467 GB, free: 15.38 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004981/0.5688, allocations: 483.6 kB / 1.468 GB, free: 14.9 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002945/0.5717, allocations: 2.072 MB / 1.47 GB, free: 12.75 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.902e-05/0.5718, allocations: 81.75 kB / 1.47 GB, free: 12.65 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 7.848e-05/0.5719, allocations: 16.48 kB / 1.47 GB, free: 12.63 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.408e-05/0.5719, allocations: 27.42 kB / 1.47 GB, free: 12.61 MB / 1.17 GB Notification: Performance of SimCode: time 5.21e-07/0.5719, allocations: 4 kB / 1.47 GB, free: 12.6 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03576/0.6077, allocations: 5.399 MB / 1.475 GB, free: 7.383 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.24/13.85, allocations: 9.375 kB / 1.475 GB, free: 7.375 MB / 1.17 GB " [Timeout remaining time 286] (rm -f Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.pipe ; mkfifo Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.pipe >> ../files/Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_UACp.fmu > Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 20.66689024772495] Failed to read output from testmodel.py, exit status != 0: 13.97148621501401 14.000076411 13.441741198 Calling exit ...