Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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.001268/0.001268, 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.001444/0.001444, allocations: 210.5 kB / 22.24 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.36/1.36, 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/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7957/0.7957, allocations: 134 MB / 446.4 MB, free: 9.938 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS 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.001964/0.001964, allocations: 70.09 kB / 0.6185 GB, free: 6.867 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1539/0.1559, allocations: 85.91 MB / 0.7024 GB, free: 1.043 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells): time 0.001844/0.1577, allocations: 0.5443 MB / 0.703 GB, free: 0.5039 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001068/0.1588, allocations: 0.7926 MB / 0.7037 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.692e-05/0.1588, allocations: 0 / 0.7037 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.747e-05/0.1588, allocations: 0 / 0.7037 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.612e-06/0.1589, allocations: 8 kB / 0.7037 GB, free: 15.69 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000278/0.1591, allocations: 19.86 kB / 0.7038 GB, free: 15.67 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 4.835e-05/0.1592, allocations: 4 kB / 0.7038 GB, free: 15.67 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.188e-05/0.1592, allocations: 0 / 0.7038 GB, free: 15.67 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.311e-05/0.1592, allocations: 0 / 0.7038 GB, free: 15.67 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001558/0.1594, allocations: 23.97 kB / 0.7038 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 8.837e-06/0.1594, allocations: 0 / 0.7038 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 3.657e-06/0.1594, allocations: 4 kB / 0.7038 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.027e-05/0.1594, allocations: 0 / 0.7038 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.616e-05/0.1594, allocations: 0 / 0.7038 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 4.749e-05/0.1595, allocations: 0 / 0.7038 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.1595, allocations: 0 / 0.7038 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.084e-06/0.1595, allocations: 4 kB / 0.7038 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.1595, allocations: 3.938 kB / 0.7038 GB, free: 15.63 MB / 0.5294 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.0002825/0.1598, allocations: 238.8 kB / 0.704 GB, free: 15.37 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/0.1598, allocations: 8.031 kB / 0.704 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.268e-05/0.1599, allocations: 30.75 kB / 0.7041 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.867e-05/0.1599, allocations: 0.9375 kB / 0.7041 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.095e-05/0.16, allocations: 110.5 kB / 0.7042 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.401e-05/0.16, allocations: 4.375 kB / 0.7042 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.228e-05/0.16, allocations: 4.125 kB / 0.7042 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.145e-05/0.1601, allocations: 29.69 kB / 0.7042 GB, free: 15.15 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.243e-06/0.1601, allocations: 0 / 0.7042 GB, free: 15.15 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.851e-06/0.1601, allocations: 0 / 0.7042 GB, free: 15.15 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.456e-06/0.1601, allocations: 3.938 kB / 0.7042 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.497e-05/0.1601, allocations: 4 kB / 0.7042 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002935/0.1604, allocations: 358.5 kB / 0.7046 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 9.607e-05/0.1605, allocations: 169.1 kB / 0.7047 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.6e-05/0.1605, allocations: 84.14 kB / 0.7048 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.488e-05/0.1606, allocations: 75.28 kB / 0.7049 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.225e-05/0.1606, allocations: 117.8 kB / 0.705 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/0.1606, allocations: 0 / 0.705 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of matching and sorting (n=0): time 6.393e-05/0.1607, allocations: 29.64 kB / 0.705 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.674e-05/0.1608, allocations: 126.7 kB / 0.7051 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.478e-05/0.1608, allocations: 93.86 kB / 0.7052 GB, free: 14.01 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.393e-05/0.1609, allocations: 25.7 kB / 0.7052 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.954e-05/0.1609, allocations: 80.14 kB / 0.7053 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.555e-06/0.1609, allocations: 128 / 0.7053 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.229e-05/0.1609, allocations: 21.72 kB / 0.7053 GB, free: 13.87 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001238/0.1611, allocations: 314.8 kB / 0.7056 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.474e-06/0.1611, allocations: 0 / 0.7056 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.015e-05/0.1611, allocations: 7.984 kB / 0.7056 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.069e-05/0.1611, allocations: 4.859 kB / 0.7056 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.1611, allocations: 0 / 0.7056 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.214e-05/0.1612, allocations: 33.64 kB / 0.7057 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.1612, allocations: 8 kB / 0.7057 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-06/0.1612, allocations: 0 / 0.7057 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.076e-05/0.1612, allocations: 4.094 kB / 0.7057 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.555e-05/0.1613, allocations: 0 / 0.7057 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.1613, allocations: 0 / 0.7057 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.183e-05/0.1613, allocations: 4 kB / 0.7057 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.516e-06/0.1613, allocations: 0 / 0.7057 GB, free: 13.48 MB / 0.5294 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 9.832e-05/0.1614, allocations: 193 kB / 0.7059 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.22e-05/0.1614, allocations: 105 kB / 0.706 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.152e-05/0.1615, allocations: 107.9 kB / 0.7061 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.715e-05/0.1616, allocations: 180.2 kB / 0.7063 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.27e-05/0.1616, allocations: 184.2 kB / 0.7064 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.654e-05/0.1617, allocations: 192.3 kB / 0.7066 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002216/0.1619, allocations: 372.2 kB / 0.707 GB, free: 12.08 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.886e-05/0.162, allocations: 108.9 kB / 0.7071 GB, free: 11.97 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.106e-05/0.162, allocations: 104.9 kB / 0.7072 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.734e-05/0.1621, allocations: 184.2 kB / 0.7073 GB, free: 11.67 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.245e-05/0.1622, allocations: 188.3 kB / 0.7075 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.886e-05/0.1623, allocations: 176.3 kB / 0.7077 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.587e-05/0.1623, allocations: 180.2 kB / 0.7079 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001724/0.1625, allocations: 315.9 kB / 0.7082 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.841e-05/0.1626, allocations: 109 kB / 0.7083 GB, free: 10.67 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.947e-05/0.1627, allocations: 176.3 kB / 0.7084 GB, free: 10.49 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.932e-05/0.1627, allocations: 112.9 kB / 0.7085 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.872e-05/0.1628, allocations: 176.3 kB / 0.7087 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.131e-05/0.1629, allocations: 108.9 kB / 0.7088 GB, free: 10.08 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.308e-05/0.1629, allocations: 79.28 kB / 0.7089 GB, free: 10 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6e-08/0.1629, allocations: 0 / 0.7089 GB, free: 10 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000207/0.1631, allocations: 4 kB / 0.7089 GB, free: 10 MB / 0.5294 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.0004701/0.1636, allocations: 0.8087 MB / 0.7097 GB, free: 9.16 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 7.466e-05/0.1637, allocations: 7.938 kB / 0.7097 GB, free: 9.152 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.671e-06/0.1637, allocations: 4.156 kB / 0.7097 GB, free: 9.148 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 1.593e-06/0.1637, allocations: 4 kB / 0.7097 GB, free: 9.145 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003747/0.164, allocations: 453.8 kB / 0.7101 GB, free: 8.699 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003438/0.1644, allocations: 178 kB / 0.7103 GB, free: 8.484 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.898e-05/0.1644, allocations: 55.22 kB / 0.7104 GB, free: 8.41 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 1.257e-05/0.1644, allocations: 3.984 kB / 0.7104 GB, free: 8.406 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.305e-05/0.1645, allocations: 11.44 kB / 0.7104 GB, free: 8.395 MB / 0.5294 GB Notification: Performance of SimCode: time 3.51e-07/0.1645, allocations: 0 / 0.7104 GB, free: 8.395 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02728/0.1917, allocations: 1.41 MB / 0.7118 GB, free: 7.156 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.54/10.74, allocations: 9.578 kB / 0.7118 GB, free: 7.148 MB / 0.5294 GB " [Timeout remaining time 649] (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.071521084755659] Failed to read output from testmodel.py, exit status != 0: 10.839101807679981 10.866599462 10.701738309 Calling exit ...