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: translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001355/0.001355, allocations: 108 kB / 15.6 MB, free: 132 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.001589/0.001589, allocations: 194.9 kB / 16.53 MB, free: 6.391 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.274/1.274, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00211/0.002111, allocations: 294.7 kB / 290.7 MB, free: 1.977 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9068/0.9068, allocations: 169.3 MB / 0.4982 GB, free: 13.89 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001992/0.001992, allocations: 96.23 kB / 0.5953 GB, free: 27.87 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1341/0.1361, allocations: 86.98 MB / 0.6802 GB, free: 0.6562 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells): time 0.001535/0.1377, allocations: 0.5411 MB / 0.6808 GB, free: 132 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007619/0.1385, allocations: 0.7805 MB / 0.6815 GB, free: 15.34 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.228e-05/0.1385, allocations: 0 / 0.6815 GB, free: 15.34 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 8.846e-06/0.1385, allocations: 0.7812 kB / 0.6815 GB, free: 15.34 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.767e-06/0.1385, allocations: 0 / 0.6815 GB, free: 15.34 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002193/0.1388, allocations: 21.28 kB / 0.6815 GB, free: 15.32 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.067e-05/0.1388, allocations: 4 kB / 0.6815 GB, free: 15.31 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.709e-05/0.1388, allocations: 0 / 0.6815 GB, free: 15.31 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.131e-05/0.1389, allocations: 0 / 0.6815 GB, free: 15.31 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001115/0.139, allocations: 22.12 kB / 0.6816 GB, free: 15.29 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.422e-06/0.139, allocations: 0 / 0.6816 GB, free: 15.29 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.176e-06/0.139, allocations: 1.5 kB / 0.6816 GB, free: 15.29 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.795e-06/0.139, allocations: 0 / 0.6816 GB, free: 15.29 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.274e-05/0.139, allocations: 4 kB / 0.6816 GB, free: 15.29 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 2.625e-05/0.1391, allocations: 0 / 0.6816 GB, free: 15.29 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.1391, allocations: 4 kB / 0.6816 GB, free: 15.29 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1391, allocations: 0 / 0.6816 GB, free: 15.29 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.671e-06/0.1391, allocations: 0 / 0.6816 GB, free: 15.29 MB / 494.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.0002259/0.1393, allocations: 319.5 kB / 0.6819 GB, free: 14.92 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.075e-05/0.1393, allocations: 8.031 kB / 0.6819 GB, free: 14.91 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.166e-05/0.1394, allocations: 0.9375 kB / 0.6819 GB, free: 14.91 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.974e-05/0.1395, allocations: 164.3 kB / 0.682 GB, free: 14.71 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.272e-06/0.1395, allocations: 384 / 0.682 GB, free: 14.71 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.516e-06/0.1395, allocations: 4.375 kB / 0.682 GB, free: 14.71 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.612e-05/0.1395, allocations: 30.27 kB / 0.6821 GB, free: 14.68 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.46e-06/0.1396, allocations: 192 / 0.6821 GB, free: 14.68 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.697e-06/0.1396, allocations: 7.922 kB / 0.6821 GB, free: 14.67 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.1396, allocations: 0 / 0.6821 GB, free: 14.67 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.34e-05/0.1396, allocations: 0 / 0.6821 GB, free: 14.67 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002411/0.1398, allocations: 383.5 kB / 0.6824 GB, free: 14.24 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.645e-05/0.1399, allocations: 173.1 kB / 0.6826 GB, free: 14.06 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.751e-05/0.14, allocations: 84.14 kB / 0.6827 GB, free: 13.98 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.886e-05/0.14, allocations: 79.31 kB / 0.6828 GB, free: 13.9 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.143e-05/0.14, allocations: 105.8 kB / 0.6829 GB, free: 13.79 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 8.41e-07/0.14, allocations: 0 / 0.6829 GB, free: 13.79 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 5.558e-05/0.1401, allocations: 37.56 kB / 0.6829 GB, free: 13.74 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.255e-05/0.1401, allocations: 130.7 kB / 0.683 GB, free: 13.6 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.219e-05/0.1402, allocations: 93.86 kB / 0.6831 GB, free: 13.5 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 9.317e-06/0.1402, allocations: 25.7 kB / 0.6831 GB, free: 13.47 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.17e-05/0.1403, allocations: 80.42 kB / 0.6832 GB, free: 13.39 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.863e-06/0.1403, allocations: 0 / 0.6832 GB, free: 13.39 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.459e-05/0.1403, allocations: 13.72 kB / 0.6832 GB, free: 13.37 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.597e-05/0.1404, allocations: 314.8 kB / 0.6835 GB, free: 13.05 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.921e-06/0.1404, allocations: 128 / 0.6835 GB, free: 13.05 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.497e-06/0.1404, allocations: 4 kB / 0.6835 GB, free: 13.05 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.882e-05/0.1404, allocations: 8.859 kB / 0.6835 GB, free: 13.04 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.1404, allocations: 0 / 0.6835 GB, free: 13.04 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.343e-05/0.1405, allocations: 41.56 kB / 0.6836 GB, free: 12.99 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.939e-06/0.1405, allocations: 4 kB / 0.6836 GB, free: 12.98 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.186e-06/0.1405, allocations: 0 / 0.6836 GB, free: 12.98 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.568e-06/0.1406, allocations: 0 / 0.6836 GB, free: 12.98 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.905e-05/0.1406, allocations: 8 kB / 0.6836 GB, free: 12.98 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.727e-06/0.1406, allocations: 4.094 kB / 0.6836 GB, free: 12.97 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.127e-05/0.1406, allocations: 7.938 kB / 0.6836 GB, free: 12.96 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.646e-06/0.1406, allocations: 0 / 0.6836 GB, free: 12.96 MB / 494.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.839e-05/0.1407, allocations: 189.7 kB / 0.6838 GB, free: 12.77 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.706e-05/0.1408, allocations: 105 kB / 0.6839 GB, free: 12.66 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.453e-05/0.1408, allocations: 112 kB / 0.684 GB, free: 12.54 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.249e-05/0.1409, allocations: 176.3 kB / 0.6842 GB, free: 12.36 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.393e-05/0.1409, allocations: 188.2 kB / 0.6843 GB, free: 12.17 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.694e-05/0.141, allocations: 180.3 kB / 0.6845 GB, free: 11.99 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001919/0.1412, allocations: 405.2 kB / 0.6849 GB, free: 11.54 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-05/0.1412, allocations: 104.9 kB / 0.685 GB, free: 11.43 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.952e-05/0.1413, allocations: 105 kB / 0.6851 GB, free: 11.32 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.635e-05/0.1413, allocations: 184.2 kB / 0.6853 GB, free: 11.13 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.67e-05/0.1414, allocations: 184.8 kB / 0.6855 GB, free: 10.94 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.206e-05/0.1414, allocations: 176.3 kB / 0.6856 GB, free: 10.76 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-05/0.1415, allocations: 184.2 kB / 0.6858 GB, free: 10.57 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001143/0.1416, allocations: 311.9 kB / 0.6861 GB, free: 10.25 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.087e-05/0.1417, allocations: 182.1 kB / 0.6863 GB, free: 10.04 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.423e-05/0.1417, allocations: 184.2 kB / 0.6864 GB, free: 9.855 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.905e-05/0.1418, allocations: 101 kB / 0.6865 GB, free: 9.75 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.138e-05/0.1419, allocations: 180.3 kB / 0.6867 GB, free: 9.566 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.989e-05/0.1419, allocations: 108.9 kB / 0.6868 GB, free: 9.453 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.649e-05/0.142, allocations: 79.28 kB / 0.6869 GB, free: 9.375 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.142, allocations: 0 / 0.6869 GB, free: 9.375 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002009/0.1422, allocations: 4 kB / 0.6869 GB, free: 9.371 MB / 494.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 (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.0001099/0.1423, allocations: 182.5 kB / 0.6871 GB, free: 9.18 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 4.316e-05/0.1423, allocations: 0 / 0.6871 GB, free: 9.18 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.502e-06/0.1423, allocations: 0 / 0.6871 GB, free: 9.18 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.372e-06/0.1423, allocations: 4 kB / 0.6871 GB, free: 9.176 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003035/0.1426, allocations: 465.6 kB / 0.6875 GB, free: 8.719 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001441/0.1428, allocations: 157 kB / 0.6877 GB, free: 8.539 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001999/0.143, allocations: 0.6729 MB / 0.6883 GB, free: 7.84 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 8.416e-06/0.143, allocations: 0 / 0.6883 GB, free: 7.84 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.15e-05/0.143, allocations: 7.438 kB / 0.6883 GB, free: 7.832 MB / 494.1 MB Notification: Performance of SimCode: time 2.6e-07/0.143, allocations: 0 / 0.6883 GB, free: 7.832 MB / 494.1 MB Notification: Performance of Templates: time 0.001572/0.1446, allocations: 186.9 kB / 0.6885 GB, free: 7.695 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.makefile (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 & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe 2>&1)