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.0006651/0.0006652, allocations: 88.17 kB / 15.7 MB, free: 460 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.0007002/0.0007002, allocations: 174.3 kB / 16.58 MB, free: 6.797 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.148/1.148, allocations: 223.3 MB / 240.6 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.605/0.605, allocations: 113.7 MB / 405.5 MB, free: 4.574 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002609/0.000261, allocations: 8 kB / 493.2 MB, free: 8.539 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1143/0.1146, allocations: 77.12 MB / 0.557 GB, free: 11.63 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells): time 0.0005204/0.1151, allocations: 258.3 kB / 0.5572 GB, free: 11.38 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006814/0.1158, allocations: 0.7787 MB / 0.558 GB, free: 10.59 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.068e-05/0.1158, allocations: 0 / 0.558 GB, free: 10.59 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 7.655e-06/0.1158, allocations: 0 / 0.558 GB, free: 10.59 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.97e-06/0.1159, allocations: 0 / 0.558 GB, free: 10.59 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001652/0.116, allocations: 11.98 kB / 0.558 GB, free: 10.58 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 2.838e-05/0.1161, allocations: 0 / 0.558 GB, free: 10.58 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.724e-05/0.1161, allocations: 8 kB / 0.558 GB, free: 10.57 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.089e-05/0.1161, allocations: 0 / 0.558 GB, free: 10.57 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001094/0.1162, allocations: 23.97 kB / 0.558 GB, free: 10.55 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.442e-06/0.1163, allocations: 0 / 0.558 GB, free: 10.55 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.066e-06/0.1163, allocations: 0 / 0.558 GB, free: 10.55 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 8.135e-06/0.1163, allocations: 0 / 0.558 GB, free: 10.55 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.708e-05/0.1163, allocations: 29.64 kB / 0.558 GB, free: 10.52 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 1.625e-05/0.1163, allocations: 0 / 0.558 GB, free: 10.52 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.1163, allocations: 4 kB / 0.558 GB, free: 10.51 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1163, allocations: 0 / 0.558 GB, free: 10.51 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.605e-06/0.1163, allocations: 0 / 0.558 GB, free: 10.51 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.0001896/0.1165, allocations: 311.4 kB / 0.5583 GB, free: 10.16 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.317e-05/0.1166, allocations: 8.031 kB / 0.5583 GB, free: 10.15 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.519e-05/0.1166, allocations: 30.56 kB / 0.5584 GB, free: 10.11 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.464e-05/0.1166, allocations: 0 / 0.5584 GB, free: 10.11 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.601e-05/0.1167, allocations: 159.1 kB / 0.5585 GB, free: 9.918 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.058e-05/0.1167, allocations: 4 kB / 0.5585 GB, free: 9.914 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.042e-06/0.1167, allocations: 7.953 kB / 0.5585 GB, free: 9.906 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.497e-05/0.1168, allocations: 25.7 kB / 0.5586 GB, free: 9.875 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.1168, allocations: 0 / 0.5586 GB, free: 9.875 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.019e-06/0.1168, allocations: 7.875 kB / 0.5586 GB, free: 9.867 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.446e-06/0.1168, allocations: 0 / 0.5586 GB, free: 9.867 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.06e-05/0.1169, allocations: 11.94 kB / 0.5586 GB, free: 9.855 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002139/0.1171, allocations: 375.5 kB / 0.5589 GB, free: 9.438 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.329e-05/0.1171, allocations: 177.2 kB / 0.5591 GB, free: 9.254 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.204e-05/0.1172, allocations: 80.14 kB / 0.5592 GB, free: 9.172 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.332e-05/0.1172, allocations: 75.28 kB / 0.5592 GB, free: 9.098 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.382e-05/0.1172, allocations: 109.8 kB / 0.5594 GB, free: 8.98 MB / 430.1 MB Notification: Performance of pre-optimization done (n=0): time 8.21e-07/0.1172, allocations: 0 / 0.5594 GB, free: 8.98 MB / 430.1 MB Notification: Performance of matching and sorting (n=0): time 5.298e-05/0.1173, allocations: 25.7 kB / 0.5594 GB, free: 8.949 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.559e-05/0.1174, allocations: 134.7 kB / 0.5595 GB, free: 8.805 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.79e-05/0.1174, allocations: 97.86 kB / 0.5596 GB, free: 8.699 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.334e-06/0.1174, allocations: 25.7 kB / 0.5596 GB, free: 8.668 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.709e-05/0.1175, allocations: 80.14 kB / 0.5597 GB, free: 8.586 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.523e-06/0.1175, allocations: 0 / 0.5597 GB, free: 8.586 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.673e-06/0.1175, allocations: 0 / 0.5597 GB, free: 8.586 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.536e-05/0.1176, allocations: 310.8 kB / 0.56 GB, free: 8.273 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.803e-06/0.1176, allocations: 8.125 kB / 0.56 GB, free: 8.266 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.196e-06/0.1176, allocations: 0 / 0.56 GB, free: 8.266 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.121e-05/0.1176, allocations: 0 / 0.56 GB, free: 8.266 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.1176, allocations: 3.953 kB / 0.56 GB, free: 8.262 MB / 430.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.915e-05/0.1177, allocations: 37.62 kB / 0.56 GB, free: 8.219 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.097e-05/0.1177, allocations: 8 kB / 0.5601 GB, free: 8.211 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.1177, allocations: 3.984 kB / 0.5601 GB, free: 8.207 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.407e-06/0.1177, allocations: 0 / 0.5601 GB, free: 8.207 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.574e-05/0.1177, allocations: 0 / 0.5601 GB, free: 8.207 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.947e-06/0.1178, allocations: 4.094 kB / 0.5601 GB, free: 8.203 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.738e-06/0.1178, allocations: 7.906 kB / 0.5601 GB, free: 8.195 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.286e-06/0.1178, allocations: 0 / 0.5601 GB, free: 8.195 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.139e-05/0.1179, allocations: 185.1 kB / 0.5602 GB, free: 8.004 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.038e-05/0.1179, allocations: 108.9 kB / 0.5603 GB, free: 7.891 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.431e-05/0.118, allocations: 112.1 kB / 0.5605 GB, free: 7.77 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.662e-05/0.118, allocations: 180.2 kB / 0.5606 GB, free: 7.586 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-05/0.1181, allocations: 184.2 kB / 0.5608 GB, free: 7.398 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.167e-05/0.1181, allocations: 180.3 kB / 0.561 GB, free: 7.215 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001734/0.1183, allocations: 405.2 kB / 0.5614 GB, free: 6.762 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.811e-05/0.1183, allocations: 104.9 kB / 0.5615 GB, free: 6.652 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.618e-05/0.1183, allocations: 104.9 kB / 0.5616 GB, free: 6.543 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.643e-05/0.1184, allocations: 184.2 kB / 0.5617 GB, free: 6.355 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.916e-05/0.1185, allocations: 184.3 kB / 0.5619 GB, free: 6.168 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.681e-05/0.1185, allocations: 192.2 kB / 0.5621 GB, free: 5.973 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.315e-05/0.1186, allocations: 176.3 kB / 0.5623 GB, free: 5.793 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001024/0.1187, allocations: 316 kB / 0.5626 GB, free: 5.461 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.281e-05/0.1187, allocations: 182.1 kB / 0.5627 GB, free: 5.258 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.203e-05/0.1188, allocations: 188.2 kB / 0.5629 GB, free: 5.066 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.928e-05/0.1189, allocations: 101 kB / 0.563 GB, free: 4.961 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.078e-05/0.1189, allocations: 176.3 kB / 0.5632 GB, free: 4.781 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.634e-05/0.1189, allocations: 104.9 kB / 0.5633 GB, free: 4.672 MB / 430.1 MB Notification: Performance of sorting global known variables: time 2.395e-05/0.119, allocations: 83.28 kB / 0.5634 GB, free: 4.59 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.119, allocations: 0 / 0.5634 GB, free: 4.59 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0001889/0.1192, allocations: 0 / 0.5634 GB, free: 4.59 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 (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.0002833/0.1195, allocations: 0.8055 MB / 0.5641 GB, free: 3.754 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 4.055e-05/0.1195, allocations: 8.031 kB / 0.5642 GB, free: 3.746 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.1195, allocations: 0 / 0.5642 GB, free: 3.746 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 3.056e-06/0.1195, allocations: 4 kB / 0.5642 GB, free: 3.742 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002901/0.1198, allocations: 0.5233 MB / 0.5647 GB, free: 3.215 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002401/0.1201, allocations: 175.8 kB / 0.5648 GB, free: 3 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001695/0.1202, allocations: 0.6692 MB / 0.5655 GB, free: 2.305 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.546e-06/0.1203, allocations: 0 / 0.5655 GB, free: 2.305 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.289e-05/0.1203, allocations: 7.438 kB / 0.5655 GB, free: 2.297 MB / 430.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1203, allocations: 4 kB / 0.5655 GB, free: 2.293 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.008753/0.129, allocations: 0.7635 MB / 0.5662 GB, free: 1.766 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002061/0.1293, allocations: 249.7 kB / 0.5665 GB, free: 1.438 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.377/1.506, allocations: 1.875 kB / 0.5665 GB, free: 1.438 MB / 430.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/linux/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) Environment - environmentSimulation: