Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008927/0.0008927, allocations: 97.64 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00158/0.00158, allocations: 181.9 kB / 16.92 MB, free: 6.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.318/1.318, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6679/0.6679, allocations: 115.5 MB / 407.6 MB, free: 2.734 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002915/0.0002915, allocations: 8.75 kB / 496 MB, free: 6.246 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1386/0.1389, allocations: 77.53 MB / 0.5601 GB, free: 8.926 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells): time 0.0006425/0.1396, allocations: 269 kB / 0.5603 GB, free: 8.664 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009337/0.1405, allocations: 0.7728 MB / 0.5611 GB, free: 7.879 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.726e-06/0.1406, allocations: 3.938 kB / 0.5611 GB, free: 7.875 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.019e-05/0.1406, allocations: 0 / 0.5611 GB, free: 7.875 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.729e-06/0.1406, allocations: 0 / 0.5611 GB, free: 7.875 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002097/0.1408, allocations: 19.97 kB / 0.5611 GB, free: 7.855 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 3.154e-05/0.1408, allocations: 0 / 0.5611 GB, free: 7.855 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.68e-05/0.1409, allocations: 0 / 0.5611 GB, free: 7.855 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.336e-05/0.1409, allocations: 4 kB / 0.5611 GB, free: 7.852 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001302/0.1411, allocations: 23.92 kB / 0.5611 GB, free: 7.828 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.007e-06/0.1411, allocations: 3.984 kB / 0.5612 GB, free: 7.824 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.7e-06/0.1411, allocations: 4 kB / 0.5612 GB, free: 7.82 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 8.807e-06/0.1411, allocations: 0 / 0.5612 GB, free: 7.82 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.816e-05/0.1411, allocations: 25.7 kB / 0.5612 GB, free: 7.789 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 2.727e-05/0.1412, allocations: 0 / 0.5612 GB, free: 7.789 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.1412, allocations: 4 kB / 0.5612 GB, free: 7.785 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.1412, allocations: 0 / 0.5612 GB, free: 7.785 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.446e-06/0.1412, allocations: 0 / 0.5612 GB, free: 7.785 MB / 430.1 MB 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.0002285/0.1414, allocations: 307.5 kB / 0.5615 GB, free: 7.434 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.1415, allocations: 12.09 kB / 0.5615 GB, free: 7.422 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.221e-05/0.1415, allocations: 34.69 kB / 0.5615 GB, free: 7.379 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.792e-05/0.1415, allocations: 0.9375 kB / 0.5615 GB, free: 7.379 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.154e-05/0.1416, allocations: 160.4 kB / 0.5617 GB, free: 7.184 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.013e-05/0.1416, allocations: 384 / 0.5617 GB, free: 7.184 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.841e-06/0.1416, allocations: 384 / 0.5617 GB, free: 7.184 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.62e-05/0.1417, allocations: 38.25 kB / 0.5617 GB, free: 7.141 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.083e-06/0.1417, allocations: 3.938 kB / 0.5617 GB, free: 7.137 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.272e-06/0.1417, allocations: 0 / 0.5617 GB, free: 7.137 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.1417, allocations: 0 / 0.5617 GB, free: 7.137 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.745e-05/0.1418, allocations: 4 kB / 0.5617 GB, free: 7.133 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002621/0.142, allocations: 375.5 kB / 0.5621 GB, free: 6.715 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.789e-05/0.1421, allocations: 177.1 kB / 0.5622 GB, free: 6.531 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.759e-05/0.1422, allocations: 80.14 kB / 0.5623 GB, free: 6.449 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.097e-05/0.1422, allocations: 79.27 kB / 0.5624 GB, free: 6.371 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.534e-05/0.1422, allocations: 109.9 kB / 0.5625 GB, free: 6.254 MB / 430.1 MB Notification: Performance of pre-optimization done (n=0): time 1.162e-06/0.1422, allocations: 0 / 0.5625 GB, free: 6.254 MB / 430.1 MB Notification: Performance of matching and sorting (n=0): time 6.909e-05/0.1423, allocations: 29.64 kB / 0.5625 GB, free: 6.219 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.357e-05/0.1424, allocations: 134.6 kB / 0.5627 GB, free: 6.074 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.887e-05/0.1425, allocations: 97.86 kB / 0.5628 GB, free: 5.969 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.717e-06/0.1425, allocations: 29.64 kB / 0.5628 GB, free: 5.934 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.177e-05/0.1425, allocations: 80.14 kB / 0.5629 GB, free: 5.852 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.715e-06/0.1425, allocations: 0 / 0.5629 GB, free: 5.852 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.096e-05/0.1425, allocations: 9.719 kB / 0.5629 GB, free: 5.836 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001/0.1426, allocations: 314.8 kB / 0.5632 GB, free: 5.52 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.382e-06/0.1427, allocations: 4.125 kB / 0.5632 GB, free: 5.516 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.871e-06/0.1427, allocations: 4 kB / 0.5632 GB, free: 5.512 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.165e-05/0.1427, allocations: 4.859 kB / 0.5632 GB, free: 5.504 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.1427, allocations: 3.938 kB / 0.5632 GB, free: 5.5 MB / 430.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.824e-05/0.1428, allocations: 41.55 kB / 0.5632 GB, free: 5.453 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.1428, allocations: 8 kB / 0.5632 GB, free: 5.445 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.1428, allocations: 0 / 0.5632 GB, free: 5.445 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.013e-05/0.1428, allocations: 0 / 0.5632 GB, free: 5.445 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.879e-05/0.1429, allocations: 0 / 0.5632 GB, free: 5.445 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.1429, allocations: 4.094 kB / 0.5632 GB, free: 5.441 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.226e-05/0.1429, allocations: 4 kB / 0.5632 GB, free: 5.438 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.55e-06/0.1429, allocations: 4 kB / 0.5632 GB, free: 5.434 MB / 430.1 MB 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 8.207e-05/0.143, allocations: 189 kB / 0.5634 GB, free: 5.238 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.475e-05/0.1431, allocations: 101 kB / 0.5635 GB, free: 5.133 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.871e-05/0.1431, allocations: 112 kB / 0.5636 GB, free: 5.02 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.155e-05/0.1432, allocations: 180.3 kB / 0.5638 GB, free: 4.836 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.707e-05/0.1432, allocations: 184.2 kB / 0.564 GB, free: 4.648 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.273e-05/0.1433, allocations: 180.2 kB / 0.5641 GB, free: 4.465 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001938/0.1435, allocations: 401.2 kB / 0.5645 GB, free: 4.016 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.347e-05/0.1435, allocations: 104.9 kB / 0.5646 GB, free: 3.906 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.901e-05/0.1436, allocations: 101 kB / 0.5647 GB, free: 3.801 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.545e-05/0.1436, allocations: 188.2 kB / 0.5649 GB, free: 3.609 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.532e-05/0.1437, allocations: 188.3 kB / 0.5651 GB, free: 3.418 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.115e-05/0.1437, allocations: 180.2 kB / 0.5653 GB, free: 3.234 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.87e-05/0.1438, allocations: 180.4 kB / 0.5654 GB, free: 3.051 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001237/0.1439, allocations: 319.7 kB / 0.5657 GB, free: 2.715 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.25e-05/0.144, allocations: 178.1 kB / 0.5659 GB, free: 2.516 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.201e-05/0.1441, allocations: 180.3 kB / 0.5661 GB, free: 2.332 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.192e-05/0.1442, allocations: 104.9 kB / 0.5662 GB, free: 2.223 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.826e-05/0.1442, allocations: 188.2 kB / 0.5664 GB, free: 2.031 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.97e-05/0.1443, allocations: 104.9 kB / 0.5665 GB, free: 1.922 MB / 430.1 MB Notification: Performance of sorting global known variables: time 2.924e-05/0.1443, allocations: 87.28 kB / 0.5665 GB, free: 1.836 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1443, allocations: 0 / 0.5665 GB, free: 1.836 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0001968/0.1445, allocations: 0 / 0.5665 GB, free: 1.836 MB / 430.1 MB 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.0003375/0.1448, allocations: 0.8088 MB / 0.5673 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 5.171e-05/0.1449, allocations: 11.88 kB / 0.5673 GB, free: 0.9844 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/0.1449, allocations: 0 / 0.5673 GB, free: 0.9844 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 1.593e-06/0.1449, allocations: 4 kB / 0.5673 GB, free: 0.9805 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003194/0.1452, allocations: 0.5164 MB / 0.5678 GB, free: 472 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002759/0.1455, allocations: 175.8 kB / 0.568 GB, free: 252 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002086/0.1457, allocations: 0.6731 MB / 0.5687 GB, free: 15.55 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.091e-05/0.1458, allocations: 0 / 0.5687 GB, free: 15.55 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.674e-05/0.1458, allocations: 13.31 kB / 0.5687 GB, free: 15.54 MB / 446.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1458, allocations: 0 / 0.5687 GB, free: 15.54 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02562/0.1714, allocations: 0.7474 MB / 0.5694 GB, free: 15.02 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002499/0.1717, allocations: 267.2 kB / 0.5697 GB, free: 14.66 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.611/1.783, allocations: 0 / 0.5697 GB, free: 14.66 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells.fmu > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe 2>&1)