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.001839/0.001839, allocations: 105.2 kB / 16.45 MB, free: 6.449 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.002268/0.002268, allocations: 212.9 kB / 19.43 MB, free: 3.637 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.477/1.477, allocations: 230.6 MB / 252.8 MB, free: 9.133 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.225/3.225, allocations: 0.49 GB / 0.7916 GB, free: 33.32 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.002129/0.002129, allocations: 74.45 kB / 1.149 GB, free: 26.37 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3213/0.3234, allocations: 176.1 MB / 1.321 GB, free: 3.332 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp): time 0.003129/0.3265, allocations: 1.709 MB / 1.322 GB, free: 1.617 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.1851/0.5117, allocations: 151.7 MB / 1.471 GB, free: 9.309 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001101/0.5118, allocations: 0 / 1.471 GB, free: 9.309 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0002194/0.512, allocations: 43.69 kB / 1.471 GB, free: 9.266 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.001465/0.5135, allocations: 445.9 kB / 1.471 GB, free: 8.828 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002032/0.5137, allocations: 63.86 kB / 1.471 GB, free: 8.766 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0002876/0.5139, allocations: 151.3 kB / 1.471 GB, free: 8.617 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 4.946e-05/0.514, allocations: 1.406 kB / 1.471 GB, free: 8.609 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 9.643e-05/0.5141, allocations: 63.77 kB / 1.471 GB, free: 8.547 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001868/0.5143, allocations: 75.67 kB / 1.471 GB, free: 8.473 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 2.357e-05/0.5143, allocations: 8 kB / 1.471 GB, free: 8.465 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001159/0.5155, allocations: 0.5379 MB / 1.472 GB, free: 7.926 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 3.271e-05/0.5155, allocations: 19.92 kB / 1.472 GB, free: 7.906 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 7.327e-05/0.5156, allocations: 51.8 kB / 1.472 GB, free: 7.855 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0008054/0.5164, allocations: 386.8 kB / 1.472 GB, free: 7.477 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.5164, allocations: 0 / 1.472 GB, free: 7.477 MB / 1.17 GB Notification: Performance of FrontEnd: time 3.546e-06/0.5164, allocations: 3.984 kB / 1.472 GB, free: 7.473 MB / 1.17 GB Notification: Performance of Transformations before backend: time 6.142e-06/0.5164, allocations: 0 / 1.472 GB, free: 7.473 MB / 1.17 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.0008759/0.5173, allocations: 498 kB / 1.473 GB, free: 6.938 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 5.168e-05/0.5173, allocations: 15.98 kB / 1.473 GB, free: 6.922 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.754e-05/0.5174, allocations: 106 kB / 1.473 GB, free: 6.809 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001403/0.5188, allocations: 188 kB / 1.473 GB, free: 6.625 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004008/0.5192, allocations: 316 kB / 1.474 GB, free: 6.277 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.111e-05/0.5193, allocations: 150.6 kB / 1.474 GB, free: 6.129 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.922e-05/0.5194, allocations: 154.6 kB / 1.474 GB, free: 5.977 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.39e-05/0.5194, allocations: 104.9 kB / 1.474 GB, free: 5.867 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.65e-05/0.5195, allocations: 79.28 kB / 1.474 GB, free: 5.789 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.885e-05/0.5196, allocations: 158.5 kB / 1.474 GB, free: 5.633 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.986e-05/0.5196, allocations: 150.6 kB / 1.474 GB, free: 5.484 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.831e-05/0.5197, allocations: 150.6 kB / 1.474 GB, free: 5.336 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004722/0.5202, allocations: 0.5173 MB / 1.475 GB, free: 4.77 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001111/0.5203, allocations: 173.1 kB / 1.475 GB, free: 4.59 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.177e-05/0.5203, allocations: 80.14 kB / 1.475 GB, free: 4.508 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 4.454e-05/0.5204, allocations: 75.28 kB / 1.475 GB, free: 4.434 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.792e-05/0.5204, allocations: 109.8 kB / 1.475 GB, free: 4.316 MB / 1.17 GB Notification: Performance of pre-optimization done (n=0): time 3.978e-06/0.5204, allocations: 4 kB / 1.475 GB, free: 4.312 MB / 1.17 GB Notification: Performance of matching and sorting (n=0): time 0.0003605/0.5208, allocations: 57.64 kB / 1.475 GB, free: 4.25 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.548e-05/0.5209, allocations: 126.7 kB / 1.476 GB, free: 4.113 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003939/0.5213, allocations: 227 kB / 1.476 GB, free: 3.883 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 2.384e-05/0.5213, allocations: 25.7 kB / 1.476 GB, free: 3.852 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 9.046e-05/0.5214, allocations: 108.1 kB / 1.476 GB, free: 3.742 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 2.124e-06/0.5214, allocations: 4 kB / 1.476 GB, free: 3.738 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.88e-05/0.5214, allocations: 25.7 kB / 1.476 GB, free: 3.707 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001552/0.5216, allocations: 318.8 kB / 1.476 GB, free: 3.387 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.09e-05/0.5217, allocations: 28.84 kB / 1.476 GB, free: 3.355 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.153e-05/0.5217, allocations: 12 kB / 1.476 GB, free: 3.344 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.839e-05/0.5218, allocations: 36.97 kB / 1.476 GB, free: 3.305 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.5218, allocations: 0 / 1.476 GB, free: 3.305 MB / 1.17 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0006462/0.5224, allocations: 134.4 kB / 1.476 GB, free: 3.164 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.5224, allocations: 7.938 kB / 1.476 GB, free: 3.156 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.5225, allocations: 0 / 1.476 GB, free: 3.156 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008416/0.5233, allocations: 148.6 kB / 1.477 GB, free: 3.008 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.772e-05/0.5234, allocations: 4 kB / 1.477 GB, free: 3.004 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002594/0.526, allocations: 1.617 MB / 1.478 GB, free: 1.246 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001845/0.5262, allocations: 11.95 kB / 1.478 GB, free: 1.234 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.042e-05/0.5262, allocations: 0 / 1.478 GB, free: 1.234 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001092/0.5263, allocations: 104.1 kB / 1.478 GB, free: 1.129 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 3.954e-05/0.5263, allocations: 15.98 kB / 1.478 GB, free: 1.113 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 5.554e-05/0.5264, allocations: 33.05 kB / 1.478 GB, free: 1.078 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.402e-06/0.5264, allocations: 0 / 1.478 GB, free: 1.078 MB / 1.17 GB Notification: Performance of matching and sorting (n=6) (initialization_lambda0): time 0.0002721/0.5266, allocations: 106.4 kB / 1.478 GB, free: 0.9648 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.583e-05/0.5267, allocations: 10.33 kB / 1.478 GB, free: 0.957 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.934e-06/0.5267, allocations: 0 / 1.478 GB, free: 0.957 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003967/0.5271, allocations: 108.7 kB / 1.479 GB, free: 0.8477 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.579e-05/0.5271, allocations: 8 kB / 1.479 GB, free: 0.8398 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001522/0.5286, allocations: 1.461 MB / 1.48 GB, free: 15.24 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001802/0.5288, allocations: 7.922 kB / 1.48 GB, free: 15.23 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.132e-05/0.5288, allocations: 4 kB / 1.48 GB, free: 15.23 MB / 1.186 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.0002211/0.529, allocations: 260.2 kB / 1.48 GB, free: 14.96 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.584e-05/0.5291, allocations: 112.9 kB / 1.48 GB, free: 14.85 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.276e-05/0.5292, allocations: 121.5 kB / 1.48 GB, free: 14.72 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.386e-05/0.5293, allocations: 176.3 kB / 1.481 GB, free: 14.54 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.637e-05/0.5294, allocations: 184.3 kB / 1.481 GB, free: 14.35 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.635e-05/0.5295, allocations: 180.2 kB / 1.481 GB, free: 14.17 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000314/0.5298, allocations: 441.2 kB / 1.481 GB, free: 13.68 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.274e-05/0.5298, allocations: 112.9 kB / 1.481 GB, free: 13.56 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.377e-05/0.5299, allocations: 105 kB / 1.482 GB, free: 13.45 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.053e-05/0.5299, allocations: 184.1 kB / 1.482 GB, free: 13.27 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.485e-05/0.53, allocations: 180.3 kB / 1.482 GB, free: 13.08 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.501e-05/0.5301, allocations: 180.3 kB / 1.482 GB, free: 12.9 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.196e-05/0.5302, allocations: 184.2 kB / 1.482 GB, free: 12.71 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000204/0.5304, allocations: 319.7 kB / 1.483 GB, free: 12.38 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000175/0.5306, allocations: 198 kB / 1.483 GB, free: 12.16 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001044/0.5307, allocations: 180.3 kB / 1.483 GB, free: 11.97 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002145/0.5309, allocations: 120.8 kB / 1.483 GB, free: 11.85 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.191e-05/0.531, allocations: 180.3 kB / 1.483 GB, free: 11.66 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.92e-05/0.531, allocations: 104.9 kB / 1.483 GB, free: 11.55 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0002414/0.5313, allocations: 164.1 kB / 1.483 GB, free: 11.39 MB / 1.186 GB Notification: Performance of sort global known variables: time 8e-08/0.5313, allocations: 0 / 1.483 GB, free: 11.39 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.000478/0.5317, allocations: 67.94 kB / 1.484 GB, free: 11.33 MB / 1.186 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.0007388/0.5325, allocations: 0.8595 MB / 1.484 GB, free: 10.44 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0006628/0.5331, allocations: 305.2 kB / 1.485 GB, free: 10.12 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.5331, allocations: 0 / 1.485 GB, free: 10.12 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 5.76e-06/0.5332, allocations: 4.016 kB / 1.485 GB, free: 10.11 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005344/0.5337, allocations: 472.9 kB / 1.485 GB, free: 9.648 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003381/0.5371, allocations: 2.068 MB / 1.487 GB, free: 7.492 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003698/0.5374, allocations: 0.7006 MB / 1.488 GB, free: 6.762 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 9.675e-05/0.5375, allocations: 12.55 kB / 1.488 GB, free: 6.75 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.848e-05/0.5376, allocations: 27.42 kB / 1.488 GB, free: 6.723 MB / 1.186 GB Notification: Performance of SimCode: time 1.352e-06/0.5376, allocations: 0 / 1.488 GB, free: 6.723 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03679/0.5744, allocations: 4.766 MB / 1.493 GB, free: 2.137 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.72/13.29, allocations: 3.984 kB / 1.493 GB, free: 2.133 MB / 1.186 GB " [Timeout remaining time 287] (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.09861028799787] Failed to read output from testmodel.py, exit status != 0: 13.39061291096732 13.413487984 12.892612387 Calling exit ...