Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.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: translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002007/0.002007, allocations: 115.5 kB / 17.08 MB, free: 6.012 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.002323/0.002323, allocations: 196.1 kB / 18.02 MB, free: 5.094 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.41/1.41, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7635/0.7635, allocations: 115.3 MB / 407.2 MB, free: 6.188 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001297/0.001297, allocations: 70.28 kB / 0.5584 GB, free: 32.28 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1719/0.1733, allocations: 76.18 MB / 0.6328 GB, free: 4.41 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.002253/0.1756, allocations: 1.237 MB / 0.634 GB, free: 3.164 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008939/0.1765, allocations: 483.1 kB / 0.6344 GB, free: 2.688 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.689e-05/0.1765, allocations: 0 / 0.6344 GB, free: 2.688 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 3.057e-05/0.1766, allocations: 0 / 0.6344 GB, free: 2.688 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 7.12e-05/0.1766, allocations: 0 / 0.6344 GB, free: 2.688 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003749/0.177, allocations: 55.81 kB / 0.6345 GB, free: 2.633 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 6.754e-05/0.1771, allocations: 15.97 kB / 0.6345 GB, free: 2.617 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.601e-05/0.1771, allocations: 7.938 kB / 0.6345 GB, free: 2.609 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.302e-05/0.1772, allocations: 8 kB / 0.6345 GB, free: 2.602 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.014e-05/0.1772, allocations: 7.984 kB / 0.6345 GB, free: 2.594 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.011e-05/0.1772, allocations: 0 / 0.6345 GB, free: 2.594 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000167/0.1774, allocations: 71.84 kB / 0.6346 GB, free: 2.523 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 5.561e-05/0.1775, allocations: 7.984 kB / 0.6346 GB, free: 2.516 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 4.567e-05/0.1775, allocations: 7.938 kB / 0.6346 GB, free: 2.508 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001319/0.1777, allocations: 51.92 kB / 0.6347 GB, free: 2.457 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.1777, allocations: 8 kB / 0.6347 GB, free: 2.449 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.1777, allocations: 0 / 0.6347 GB, free: 2.449 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.068e-05/0.1777, allocations: 0 / 0.6347 GB, free: 2.449 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003999/0.1781, allocations: 343.4 kB / 0.635 GB, free: 2.066 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.1781, allocations: 15.97 kB / 0.635 GB, free: 2.051 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.764e-05/0.1782, allocations: 4.844 kB / 0.635 GB, free: 2.047 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.062e-05/0.1783, allocations: 160.4 kB / 0.6352 GB, free: 1.852 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.141e-05/0.1783, allocations: 384 / 0.6352 GB, free: 1.852 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.33e-05/0.1783, allocations: 8.375 kB / 0.6352 GB, free: 1.844 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001112/0.1784, allocations: 54 kB / 0.6352 GB, free: 1.785 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.655e-06/0.1784, allocations: 0 / 0.6352 GB, free: 1.785 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.208e-06/0.1785, allocations: 0 / 0.6352 GB, free: 1.785 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.1785, allocations: 3.984 kB / 0.6352 GB, free: 1.781 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.934e-05/0.1785, allocations: 12 kB / 0.6353 GB, free: 1.77 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001468/0.1787, allocations: 157.6 kB / 0.6354 GB, free: 1.566 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.891e-05/0.1787, allocations: 30.58 kB / 0.6354 GB, free: 1.527 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.763e-05/0.1787, allocations: 20.94 kB / 0.6355 GB, free: 1.504 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.304e-06/0.1788, allocations: 4 kB / 0.6355 GB, free: 1.5 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001249/0.1789, allocations: 67.34 kB / 0.6355 GB, free: 1.422 MB / 478.1 MB Notification: Performance of pre-optimization done (n=7): time 1.383e-06/0.1789, allocations: 4 kB / 0.6355 GB, free: 1.418 MB / 478.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002006/0.1791, allocations: 97.59 kB / 0.6356 GB, free: 1.316 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.54e-05/0.1792, allocations: 59.39 kB / 0.6357 GB, free: 1.246 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.99e-05/0.1792, allocations: 97.75 kB / 0.6358 GB, free: 1.141 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.019e-05/0.1792, allocations: 33.7 kB / 0.6358 GB, free: 1.102 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.932e-05/0.1793, allocations: 84.17 kB / 0.6359 GB, free: 1.016 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.508e-05/0.1793, allocations: 15.84 kB / 0.6359 GB, free: 1 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.176e-05/0.1794, allocations: 29.7 kB / 0.6359 GB, free: 0.9648 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000103/0.1795, allocations: 314.8 kB / 0.6362 GB, free: 0.6484 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.651e-05/0.1795, allocations: 19.98 kB / 0.6362 GB, free: 0.6289 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.109e-05/0.1796, allocations: 69.98 kB / 0.6363 GB, free: 0.5391 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001189/0.1797, allocations: 101.9 kB / 0.6364 GB, free: 428 kB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.1797, allocations: 0 / 0.6364 GB, free: 428 kB / 478.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001489/0.1799, allocations: 117.4 kB / 0.6365 GB, free: 304 kB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.1799, allocations: 7.938 kB / 0.6365 GB, free: 296 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.283e-06/0.1799, allocations: 8 kB / 0.6365 GB, free: 288 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.1799, allocations: 4 kB / 0.6365 GB, free: 284 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.278e-05/0.18, allocations: 15.92 kB / 0.6366 GB, free: 268 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.415e-06/0.18, allocations: 4.219 kB / 0.6366 GB, free: 264 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.993e-05/0.1801, allocations: 4 kB / 0.6366 GB, free: 260 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.013e-05/0.1801, allocations: 4 kB / 0.6366 GB, free: 256 kB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 (QAggShi_flow[5],$PRE.QAggShi_flow[5],QAggShi_flow[4],$PRE.QAggShi_flow[4],QAggShi_flow[3],$PRE.QAggShi_flow[3],QAggShi_flow[2],$PRE.QAggShi_flow[2],QAggShi_flow[1],$PRE.QAggShi_flow[1],curCel,$PRE.curCel,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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 9.617e-05/0.1802, allocations: 129.7 kB / 0.6367 GB, free: 116 kB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.114e-05/0.1802, allocations: 7.938 kB / 0.6367 GB, free: 108 kB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.304e-05/0.1802, allocations: 7.953 kB / 0.6367 GB, free: 92 kB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.1802, allocations: 0 / 0.6367 GB, free: 92 kB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.1802, allocations: 0 / 0.6367 GB, free: 92 kB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.1802, allocations: 0 / 0.6367 GB, free: 92 kB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001437/0.1804, allocations: 161.6 kB / 0.6369 GB, free: 15.88 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.1804, allocations: 0 / 0.6369 GB, free: 15.88 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.547e-06/0.1804, allocations: 0 / 0.6369 GB, free: 15.88 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.1804, allocations: 3.938 kB / 0.6369 GB, free: 15.88 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.318e-06/0.1804, allocations: 7.984 kB / 0.6369 GB, free: 15.87 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.1804, allocations: 0 / 0.6369 GB, free: 15.87 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.1804, allocations: 0 / 0.6369 GB, free: 15.87 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001211/0.1806, allocations: 101.1 kB / 0.637 GB, free: 15.75 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.417e-05/0.1806, allocations: 89.08 kB / 0.637 GB, free: 15.65 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.634e-05/0.1806, allocations: 4 kB / 0.6371 GB, free: 15.64 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.153e-05/0.1806, allocations: 0 / 0.6371 GB, free: 15.64 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.806e-05/0.1807, allocations: 7.875 kB / 0.6371 GB, free: 15.64 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.398e-05/0.1807, allocations: 7.984 kB / 0.6371 GB, free: 15.63 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.88e-05/0.1807, allocations: 75.28 kB / 0.6371 GB, free: 15.55 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1807, allocations: 0 / 0.6371 GB, free: 15.55 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002131/0.1809, allocations: 20 kB / 0.6372 GB, free: 15.54 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: 7 ($whenCondition1,curCel,QAggShi_flow[1],QAggShi_flow[2],QAggShi_flow[3],QAggShi_flow[4],QAggShi_flow[5]) * Number of discrete states: 5 (QAggShi_flow[1],QAggShi_flow[2],QAggShi_flow[3],QAggShi_flow[4],QAggShi_flow[5]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0002046/0.1811, allocations: 135.2 kB / 0.6373 GB, free: 15.39 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001435/0.1813, allocations: 59.91 kB / 0.6373 GB, free: 15.34 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1813, allocations: 0 / 0.6373 GB, free: 15.34 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 3.078e-05/0.1813, allocations: 16 kB / 0.6374 GB, free: 15.32 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001438/0.1815, allocations: 7.5 kB / 0.6374 GB, free: 15.32 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002999/0.1818, allocations: 145 kB / 0.6375 GB, free: 15.14 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002236/0.182, allocations: 0.6807 MB / 0.6382 GB, free: 14.44 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.496e-05/0.1821, allocations: 11.44 kB / 0.6382 GB, free: 14.43 MB / 494.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1821, allocations: 0 / 0.6382 GB, free: 14.43 MB / 494.1 MB Notification: Performance of Templates: time 0.002224/0.1843, allocations: 0.8229 MB / 0.639 GB, free: 13.61 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.sim & ./IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe 2>&1)