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.001359/0.001359, allocations: 96.89 kB / 15.69 MB, free: 480 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.00164/0.00164, allocations: 176.4 kB / 16.57 MB, free: 6.855 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.758/1.758, allocations: 223.2 MB / 240.5 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6989/0.6989, allocations: 113.7 MB / 405.3 MB, free: 4.699 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000341/0.000341, allocations: 8 kB / 493 MB, free: 8.598 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1482/0.1485, allocations: 77.12 MB / 0.5568 GB, free: 11.68 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells): time 0.0005868/0.1492, allocations: 262.3 kB / 0.557 GB, free: 11.42 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00083/0.15, allocations: 0.771 MB / 0.5578 GB, free: 10.64 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.075e-05/0.15, allocations: 0 / 0.5578 GB, free: 10.64 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 8.556e-06/0.1501, allocations: 0 / 0.5578 GB, free: 10.64 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.471e-06/0.1501, allocations: 0 / 0.5578 GB, free: 10.64 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002053/0.1503, allocations: 23.91 kB / 0.5578 GB, free: 10.62 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 3.123e-05/0.1503, allocations: 0 / 0.5578 GB, free: 10.62 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.086e-05/0.1504, allocations: 0 / 0.5578 GB, free: 10.62 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.514e-05/0.1504, allocations: 3.938 kB / 0.5578 GB, free: 10.61 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001139/0.1505, allocations: 19.98 kB / 0.5578 GB, free: 10.59 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.971e-06/0.1505, allocations: 0 / 0.5578 GB, free: 10.59 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.916e-06/0.1505, allocations: 0 / 0.5578 GB, free: 10.59 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.1e-05/0.1506, allocations: 7.984 kB / 0.5578 GB, free: 10.59 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.94e-05/0.1506, allocations: 25.7 kB / 0.5578 GB, free: 10.55 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 2.109e-05/0.1506, allocations: 0 / 0.5578 GB, free: 10.55 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.1506, allocations: 0 / 0.5578 GB, free: 10.55 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.1506, allocations: 0 / 0.5578 GB, free: 10.55 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.199e-06/0.1506, allocations: 4 kB / 0.5578 GB, free: 10.55 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.0002238/0.1509, allocations: 307.4 kB / 0.5581 GB, free: 10.2 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.1509, allocations: 8.094 kB / 0.5581 GB, free: 10.2 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.698e-05/0.1509, allocations: 34.5 kB / 0.5582 GB, free: 10.15 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.508e-05/0.151, allocations: 0 / 0.5582 GB, free: 10.15 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.536e-05/0.151, allocations: 167.1 kB / 0.5583 GB, free: 9.949 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.856e-06/0.1511, allocations: 0 / 0.5583 GB, free: 9.949 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.175e-06/0.1511, allocations: 3.953 kB / 0.5583 GB, free: 9.945 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.761e-05/0.1511, allocations: 25.7 kB / 0.5584 GB, free: 9.914 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.462e-06/0.1512, allocations: 3.938 kB / 0.5584 GB, free: 9.91 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.982e-06/0.1512, allocations: 0 / 0.5584 GB, free: 9.91 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.1512, allocations: 7.984 kB / 0.5584 GB, free: 9.902 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.395e-05/0.1512, allocations: 4 kB / 0.5584 GB, free: 9.898 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002518/0.1515, allocations: 383.5 kB / 0.5587 GB, free: 9.473 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.639e-05/0.1515, allocations: 173.2 kB / 0.5589 GB, free: 9.293 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.069e-05/0.1516, allocations: 75.28 kB / 0.559 GB, free: 9.219 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.779e-05/0.1516, allocations: 113.8 kB / 0.5591 GB, free: 9.098 MB / 430.1 MB Notification: Performance of pre-optimization done (n=0): time 7.12e-07/0.1516, allocations: 0 / 0.5591 GB, free: 9.098 MB / 430.1 MB Notification: Performance of matching and sorting (n=0): time 5.465e-05/0.1517, allocations: 25.7 kB / 0.5591 GB, free: 9.066 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.427e-05/0.1517, allocations: 126.7 kB / 0.5592 GB, free: 8.93 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.11e-05/0.1518, allocations: 93.86 kB / 0.5593 GB, free: 8.828 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.346e-06/0.1518, allocations: 29.64 kB / 0.5594 GB, free: 8.793 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.998e-05/0.1518, allocations: 84.27 kB / 0.5594 GB, free: 8.707 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.084e-06/0.1518, allocations: 0 / 0.5594 GB, free: 8.707 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.713e-06/0.1518, allocations: 0 / 0.5594 GB, free: 8.707 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.755e-05/0.1519, allocations: 318.8 kB / 0.5597 GB, free: 8.387 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.612e-06/0.1519, allocations: 4 kB / 0.5597 GB, free: 8.383 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.577e-06/0.152, allocations: 0 / 0.5597 GB, free: 8.383 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.507e-05/0.152, allocations: 3.938 kB / 0.5597 GB, free: 8.379 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.152, allocations: 0 / 0.5597 GB, free: 8.379 MB / 430.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.131e-05/0.1521, allocations: 33.66 kB / 0.5598 GB, free: 8.34 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/0.1521, allocations: 14.44 kB / 0.5598 GB, free: 8.328 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.1521, allocations: 0 / 0.5598 GB, free: 8.328 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.1521, allocations: 0 / 0.5598 GB, free: 8.328 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.012e-05/0.1522, allocations: 0 / 0.5598 GB, free: 8.328 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/0.1522, allocations: 0 / 0.5598 GB, free: 8.328 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.184e-05/0.1522, allocations: 7.906 kB / 0.5598 GB, free: 8.32 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.498e-06/0.1522, allocations: 0 / 0.5598 GB, free: 8.32 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 8.124e-05/0.1523, allocations: 189.1 kB / 0.56 GB, free: 8.125 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.446e-05/0.1523, allocations: 112.9 kB / 0.5601 GB, free: 8.008 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.46e-05/0.1524, allocations: 108.1 kB / 0.5602 GB, free: 7.891 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.825e-05/0.1524, allocations: 176.3 kB / 0.5604 GB, free: 7.711 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.393e-05/0.1525, allocations: 180.2 kB / 0.5605 GB, free: 7.527 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.971e-05/0.1526, allocations: 180.2 kB / 0.5607 GB, free: 7.344 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00018/0.1527, allocations: 405.2 kB / 0.5611 GB, free: 6.891 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.24e-05/0.1528, allocations: 108.9 kB / 0.5612 GB, free: 6.777 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.995e-05/0.1528, allocations: 105 kB / 0.5613 GB, free: 6.668 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.075e-05/0.1529, allocations: 184.2 kB / 0.5615 GB, free: 6.48 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.841e-05/0.1529, allocations: 180.3 kB / 0.5616 GB, free: 6.297 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.795e-05/0.153, allocations: 184.2 kB / 0.5618 GB, free: 6.109 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.033e-05/0.153, allocations: 184.3 kB / 0.562 GB, free: 5.922 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001068/0.1532, allocations: 304 kB / 0.5623 GB, free: 5.602 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.084e-05/0.1532, allocations: 182.1 kB / 0.5625 GB, free: 5.398 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.312e-05/0.1533, allocations: 192.2 kB / 0.5626 GB, free: 5.203 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.487e-05/0.1534, allocations: 101 kB / 0.5627 GB, free: 5.098 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.074e-05/0.1534, allocations: 188.2 kB / 0.5629 GB, free: 4.906 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.377e-05/0.1535, allocations: 101 kB / 0.563 GB, free: 4.801 MB / 430.1 MB Notification: Performance of sorting global known variables: time 2.819e-05/0.1535, allocations: 83.22 kB / 0.5631 GB, free: 4.719 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1535, allocations: 0 / 0.5631 GB, free: 4.719 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0001974/0.1537, allocations: 0 / 0.5631 GB, free: 4.719 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.0003438/0.1541, allocations: 0.8134 MB / 0.5639 GB, free: 3.875 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 4.648e-05/0.1541, allocations: 0 / 0.5639 GB, free: 3.875 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1541, allocations: 0 / 0.5639 GB, free: 3.875 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 1.512e-06/0.1541, allocations: 4 kB / 0.5639 GB, free: 3.871 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002561/0.1544, allocations: 0.527 MB / 0.5644 GB, free: 3.34 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002659/0.1547, allocations: 171.9 kB / 0.5646 GB, free: 3.129 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001881/0.1549, allocations: 0.677 MB / 0.5652 GB, free: 2.426 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 1.057e-05/0.1549, allocations: 0 / 0.5652 GB, free: 2.426 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.81e-05/0.1549, allocations: 7.438 kB / 0.5652 GB, free: 2.418 MB / 430.1 MB Notification: Performance of SimCode: time 1.563e-06/0.1549, allocations: 0 / 0.5652 GB, free: 2.418 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.104/1.259, allocations: 0.757 MB / 0.566 GB, free: 1.895 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002161/1.259, allocations: 249.1 kB / 0.5662 GB, free: 1.586 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.253/3.512, allocations: 0 / 0.5662 GB, free: 1.586 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: