Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.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.AggregationCellTimes,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes",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.001038/0.001038, allocations: 96.27 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.001421/0.00142, allocations: 176.2 kB / 16.57 MB, free: 6.395 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.392/1.392, allocations: 223.2 MB / 240.5 MB, free: 5.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6987/0.6987, allocations: 113.7 MB / 405.3 MB, free: 4.723 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003172/0.0003173, allocations: 11.98 kB / 493 MB, free: 8.602 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1774/0.1777, allocations: 77.12 MB / 0.5568 GB, free: 11.69 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes): time 0.001429/0.1792, allocations: 0.9784 MB / 0.5577 GB, free: 10.7 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.000728/0.18, allocations: 421.5 kB / 0.5581 GB, free: 10.29 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.315e-05/0.18, allocations: 4 kB / 0.5581 GB, free: 10.28 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 8.731e-05/0.1801, allocations: 3.984 kB / 0.5581 GB, free: 10.28 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 1.941e-05/0.1801, allocations: 0 / 0.5581 GB, free: 10.28 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002513/0.1804, allocations: 23.97 kB / 0.5582 GB, free: 10.25 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.988e-05/0.1805, allocations: 19.91 kB / 0.5582 GB, free: 10.23 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.913e-05/0.1805, allocations: 0 / 0.5582 GB, free: 10.23 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.439e-05/0.1806, allocations: 4 kB / 0.5582 GB, free: 10.23 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.411e-05/0.1806, allocations: 7.984 kB / 0.5582 GB, free: 10.22 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.241e-05/0.1806, allocations: 0 / 0.5582 GB, free: 10.22 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001094/0.1808, allocations: 35.91 kB / 0.5582 GB, free: 10.19 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.359e-05/0.1808, allocations: 12 kB / 0.5582 GB, free: 10.18 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.56e-05/0.1809, allocations: 33.64 kB / 0.5583 GB, free: 10.14 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001072/0.181, allocations: 40.16 kB / 0.5583 GB, free: 10.1 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.181, allocations: 0 / 0.5583 GB, free: 10.1 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.525e-06/0.181, allocations: 0 / 0.5583 GB, free: 10.1 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.179e-06/0.181, allocations: 0 / 0.5583 GB, free: 10.1 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004125/0.1814, allocations: 347.2 kB / 0.5586 GB, free: 9.711 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.586e-05/0.1815, allocations: 12.03 kB / 0.5586 GB, free: 9.699 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.973e-05/0.1815, allocations: 30.56 kB / 0.5587 GB, free: 9.66 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.617e-05/0.1815, allocations: 3.906 kB / 0.5587 GB, free: 9.656 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001695/0.1817, allocations: 178.9 kB / 0.5588 GB, free: 9.441 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.117e-06/0.1817, allocations: 0 / 0.5588 GB, free: 9.441 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.157e-05/0.1818, allocations: 11.95 kB / 0.5589 GB, free: 9.43 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001006/0.1819, allocations: 43.42 kB / 0.5589 GB, free: 9.375 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.1819, allocations: 0 / 0.5589 GB, free: 9.375 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.287e-06/0.1819, allocations: 0 / 0.5589 GB, free: 9.375 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.1819, allocations: 3.938 kB / 0.5589 GB, free: 9.371 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.789e-05/0.1819, allocations: 7.984 kB / 0.5589 GB, free: 9.363 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001923/0.1821, allocations: 174.5 kB / 0.5591 GB, free: 9.141 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.588e-05/0.1822, allocations: 37.09 kB / 0.5591 GB, free: 9.086 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.193e-06/0.1822, allocations: 0 / 0.5591 GB, free: 9.086 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.855e-05/0.1823, allocations: 42.62 kB / 0.5592 GB, free: 9.035 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 7.82e-07/0.1823, allocations: 4 kB / 0.5592 GB, free: 9.031 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001402/0.1824, allocations: 45.64 kB / 0.5592 GB, free: 8.98 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.414e-05/0.1825, allocations: 81.09 kB / 0.5593 GB, free: 8.883 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001305/0.1826, allocations: 141.7 kB / 0.5594 GB, free: 8.734 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.355e-05/0.1826, allocations: 25.7 kB / 0.5594 GB, free: 8.703 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.299e-05/0.1827, allocations: 88.12 kB / 0.5595 GB, free: 8.613 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.894e-05/0.1827, allocations: 11.89 kB / 0.5595 GB, free: 8.602 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.426e-06/0.1827, allocations: 0 / 0.5595 GB, free: 8.602 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001483/0.1829, allocations: 319.1 kB / 0.5598 GB, free: 8.281 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.031e-05/0.1829, allocations: 23.98 kB / 0.5599 GB, free: 8.258 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.12e-05/0.183, allocations: 27.36 kB / 0.5599 GB, free: 8.234 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.146e-05/0.183, allocations: 28 kB / 0.5599 GB, free: 8.207 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.918e-06/0.183, allocations: 0 / 0.5599 GB, free: 8.207 MB / 430.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001277/0.1831, allocations: 97.52 kB / 0.56 GB, free: 8.105 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.1832, allocations: 4 kB / 0.56 GB, free: 8.102 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.111e-05/0.1832, allocations: 7.953 kB / 0.56 GB, free: 8.094 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.1832, allocations: 0 / 0.56 GB, free: 8.094 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.521e-05/0.1833, allocations: 4.031 kB / 0.56 GB, free: 8.09 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.1833, allocations: 8 kB / 0.56 GB, free: 8.082 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.082e-05/0.1833, allocations: 7.844 kB / 0.56 GB, free: 8.074 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.044e-05/0.1833, allocations: 7.969 kB / 0.56 GB, free: 8.066 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.826e-05/0.1834, allocations: 117.8 kB / 0.5602 GB, free: 7.941 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.645e-06/0.1834, allocations: 0 / 0.5602 GB, free: 7.941 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.141e-05/0.1835, allocations: 3.531 kB / 0.5602 GB, free: 7.938 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.107e-06/0.1835, allocations: 3.953 kB / 0.5602 GB, free: 7.934 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.1835, allocations: 4 kB / 0.5602 GB, free: 7.93 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.1835, allocations: 3.984 kB / 0.5602 GB, free: 7.926 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001292/0.1836, allocations: 161.7 kB / 0.5603 GB, free: 7.719 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.1836, allocations: 0 / 0.5603 GB, free: 7.719 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.031e-05/0.1837, allocations: 7.938 kB / 0.5603 GB, free: 7.711 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.1837, allocations: 3.938 kB / 0.5603 GB, free: 7.707 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.061e-06/0.1837, allocations: 0 / 0.5603 GB, free: 7.707 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.1837, allocations: 0 / 0.5603 GB, free: 7.707 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.1837, allocations: 3.953 kB / 0.5603 GB, free: 7.703 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001045/0.1838, allocations: 91.61 kB / 0.5604 GB, free: 7.586 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.695e-05/0.1839, allocations: 85.02 kB / 0.5605 GB, free: 7.484 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.273e-05/0.1839, allocations: 0 / 0.5605 GB, free: 7.484 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.044e-05/0.1839, allocations: 3.953 kB / 0.5605 GB, free: 7.48 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.598e-05/0.1839, allocations: 3.984 kB / 0.5605 GB, free: 7.477 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.386e-06/0.1839, allocations: 4 kB / 0.5605 GB, free: 7.473 MB / 430.1 MB Notification: Performance of sorting global known variables: time 7.148e-05/0.184, allocations: 95.27 kB / 0.5606 GB, free: 7.379 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.184, allocations: 0 / 0.5606 GB, free: 7.379 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002358/0.1843, allocations: 28.03 kB / 0.5606 GB, free: 7.352 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.0004798/0.1848, allocations: 0.7039 MB / 0.5613 GB, free: 6.613 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001373/0.1849, allocations: 85.7 kB / 0.5614 GB, free: 6.523 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.1849, allocations: 3.938 kB / 0.5614 GB, free: 6.52 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 1.172e-05/0.1849, allocations: 4 kB / 0.5614 GB, free: 6.516 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001045/0.185, allocations: 4.656 kB / 0.5614 GB, free: 6.512 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005241/0.1856, allocations: 363.4 kB / 0.5618 GB, free: 6.105 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003089/0.1859, allocations: 0.6887 MB / 0.5624 GB, free: 5.391 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 2.276e-05/0.1859, allocations: 7.984 kB / 0.5624 GB, free: 5.383 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.991e-05/0.186, allocations: 15.44 kB / 0.5625 GB, free: 5.367 MB / 430.1 MB Notification: Performance of SimCode: time 2e-07/0.186, allocations: 0 / 0.5625 GB, free: 5.367 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01222/0.1982, allocations: 1.443 MB / 0.5639 GB, free: 4.16 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002301/0.1985, allocations: 245.1 kB / 0.5641 GB, free: 3.883 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.346/2.544, allocations: 0 / 0.5641 GB, free: 3.883 MB / 430.1 MB (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes.fmu > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe 2>&1) Environment - environmentSimulation: