Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells,fileNamePrefix="BuildSysPro_BuildSysPro_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.001103/0.001104, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001239/0.001239, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.341/1.341, allocations: 223.3 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9914/0.9914, allocations: 143.4 MB / 434.4 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003529/0.0003531, allocations: 12 kB / 0.5161 GB, free: 11.12 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1611/0.1615, allocations: 83.41 MB / 0.5976 GB, free: 7.641 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells): time 0.0007056/0.1623, allocations: 283 kB / 0.5979 GB, free: 7.371 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009711/0.1633, allocations: 0.7729 MB / 0.5986 GB, free: 6.586 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.215e-05/0.1633, allocations: 0 / 0.5986 GB, free: 6.586 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.378e-05/0.1633, allocations: 3.938 kB / 0.5986 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.49e-06/0.1633, allocations: 0 / 0.5986 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002071/0.1635, allocations: 7.984 kB / 0.5986 GB, free: 6.574 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 3.575e-05/0.1636, allocations: 0 / 0.5986 GB, free: 6.574 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.72e-05/0.1636, allocations: 4 kB / 0.5986 GB, free: 6.57 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.308e-05/0.1637, allocations: 0 / 0.5986 GB, free: 6.57 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001253/0.1638, allocations: 27.97 kB / 0.5987 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.855e-06/0.1638, allocations: 0 / 0.5987 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 3.075e-06/0.1638, allocations: 0 / 0.5987 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.644e-06/0.1638, allocations: 0 / 0.5987 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.342e-05/0.1639, allocations: 25.7 kB / 0.5987 GB, free: 6.512 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 2.673e-05/0.1639, allocations: 3.984 kB / 0.5987 GB, free: 6.508 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.1639, allocations: 0 / 0.5987 GB, free: 6.508 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.593e-06/0.1639, allocations: 0 / 0.5987 GB, free: 6.508 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.219e-06/0.1639, allocations: 4 kB / 0.5987 GB, free: 6.504 MB / 0.4981 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.0002472/0.1642, allocations: 311.4 kB / 0.599 GB, free: 6.152 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/0.1642, allocations: 8.031 kB / 0.599 GB, free: 6.145 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.051e-05/0.1643, allocations: 30.56 kB / 0.599 GB, free: 6.105 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.858e-05/0.1643, allocations: 3.953 kB / 0.599 GB, free: 6.102 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.387e-05/0.1644, allocations: 159.1 kB / 0.5992 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.282e-05/0.1644, allocations: 4 kB / 0.5992 GB, free: 5.902 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.002e-05/0.1644, allocations: 4 kB / 0.5992 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.252e-05/0.1645, allocations: 29.69 kB / 0.5992 GB, free: 5.863 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.014e-06/0.1645, allocations: 4 kB / 0.5992 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.343e-06/0.1645, allocations: 0 / 0.5992 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.1645, allocations: 0 / 0.5992 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.856e-05/0.1646, allocations: 4 kB / 0.5992 GB, free: 5.855 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002679/0.1648, allocations: 383.4 kB / 0.5996 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.897e-05/0.1649, allocations: 173.2 kB / 0.5998 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.533e-05/0.165, allocations: 84.14 kB / 0.5998 GB, free: 5.164 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.571e-05/0.165, allocations: 75.28 kB / 0.5999 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.079e-05/0.165, allocations: 105.8 kB / 0.6 GB, free: 4.977 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 8.52e-07/0.165, allocations: 3.938 kB / 0.6 GB, free: 4.973 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 7.24e-05/0.1651, allocations: 33.59 kB / 0.6 GB, free: 4.934 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.99e-05/0.1652, allocations: 126.7 kB / 0.6002 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.572e-05/0.1653, allocations: 101.9 kB / 0.6003 GB, free: 4.688 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 9.759e-06/0.1653, allocations: 25.7 kB / 0.6003 GB, free: 4.656 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.013e-05/0.1653, allocations: 84.05 kB / 0.6004 GB, free: 4.57 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.234e-06/0.1653, allocations: 0 / 0.6004 GB, free: 4.57 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.013e-06/0.1653, allocations: 0 / 0.6004 GB, free: 4.57 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.756e-05/0.1654, allocations: 314.8 kB / 0.6007 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.595e-06/0.1654, allocations: 4 kB / 0.6007 GB, free: 4.25 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.058e-06/0.1655, allocations: 128 / 0.6007 GB, free: 4.25 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.497e-05/0.1655, allocations: 4.062 kB / 0.6007 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.1655, allocations: 0 / 0.6007 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.779e-05/0.1656, allocations: 37.64 kB / 0.6007 GB, free: 4.203 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.1656, allocations: 8 kB / 0.6007 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.1656, allocations: 0 / 0.6007 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.1656, allocations: 0 / 0.6007 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.699e-05/0.1657, allocations: 0 / 0.6007 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.1657, allocations: 3.953 kB / 0.6007 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.065e-05/0.1657, allocations: 4 kB / 0.6007 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.439e-06/0.1657, allocations: 4.031 kB / 0.6007 GB, free: 4.184 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.963e-05/0.1658, allocations: 185.1 kB / 0.6009 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.003e-05/0.1659, allocations: 101 kB / 0.601 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.028e-05/0.1659, allocations: 112 kB / 0.6011 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.7e-05/0.166, allocations: 176.3 kB / 0.6013 GB, free: 3.594 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.358e-05/0.1661, allocations: 188.2 kB / 0.6015 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.401e-05/0.1661, allocations: 188.2 kB / 0.6016 GB, free: 3.211 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002095/0.1663, allocations: 397.2 kB / 0.602 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.503e-05/0.1664, allocations: 104.9 kB / 0.6021 GB, free: 2.656 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.028e-05/0.1664, allocations: 101 kB / 0.6022 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.053e-05/0.1665, allocations: 188.2 kB / 0.6024 GB, free: 2.359 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.918e-05/0.1666, allocations: 184.3 kB / 0.6026 GB, free: 2.172 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.356e-05/0.1666, allocations: 184.3 kB / 0.6027 GB, free: 1.984 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.043e-05/0.1667, allocations: 180.2 kB / 0.6029 GB, free: 1.801 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001307/0.1668, allocations: 311.7 kB / 0.6032 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.726e-05/0.1669, allocations: 186.1 kB / 0.6034 GB, free: 1.266 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.342e-05/0.167, allocations: 184.2 kB / 0.6036 GB, free: 1.078 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.332e-05/0.1671, allocations: 108.9 kB / 0.6037 GB, free: 0.9648 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.232e-05/0.1671, allocations: 180.2 kB / 0.6038 GB, free: 0.7812 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.701e-05/0.1672, allocations: 108.9 kB / 0.6039 GB, free: 0.668 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.599e-05/0.1672, allocations: 79.28 kB / 0.604 GB, free: 0.5898 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1672, allocations: 96 / 0.604 GB, free: 0.5898 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002308/0.1675, allocations: 4 kB / 0.604 GB, free: 0.5859 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.2808/0.4483, allocations: 0.8041 MB / 0.6048 GB, free: 41.07 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 9.625e-05/0.4484, allocations: 3.594 kB / 0.6048 GB, free: 41.07 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.4484, allocations: 3.406 kB / 0.6048 GB, free: 41.07 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.725e-06/0.4485, allocations: 1 kB / 0.6048 GB, free: 41.07 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000301/0.4488, allocations: 0.5225 MB / 0.6053 GB, free: 40.55 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003375/0.4491, allocations: 177.3 kB / 0.6055 GB, free: 40.34 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.648e-05/0.4492, allocations: 0.6739 MB / 0.6061 GB, free: 39.65 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.186e-05/0.4492, allocations: 0 / 0.6061 GB, free: 39.65 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.766e-05/0.4492, allocations: 7.438 kB / 0.6062 GB, free: 39.64 MB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.4493, allocations: 0 / 0.6062 GB, free: 39.64 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009969/0.4592, allocations: 0.7708 MB / 0.6069 GB, free: 39.59 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001724/0.4594, allocations: 264.2 kB / 0.6072 GB, free: 39.24 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.698/2.157, allocations: 0 / 0.6072 GB, free: 39.24 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe 2>&1) Environment - environmentSimulation: