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.001346/0.001346, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001571/0.001571, allocations: 219.9 kB / 22.25 MB, free: 5.254 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.472/1.472, allocations: 230.6 MB / 256 MB, free: 7.781 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.292/3.292, allocations: 0.49 GB / 0.7951 GB, free: 35.49 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.002066/0.002066, allocations: 66.34 kB / 1.154 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3625/0.3645, allocations: 176.1 MB / 1.326 GB, free: 1.445 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp): time 0.003032/0.3676, allocations: 1.678 MB / 1.328 GB, free: 15.76 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1629/0.5305, allocations: 130.4 MB / 1.455 GB, free: 12.89 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.693e-05/0.5305, allocations: 0 / 1.455 GB, free: 12.89 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0002035/0.5307, allocations: 39.75 kB / 1.455 GB, free: 12.85 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.001191/0.5319, allocations: 438 kB / 1.455 GB, free: 12.42 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001431/0.5321, allocations: 67.81 kB / 1.455 GB, free: 12.35 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0002245/0.5323, allocations: 143.4 kB / 1.455 GB, free: 12.21 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 4.738e-05/0.5323, allocations: 5.594 kB / 1.455 GB, free: 12.2 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 8.268e-05/0.5324, allocations: 67.7 kB / 1.456 GB, free: 12.14 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001609/0.5326, allocations: 63.77 kB / 1.456 GB, free: 12.07 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 2.165e-05/0.5326, allocations: 8 kB / 1.456 GB, free: 12.07 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000843/0.5335, allocations: 478.9 kB / 1.456 GB, free: 11.6 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 2.705e-05/0.5335, allocations: 19.92 kB / 1.456 GB, free: 11.58 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 5.357e-05/0.5335, allocations: 39.86 kB / 1.456 GB, free: 11.54 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0005781/0.5341, allocations: 378.8 kB / 1.457 GB, free: 11.17 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.5341, allocations: 0 / 1.457 GB, free: 11.17 MB / 1.154 GB Notification: Performance of FrontEnd: time 9.02e-07/0.5341, allocations: 0 / 1.457 GB, free: 11.17 MB / 1.154 GB Notification: Performance of Transformations before backend: time 4.588e-06/0.5341, allocations: 0 / 1.457 GB, free: 11.17 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.0006693/0.5348, allocations: 425 kB / 1.457 GB, free: 10.72 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.5348, allocations: 8.031 kB / 1.457 GB, free: 10.71 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.944e-05/0.5349, allocations: 106 kB / 1.457 GB, free: 10.6 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001224/0.5361, allocations: 184 kB / 1.457 GB, free: 10.42 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003122/0.5364, allocations: 266.2 kB / 1.457 GB, free: 10.14 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.388e-05/0.5365, allocations: 150.6 kB / 1.458 GB, free: 9.988 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.834e-05/0.5366, allocations: 154.6 kB / 1.458 GB, free: 9.836 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.309e-05/0.5366, allocations: 104.9 kB / 1.458 GB, free: 9.727 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.304e-05/0.5366, allocations: 75.28 kB / 1.458 GB, free: 9.652 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.938e-05/0.5367, allocations: 154.6 kB / 1.458 GB, free: 9.5 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.942e-05/0.5368, allocations: 154.6 kB / 1.458 GB, free: 9.348 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.33e-05/0.5368, allocations: 150.6 kB / 1.458 GB, free: 9.199 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003805/0.5372, allocations: 472.9 kB / 1.459 GB, free: 8.695 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 9.57e-05/0.5373, allocations: 173.1 kB / 1.459 GB, free: 8.516 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.726e-05/0.5373, allocations: 84.14 kB / 1.459 GB, free: 8.43 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 3.257e-05/0.5374, allocations: 75.28 kB / 1.459 GB, free: 8.355 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.001e-05/0.5374, allocations: 117.8 kB / 1.459 GB, free: 8.23 MB / 1.154 GB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/0.5374, allocations: 3.938 kB / 1.459 GB, free: 8.227 MB / 1.154 GB Notification: Performance of matching and sorting (n=0): time 0.0002757/0.5377, allocations: 49.64 kB / 1.459 GB, free: 8.172 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.494e-05/0.5378, allocations: 130.7 kB / 1.459 GB, free: 8.031 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003114/0.5381, allocations: 223.1 kB / 1.46 GB, free: 7.805 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 2.142e-05/0.5381, allocations: 29.7 kB / 1.46 GB, free: 7.77 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 7.257e-05/0.5382, allocations: 104.1 kB / 1.46 GB, free: 7.664 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 2.014e-06/0.5382, allocations: 4 kB / 1.46 GB, free: 7.66 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.401e-05/0.5383, allocations: 17.72 kB / 1.46 GB, free: 7.637 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.000141/0.5384, allocations: 326.8 kB / 1.46 GB, free: 7.309 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.988e-05/0.5385, allocations: 24.84 kB / 1.46 GB, free: 7.281 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.033e-05/0.5385, allocations: 16 kB / 1.46 GB, free: 7.266 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.58e-05/0.5386, allocations: 32.97 kB / 1.46 GB, free: 7.23 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.5386, allocations: 0 / 1.46 GB, free: 7.23 MB / 1.154 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0005592/0.5391, allocations: 134.4 kB / 1.46 GB, free: 7.09 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.5391, allocations: 8 kB / 1.46 GB, free: 7.082 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.5391, allocations: 3.938 kB / 1.46 GB, free: 7.078 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000706/0.5398, allocations: 148.6 kB / 1.46 GB, free: 6.93 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.094e-05/0.5399, allocations: 4 kB / 1.46 GB, free: 6.926 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001998/0.5419, allocations: 1.494 MB / 1.462 GB, free: 5.309 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001478/0.5421, allocations: 7.953 kB / 1.462 GB, free: 5.301 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-06/0.5421, allocations: 0 / 1.462 GB, free: 5.301 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 9.084e-05/0.5422, allocations: 105.9 kB / 1.462 GB, free: 5.195 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 3.182e-05/0.5422, allocations: 24 kB / 1.462 GB, free: 5.172 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 4.629e-05/0.5422, allocations: 21.05 kB / 1.462 GB, free: 5.148 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.21e-07/0.5422, allocations: 0 / 1.462 GB, free: 5.148 MB / 1.154 GB Notification: Performance of matching and sorting (n=6) (initialization_lambda0): time 0.0002455/0.5425, allocations: 118.3 kB / 1.462 GB, free: 5.023 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 7.975e-06/0.5425, allocations: 4 kB / 1.462 GB, free: 5.02 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.213e-06/0.5425, allocations: 0 / 1.462 GB, free: 5.02 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003379/0.5428, allocations: 104.7 kB / 1.462 GB, free: 4.914 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.154e-05/0.5429, allocations: 11.98 kB / 1.462 GB, free: 4.902 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001238/0.5441, allocations: 1.342 MB / 1.464 GB, free: 3.445 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001367/0.5443, allocations: 19.86 kB / 1.464 GB, free: 3.426 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.15e-06/0.5443, allocations: 0 / 1.464 GB, free: 3.426 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.0001352/0.5444, allocations: 256.8 kB / 1.464 GB, free: 3.168 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.947e-05/0.5445, allocations: 116.9 kB / 1.464 GB, free: 3.047 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.376e-05/0.5445, allocations: 121.4 kB / 1.464 GB, free: 2.918 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.461e-05/0.5446, allocations: 176.3 kB / 1.464 GB, free: 2.738 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.747e-05/0.5447, allocations: 180.3 kB / 1.464 GB, free: 2.555 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.647e-05/0.5448, allocations: 180.2 kB / 1.465 GB, free: 2.371 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002917/0.5451, allocations: 404.3 kB / 1.465 GB, free: 1.926 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.469e-05/0.5451, allocations: 104.9 kB / 1.465 GB, free: 1.816 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.487e-05/0.5452, allocations: 109 kB / 1.465 GB, free: 1.703 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.878e-05/0.5452, allocations: 184.2 kB / 1.465 GB, free: 1.516 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.892e-05/0.5453, allocations: 184.2 kB / 1.466 GB, free: 1.328 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.197e-05/0.5454, allocations: 176.3 kB / 1.466 GB, free: 1.148 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.832e-05/0.5455, allocations: 188.2 kB / 1.466 GB, free: 0.957 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001718/0.5456, allocations: 319.7 kB / 1.466 GB, free: 0.6211 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 9.749e-05/0.5457, allocations: 116.9 kB / 1.466 GB, free: 0.5 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.775e-05/0.5458, allocations: 184.2 kB / 1.466 GB, free: 320 kB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001812/0.546, allocations: 108.9 kB / 1.467 GB, free: 204 kB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.813e-05/0.5461, allocations: 188.3 kB / 1.467 GB, free: 8 kB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.574e-05/0.5462, allocations: 108.9 kB / 1.467 GB, free: 15.89 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0002129/0.5464, allocations: 165.2 kB / 1.467 GB, free: 15.73 MB / 1.17 GB Notification: Performance of sort global known variables: time 9e-08/0.5464, allocations: 0 / 1.467 GB, free: 15.73 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0004328/0.5468, allocations: 63.94 kB / 1.467 GB, free: 15.67 MB / 1.17 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.0005963/0.5474, allocations: 0.8557 MB / 1.468 GB, free: 14.79 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0005739/0.548, allocations: 293.3 kB / 1.468 GB, free: 14.48 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.548, allocations: 4 kB / 1.468 GB, free: 14.47 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 2.405e-06/0.548, allocations: 0 / 1.468 GB, free: 14.47 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005142/0.5485, allocations: 492.8 kB / 1.469 GB, free: 13.99 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002978/0.5515, allocations: 2.064 MB / 1.471 GB, free: 11.84 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.349e-05/0.5516, allocations: 81.75 kB / 1.471 GB, free: 11.74 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 7.653e-05/0.5516, allocations: 12.5 kB / 1.471 GB, free: 11.73 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.243e-05/0.5517, allocations: 27.42 kB / 1.471 GB, free: 11.7 MB / 1.17 GB Notification: Performance of SimCode: time 5.21e-07/0.5517, allocations: 0 / 1.471 GB, free: 11.7 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03573/0.5874, allocations: 5.433 MB / 1.476 GB, free: 6.453 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.91/13.5, allocations: 1.375 kB / 1.476 GB, free: 6.453 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.544935699988855] Failed to read output from testmodel.py, exit status != 0: 13.624532876012381 13.656307131 13.11637528 Calling exit ...