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.00137/0.00137, allocations: 103.3 kB / 16.4 MB, free: 6.469 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.001178/0.001178, allocations: 193.2 kB / 17.34 MB, free: 5.715 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.301/1.301, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7261/0.7261, allocations: 122.9 MB / 414.1 MB, free: 15.82 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 66.7 kB / 0.5685 GB, free: 28.71 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1255/0.1268, allocations: 77.95 MB / 0.6446 GB, free: 8.988 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.002106/0.1289, allocations: 1.223 MB / 0.6458 GB, free: 7.754 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008215/0.1298, allocations: 487.1 kB / 0.6463 GB, free: 7.273 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.837e-05/0.1298, allocations: 0 / 0.6463 GB, free: 7.273 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.715e-05/0.1298, allocations: 0 / 0.6463 GB, free: 7.273 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.052e-05/0.1299, allocations: 1.125 kB / 0.6463 GB, free: 7.273 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003138/0.1302, allocations: 59.8 kB / 0.6463 GB, free: 7.215 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.47e-05/0.1303, allocations: 15.92 kB / 0.6463 GB, free: 7.199 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.886e-05/0.1303, allocations: 4 kB / 0.6464 GB, free: 7.195 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.074e-05/0.1304, allocations: 11.98 kB / 0.6464 GB, free: 7.184 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.138e-05/0.1304, allocations: 4 kB / 0.6464 GB, free: 7.18 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.127e-06/0.1304, allocations: 3.938 kB / 0.6464 GB, free: 7.176 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001491/0.1306, allocations: 67.86 kB / 0.6464 GB, free: 7.109 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.695e-05/0.1306, allocations: 11.97 kB / 0.6464 GB, free: 7.098 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.642e-05/0.1307, allocations: 7.938 kB / 0.6465 GB, free: 7.09 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001287/0.1308, allocations: 63.78 kB / 0.6465 GB, free: 7.027 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.1308, allocations: 4 kB / 0.6465 GB, free: 7.023 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.047e-06/0.1308, allocations: 4 kB / 0.6465 GB, free: 7.02 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.452e-06/0.1308, allocations: 3.938 kB / 0.6465 GB, free: 7.016 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003204/0.1312, allocations: 335.4 kB / 0.6468 GB, free: 6.641 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.148e-05/0.1312, allocations: 12.62 kB / 0.6469 GB, free: 6.629 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.739e-05/0.1312, allocations: 0.9375 kB / 0.6469 GB, free: 6.629 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.706e-05/0.1313, allocations: 164.4 kB / 0.647 GB, free: 6.43 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.097e-06/0.1313, allocations: 384 / 0.647 GB, free: 6.43 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.259e-05/0.1313, allocations: 8.375 kB / 0.647 GB, free: 6.422 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.768e-05/0.1314, allocations: 54 kB / 0.6471 GB, free: 6.363 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.382e-06/0.1315, allocations: 0 / 0.6471 GB, free: 6.363 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.574e-06/0.1315, allocations: 3.938 kB / 0.6471 GB, free: 6.359 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.1315, allocations: 0 / 0.6471 GB, free: 6.359 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.656e-05/0.1315, allocations: 12 kB / 0.6471 GB, free: 6.348 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001249/0.1316, allocations: 153.7 kB / 0.6472 GB, free: 6.148 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.822e-05/0.1317, allocations: 30.62 kB / 0.6473 GB, free: 6.109 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.387e-05/0.1317, allocations: 16.95 kB / 0.6473 GB, free: 6.09 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.012e-06/0.1317, allocations: 4 kB / 0.6473 GB, free: 6.086 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001188/0.1319, allocations: 79.25 kB / 0.6474 GB, free: 5.996 MB / 494.1 MB Notification: Performance of pre-optimization done (n=7): time 1.323e-06/0.1319, allocations: 4 kB / 0.6474 GB, free: 5.992 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.0001842/0.1321, allocations: 89.64 kB / 0.6475 GB, free: 5.898 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.214e-05/0.1321, allocations: 59.39 kB / 0.6475 GB, free: 5.828 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.69e-05/0.1322, allocations: 89.86 kB / 0.6476 GB, free: 5.73 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.001e-05/0.1322, allocations: 33.7 kB / 0.6476 GB, free: 5.691 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.665e-05/0.1323, allocations: 84.17 kB / 0.6477 GB, free: 5.605 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.753e-05/0.1323, allocations: 27.81 kB / 0.6477 GB, free: 5.578 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.91e-05/0.1323, allocations: 29.72 kB / 0.6478 GB, free: 5.543 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.86e-05/0.1324, allocations: 318.8 kB / 0.6481 GB, free: 5.223 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.834e-05/0.1325, allocations: 19.98 kB / 0.6481 GB, free: 5.203 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000115/0.1326, allocations: 69.94 kB / 0.6482 GB, free: 5.113 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001104/0.1327, allocations: 97.92 kB / 0.6482 GB, free: 4.996 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.1327, allocations: 4 kB / 0.6482 GB, free: 4.992 MB / 494.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000146/0.1329, allocations: 109.5 kB / 0.6484 GB, free: 4.879 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.1329, allocations: 9.5 kB / 0.6484 GB, free: 4.871 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.1329, allocations: 7.984 kB / 0.6484 GB, free: 4.863 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.1329, allocations: 4 kB / 0.6484 GB, free: 4.859 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.938e-05/0.133, allocations: 12 kB / 0.6484 GB, free: 4.848 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-06/0.133, allocations: 11.88 kB / 0.6484 GB, free: 4.836 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.198e-05/0.1331, allocations: 8.172 kB / 0.6484 GB, free: 4.828 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.127e-06/0.1331, allocations: 4 kB / 0.6484 GB, free: 4.824 MB / 494.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 0.0001461/0.1332, allocations: 126.6 kB / 0.6485 GB, free: 4.691 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.251e-05/0.1332, allocations: 7.938 kB / 0.6485 GB, free: 4.684 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.829e-05/0.1333, allocations: 3.969 kB / 0.6485 GB, free: 4.676 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.1333, allocations: 0 / 0.6485 GB, free: 4.676 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.1333, allocations: 0 / 0.6485 GB, free: 4.676 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.1333, allocations: 0 / 0.6485 GB, free: 4.676 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001153/0.1334, allocations: 165.6 kB / 0.6487 GB, free: 4.465 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.1334, allocations: 0 / 0.6487 GB, free: 4.465 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.286e-06/0.1334, allocations: 0 / 0.6487 GB, free: 4.465 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.1334, allocations: 3.938 kB / 0.6487 GB, free: 4.461 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.919e-06/0.1334, allocations: 8 kB / 0.6487 GB, free: 4.453 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.1335, allocations: 0 / 0.6487 GB, free: 4.453 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.1335, allocations: 0 / 0.6487 GB, free: 4.453 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001242/0.1336, allocations: 109 kB / 0.6488 GB, free: 4.328 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.677e-05/0.1336, allocations: 89.08 kB / 0.6489 GB, free: 4.223 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.788e-05/0.1337, allocations: 7.984 kB / 0.6489 GB, free: 4.215 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.157e-05/0.1337, allocations: 0 / 0.6489 GB, free: 4.215 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.728e-05/0.1337, allocations: 0 / 0.6489 GB, free: 4.215 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.342e-05/0.1337, allocations: 4 kB / 0.6489 GB, free: 4.211 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.394e-05/0.1337, allocations: 75.28 kB / 0.649 GB, free: 4.137 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1337, allocations: 0 / 0.649 GB, free: 4.137 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00022/0.134, allocations: 20 kB / 0.649 GB, free: 4.117 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.0001737/0.1341, allocations: 131.2 kB / 0.6491 GB, free: 3.98 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001236/0.1343, allocations: 51.92 kB / 0.6492 GB, free: 3.93 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.1343, allocations: 0 / 0.6492 GB, free: 3.93 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 3.386e-05/0.1343, allocations: 27.92 kB / 0.6492 GB, free: 3.902 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001274/0.1345, allocations: 4 kB / 0.6492 GB, free: 3.898 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002416/0.1347, allocations: 113.5 kB / 0.6493 GB, free: 3.762 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002276/0.1349, allocations: 0.6772 MB / 0.65 GB, free: 3.059 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.873e-05/0.135, allocations: 8 kB / 0.65 GB, free: 3.051 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.867e-05/0.135, allocations: 11.44 kB / 0.65 GB, free: 3.039 MB / 494.1 MB Notification: Performance of SimCode: time 7.063e-06/0.135, allocations: 0 / 0.65 GB, free: 3.039 MB / 494.1 MB Notification: Performance of Templates: time 0.002597/0.1376, allocations: 0.683 MB / 0.6507 GB, free: 2.402 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)