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.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00735/0.00735, allocations: 101.2 kB / 15.73 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001732/0.001732, allocations: 196.9 kB / 16.67 MB, free: 5.977 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.306/1.306, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002142/0.002142, allocations: 290.8 kB / 290.8 MB, free: 1.914 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9272/0.9272, allocations: 169.3 MB / 0.4983 GB, free: 13.76 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001898/0.001899, allocations: 99.84 kB / 0.681 GB, free: 15.94 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1566/0.1586, allocations: 86.97 MB / 0.7659 GB, free: 8.887 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells): time 0.001653/0.1603, allocations: 0.5478 MB / 0.7665 GB, free: 8.344 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0009229/0.1612, allocations: 0.7728 MB / 0.7672 GB, free: 7.559 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.525e-05/0.1612, allocations: 3.938 kB / 0.7672 GB, free: 7.555 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.358e-05/0.1613, allocations: 4 kB / 0.7672 GB, free: 7.551 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.38e-06/0.1613, allocations: 0 / 0.7672 GB, free: 7.551 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002496/0.1615, allocations: 23.91 kB / 0.7673 GB, free: 7.527 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 3.633e-05/0.1616, allocations: 0 / 0.7673 GB, free: 7.527 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.015e-05/0.1616, allocations: 0 / 0.7673 GB, free: 7.527 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 1.305e-05/0.1617, allocations: 4 kB / 0.7673 GB, free: 7.523 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001238/0.1618, allocations: 19.98 kB / 0.7673 GB, free: 7.504 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.224e-06/0.1618, allocations: 4 kB / 0.7673 GB, free: 7.5 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 3.476e-06/0.1618, allocations: 0 / 0.7673 GB, free: 7.5 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.032e-05/0.1618, allocations: 3.984 kB / 0.7673 GB, free: 7.496 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 1.478e-05/0.1618, allocations: 0 / 0.7673 GB, free: 7.496 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 3.63e-05/0.1619, allocations: 0 / 0.7673 GB, free: 7.496 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.1619, allocations: 0 / 0.7673 GB, free: 7.496 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.793e-06/0.1619, allocations: 3.938 kB / 0.7673 GB, free: 7.492 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.389e-06/0.1619, allocations: 0 / 0.7673 GB, free: 7.492 MB / 0.5606 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.0002507/0.1622, allocations: 311.6 kB / 0.7676 GB, free: 7.137 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.1622, allocations: 8.031 kB / 0.7676 GB, free: 7.129 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.226e-05/0.1622, allocations: 34.75 kB / 0.7676 GB, free: 7.086 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.722e-05/0.1623, allocations: 4.938 kB / 0.7676 GB, free: 7.082 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.426e-05/0.1624, allocations: 160.4 kB / 0.7678 GB, free: 6.887 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.184e-05/0.1624, allocations: 384 / 0.7678 GB, free: 6.887 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.622e-06/0.1624, allocations: 8.297 kB / 0.7678 GB, free: 6.879 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.682e-05/0.1625, allocations: 34.2 kB / 0.7678 GB, free: 6.84 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.1625, allocations: 3.938 kB / 0.7678 GB, free: 6.836 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.873e-06/0.1625, allocations: 4 kB / 0.7678 GB, free: 6.832 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.1625, allocations: 0 / 0.7678 GB, free: 6.832 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.489e-05/0.1625, allocations: 4 kB / 0.7678 GB, free: 6.828 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002734/0.1628, allocations: 375.8 kB / 0.7682 GB, free: 6.41 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 8.228e-05/0.1629, allocations: 177 kB / 0.7684 GB, free: 6.227 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.034e-05/0.1629, allocations: 80.14 kB / 0.7684 GB, free: 6.145 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.418e-05/0.163, allocations: 79.28 kB / 0.7685 GB, free: 6.066 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.618e-05/0.163, allocations: 105.8 kB / 0.7686 GB, free: 5.953 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=0): time 1.142e-06/0.163, allocations: 0 / 0.7686 GB, free: 5.953 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0): time 6.686e-05/0.1631, allocations: 29.7 kB / 0.7687 GB, free: 5.918 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.929e-05/0.1632, allocations: 126.7 kB / 0.7688 GB, free: 5.781 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.073e-05/0.1632, allocations: 97.77 kB / 0.7689 GB, free: 5.676 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.245e-05/0.1633, allocations: 25.7 kB / 0.7689 GB, free: 5.645 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.172e-05/0.1633, allocations: 92.14 kB / 0.769 GB, free: 5.551 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.826e-06/0.1633, allocations: 0 / 0.769 GB, free: 5.551 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.627e-05/0.1634, allocations: 17.7 kB / 0.769 GB, free: 5.527 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001174/0.1635, allocations: 310.8 kB / 0.7693 GB, free: 5.215 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.536e-06/0.1635, allocations: 0 / 0.7693 GB, free: 5.215 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.112e-06/0.1635, allocations: 4 kB / 0.7693 GB, free: 5.211 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.374e-05/0.1635, allocations: 8.859 kB / 0.7693 GB, free: 5.199 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.1635, allocations: 4 kB / 0.7693 GB, free: 5.195 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.471e-05/0.1636, allocations: 33.7 kB / 0.7693 GB, free: 5.156 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.1636, allocations: 8 kB / 0.7693 GB, free: 5.148 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.1637, allocations: 0 / 0.7693 GB, free: 5.148 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.054e-05/0.1637, allocations: 0 / 0.7693 GB, free: 5.148 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.718e-05/0.1637, allocations: 7.938 kB / 0.7694 GB, free: 5.141 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.1637, allocations: 3.984 kB / 0.7694 GB, free: 5.137 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.206e-05/0.1638, allocations: 4 kB / 0.7694 GB, free: 5.133 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.107e-06/0.1638, allocations: 0 / 0.7694 GB, free: 5.133 MB / 0.5606 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 8.975e-05/0.1639, allocations: 189.8 kB / 0.7695 GB, free: 4.938 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.385e-05/0.1639, allocations: 101 kB / 0.7696 GB, free: 4.832 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.969e-05/0.164, allocations: 116 kB / 0.7697 GB, free: 4.715 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.267e-05/0.164, allocations: 184.2 kB / 0.7699 GB, free: 4.527 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.933e-05/0.1641, allocations: 184.7 kB / 0.7701 GB, free: 4.34 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.098e-05/0.1642, allocations: 180.2 kB / 0.7703 GB, free: 4.156 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002123/0.1644, allocations: 405.2 kB / 0.7707 GB, free: 3.703 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.175e-05/0.1644, allocations: 105 kB / 0.7708 GB, free: 3.594 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.168e-05/0.1645, allocations: 108.9 kB / 0.7709 GB, free: 3.48 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.999e-05/0.1645, allocations: 176.4 kB / 0.771 GB, free: 3.301 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.42e-05/0.1646, allocations: 188.2 kB / 0.7712 GB, free: 3.109 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.172e-05/0.1647, allocations: 180.3 kB / 0.7714 GB, free: 2.926 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.913e-05/0.1647, allocations: 180.2 kB / 0.7716 GB, free: 2.742 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001241/0.1649, allocations: 307.8 kB / 0.7718 GB, free: 2.418 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.078e-05/0.1649, allocations: 182 kB / 0.772 GB, free: 2.215 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.887e-05/0.165, allocations: 180.3 kB / 0.7722 GB, free: 2.031 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.802e-05/0.1651, allocations: 112.9 kB / 0.7723 GB, free: 1.914 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.754e-05/0.1652, allocations: 184.2 kB / 0.7725 GB, free: 1.727 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.67e-05/0.1652, allocations: 101 kB / 0.7726 GB, free: 1.621 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.66e-05/0.1652, allocations: 83.28 kB / 0.7727 GB, free: 1.539 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.31e-07/0.1652, allocations: 0 / 0.7727 GB, free: 1.539 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002019/0.1655, allocations: 0 / 0.7727 GB, free: 1.539 MB / 0.5606 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.0003804/0.1658, allocations: 0.8166 MB / 0.7735 GB, free: 0.6914 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 5.689e-05/0.1659, allocations: 4 kB / 0.7735 GB, free: 0.6875 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.1659, allocations: 0 / 0.7735 GB, free: 0.6875 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 3.116e-06/0.1659, allocations: 0 / 0.7735 GB, free: 0.6875 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003295/0.1663, allocations: 466.7 kB / 0.7739 GB, free: 240 kB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003348/0.1666, allocations: 188.4 kB / 0.7741 GB, free: 12 kB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2878/0.4544, allocations: 0.669 MB / 0.7747 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.931e-05/0.4545, allocations: 0 / 0.7747 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.065e-05/0.4545, allocations: 8.031 kB / 0.7747 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of SimCode: time 7.81e-07/0.4545, allocations: 0 / 0.7747 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01652/0.471, allocations: 0.9639 MB / 0.7757 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.11/7.582, allocations: 5.594 kB / 0.7757 GB, free: 14.45 MB / 0.5606 GB (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 --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)