Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.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.0007144/0.0007144, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.0007351/0.0007351, allocations: 165.9 kB / 22.46 MB, free: 2.109 MB / 18.57 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 0.8393/0.8393, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001369/0.001369, allocations: 236.4 kB / 259.4 MB, free: 13.02 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6505/0.6505, allocations: 138.4 MB / 454.3 MB, free: 30.04 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/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(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 0.6463 GB, free: 1.844 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.146e-05/1.271e-05, allocations: 10.22 kB / 0.6463 GB, free: 1.832 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells): time 0.0009384/0.0009511, allocations: 0.553 MB / 0.6469 GB, free: 1.277 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.000621/0.001572, allocations: 0.7924 MB / 0.6477 GB, free: 484 kB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.729e-06/0.001582, allocations: 0 / 0.6477 GB, free: 484 kB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 7.795e-06/0.00159, allocations: 0 / 0.6477 GB, free: 484 kB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 3.206e-06/0.001593, allocations: 0 / 0.6477 GB, free: 484 kB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001367/0.00173, allocations: 15.98 kB / 0.6477 GB, free: 468 kB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 2.536e-05/0.001755, allocations: 7.922 kB / 0.6477 GB, free: 460 kB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 3.15e-05/0.001786, allocations: 8 kB / 0.6477 GB, free: 452 kB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 1.338e-05/0.0018, allocations: 0 / 0.6477 GB, free: 452 kB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 8.706e-05/0.001887, allocations: 23.97 kB / 0.6477 GB, free: 428 kB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 5.771e-06/0.001893, allocations: 0 / 0.6477 GB, free: 428 kB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 1.833e-06/0.001894, allocations: 0 / 0.6477 GB, free: 428 kB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 5.561e-06/0.0019, allocations: 0 / 0.6477 GB, free: 428 kB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 7.714e-06/0.001908, allocations: 0 / 0.6477 GB, free: 428 kB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 1.999e-05/0.001928, allocations: 0 / 0.6477 GB, free: 428 kB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 1.383e-06/0.001929, allocations: 7.938 kB / 0.6477 GB, free: 420 kB / 0.5573 GB Notification: Performance of FrontEnd: time 7.01e-07/0.00193, allocations: 0 / 0.6477 GB, free: 420 kB / 0.5573 GB Notification: Performance of Transformations before backend: time 2.505e-06/0.001932, allocations: 0 / 0.6477 GB, free: 420 kB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0001224/0.002055, allocations: 230.5 kB / 0.6479 GB, free: 156 kB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 2.688e-05/0.002082, allocations: 13.25 kB / 0.6479 GB, free: 144 kB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.893e-05/0.0021, allocations: 34.73 kB / 0.648 GB, free: 100 kB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.888e-06/0.00211, allocations: 0.9375 kB / 0.648 GB, free: 100 kB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2053/0.2074, allocations: 101.8 kB / 0.6481 GB, free: 56.59 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.603e-05/0.2074, allocations: 384 / 0.6481 GB, free: 56.59 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.062e-05/0.2074, allocations: 1.031 kB / 0.6481 GB, free: 56.59 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.612e-05/0.2075, allocations: 30.77 kB / 0.6481 GB, free: 56.56 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.612e-06/0.2075, allocations: 0.9375 kB / 0.6481 GB, free: 56.56 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.043e-06/0.2075, allocations: 384 / 0.6481 GB, free: 56.56 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.2075, allocations: 2.781 kB / 0.6481 GB, free: 56.56 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.664e-05/0.2075, allocations: 4.844 kB / 0.6481 GB, free: 56.56 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001929/0.2077, allocations: 354.5 kB / 0.6485 GB, free: 56.18 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 3.818e-05/0.2078, allocations: 168.5 kB / 0.6486 GB, free: 56.01 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.345e-05/0.2078, allocations: 86.36 kB / 0.6487 GB, free: 55.93 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 9.428e-06/0.2078, allocations: 76.06 kB / 0.6488 GB, free: 55.85 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.606e-05/0.2078, allocations: 110 kB / 0.6489 GB, free: 55.74 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=0): time 7.92e-07/0.2078, allocations: 3.062 kB / 0.6489 GB, free: 55.74 MB / 0.5573 GB Notification: Performance of matching and sorting (n=0): time 5.535e-05/0.2079, allocations: 34.62 kB / 0.6489 GB, free: 55.7 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.633e-05/0.2079, allocations: 129.6 kB / 0.649 GB, free: 55.57 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.652e-05/0.2079, allocations: 93.31 kB / 0.6491 GB, free: 55.47 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 4.488e-06/0.2079, allocations: 26.36 kB / 0.6492 GB, free: 55.44 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 1.502e-05/0.208, allocations: 86.89 kB / 0.6492 GB, free: 55.36 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.645e-06/0.208, allocations: 0 / 0.6492 GB, free: 55.36 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.564e-05/0.208, allocations: 18.72 kB / 0.6493 GB, free: 55.34 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 2.811e-05/0.208, allocations: 313.3 kB / 0.6496 GB, free: 55.03 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.582e-06/0.208, allocations: 0 / 0.6496 GB, free: 55.03 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.979e-06/0.208, allocations: 2.828 kB / 0.6496 GB, free: 55.03 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.451e-05/0.2081, allocations: 9.172 kB / 0.6496 GB, free: 55.02 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.2081, allocations: 0.5938 kB / 0.6496 GB, free: 55.02 MB / 0.5573 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.869e-05/0.2081, allocations: 35.59 kB / 0.6496 GB, free: 54.99 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.2082, allocations: 5.594 kB / 0.6496 GB, free: 54.99 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.2082, allocations: 0.9375 kB / 0.6496 GB, free: 54.99 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.2082, allocations: 5.969 kB / 0.6496 GB, free: 54.98 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.727e-05/0.2082, allocations: 3.156 kB / 0.6496 GB, free: 54.98 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.032e-06/0.2082, allocations: 3.281 kB / 0.6496 GB, free: 54.98 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.547e-06/0.2082, allocations: 3.984 kB / 0.6496 GB, free: 54.98 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.268e-06/0.2082, allocations: 1.781 kB / 0.6496 GB, free: 54.98 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 prepare postOptimizeDAE: time 3.37e-05/0.2083, allocations: 189.2 kB / 0.6498 GB, free: 54.8 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.757e-05/0.2083, allocations: 102.2 kB / 0.6499 GB, free: 54.69 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.772e-05/0.2083, allocations: 109 kB / 0.65 GB, free: 54.58 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.526e-05/0.2083, allocations: 188.9 kB / 0.6502 GB, free: 54.4 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.406e-05/0.2083, allocations: 177.5 kB / 0.6504 GB, free: 54.22 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.239e-05/0.2084, allocations: 184.3 kB / 0.6505 GB, free: 54.04 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.223e-05/0.2084, allocations: 371 kB / 0.6509 GB, free: 53.63 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.715e-06/0.2084, allocations: 108.6 kB / 0.651 GB, free: 53.53 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.064e-06/0.2084, allocations: 103.2 kB / 0.6511 GB, free: 53.42 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.441e-05/0.2085, allocations: 184.9 kB / 0.6513 GB, free: 53.24 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.502e-05/0.2085, allocations: 180.3 kB / 0.6514 GB, free: 53.06 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.191e-05/0.2085, allocations: 184.6 kB / 0.6516 GB, free: 52.88 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.29e-05/0.2085, allocations: 181.6 kB / 0.6518 GB, free: 52.7 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.413e-05/0.2085, allocations: 305.5 kB / 0.6521 GB, free: 52.39 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 1.368e-05/0.2086, allocations: 106.6 kB / 0.6522 GB, free: 52.28 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.023e-05/0.2086, allocations: 183.6 kB / 0.6523 GB, free: 52.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.9e-05/0.2086, allocations: 108.1 kB / 0.6525 GB, free: 51.99 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.768e-05/0.2086, allocations: 183 kB / 0.6526 GB, free: 51.8 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.885e-06/0.2086, allocations: 103.3 kB / 0.6527 GB, free: 51.7 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 1.371e-05/0.2086, allocations: 78.72 kB / 0.6528 GB, free: 51.62 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.2086, allocations: 0 / 0.6528 GB, free: 51.62 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001347/0.2088, allocations: 0 / 0.6528 GB, free: 51.62 MB / 0.5573 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.0001497/0.2089, allocations: 0.8108 MB / 0.6536 GB, free: 50.82 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 5.613e-05/0.209, allocations: 8.062 kB / 0.6536 GB, free: 50.82 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.262e-06/0.209, allocations: 0 / 0.6536 GB, free: 50.82 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 1.673e-06/0.209, allocations: 1 kB / 0.6536 GB, free: 50.82 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001636/0.2092, allocations: 468.5 kB / 0.654 GB, free: 50.36 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002183/0.2094, allocations: 176.8 kB / 0.6542 GB, free: 50.16 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.433e-05/0.2094, allocations: 54.44 kB / 0.6543 GB, free: 50.09 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 1.091e-05/0.2094, allocations: 1.75 kB / 0.6543 GB, free: 50.09 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.757e-05/0.2094, allocations: 9 kB / 0.6543 GB, free: 50.09 MB / 0.5573 GB Notification: Performance of SimCode: time 3.91e-07/0.2094, allocations: 0.8438 kB / 0.6543 GB, free: 50.09 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01205/0.2215, allocations: 1.59 MB / 0.6558 GB, free: 49.38 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.265/6.487, allocations: 1.938 kB / 0.6558 GB, free: 49.38 MB / 0.5573 GB " [Timeout remaining time 653] (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.890701711177826] Failed to read output from testmodel.py, exit status != 0: 6.564171254634857 6.571825687 6.568328562 Calling exit ...