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.001401/0.0014, allocations: 115.1 kB / 17.09 MB, free: 5.996 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.001479/0.00148, allocations: 188.7 kB / 18.01 MB, free: 5.078 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.268/1.268, 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.6931/0.6931, allocations: 115.3 MB / 407.2 MB, free: 6.148 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001158/0.001158, allocations: 69.59 kB / 0.5584 GB, free: 32.18 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1353/0.1364, allocations: 76.18 MB / 0.6328 GB, free: 4.402 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.002047/0.1385, allocations: 1.233 MB / 0.634 GB, free: 3.16 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007934/0.1393, allocations: 491.1 kB / 0.6344 GB, free: 2.676 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.119e-05/0.1394, allocations: 0 / 0.6344 GB, free: 2.676 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 2.607e-05/0.1394, allocations: 0 / 0.6344 GB, free: 2.676 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 6.549e-05/0.1395, allocations: 0 / 0.6344 GB, free: 2.676 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003234/0.1398, allocations: 51.88 kB / 0.6345 GB, free: 2.625 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 5.627e-05/0.1399, allocations: 11.98 kB / 0.6345 GB, free: 2.613 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.926e-05/0.1399, allocations: 7.938 kB / 0.6345 GB, free: 2.605 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.367e-05/0.1399, allocations: 15.91 kB / 0.6345 GB, free: 2.59 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.412e-05/0.14, allocations: 4 kB / 0.6345 GB, free: 2.586 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 8.846e-06/0.14, allocations: 4 kB / 0.6345 GB, free: 2.582 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001495/0.1401, allocations: 63.86 kB / 0.6346 GB, free: 2.52 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 5.179e-05/0.1402, allocations: 15.98 kB / 0.6346 GB, free: 2.504 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 4.212e-05/0.1403, allocations: 7.938 kB / 0.6346 GB, free: 2.496 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001273/0.1404, allocations: 51.91 kB / 0.6347 GB, free: 2.445 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.1404, allocations: 0 / 0.6347 GB, free: 2.445 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.175e-06/0.1404, allocations: 0 / 0.6347 GB, free: 2.445 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.939e-06/0.1404, allocations: 0 / 0.6347 GB, free: 2.445 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.0003523/0.1408, allocations: 347.5 kB / 0.635 GB, free: 2.059 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.409e-05/0.1408, allocations: 15.97 kB / 0.635 GB, free: 2.043 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.373e-05/0.1409, allocations: 8.844 kB / 0.635 GB, free: 2.035 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.887e-05/0.1409, allocations: 160.4 kB / 0.6352 GB, free: 1.84 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.919e-06/0.141, allocations: 384 / 0.6352 GB, free: 1.84 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.609e-05/0.141, allocations: 4.375 kB / 0.6352 GB, free: 1.836 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001108/0.1411, allocations: 57.92 kB / 0.6352 GB, free: 1.773 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.402e-06/0.1411, allocations: 3.938 kB / 0.6352 GB, free: 1.77 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.327e-06/0.1411, allocations: 0 / 0.6352 GB, free: 1.77 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-06/0.1411, allocations: 4 kB / 0.6352 GB, free: 1.766 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.427e-05/0.1412, allocations: 4 kB / 0.6353 GB, free: 1.762 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001398/0.1413, allocations: 161.7 kB / 0.6354 GB, free: 1.555 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.988e-05/0.1414, allocations: 30.58 kB / 0.6354 GB, free: 1.516 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.271e-05/0.1414, allocations: 24.88 kB / 0.6355 GB, free: 1.488 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.082e-06/0.1414, allocations: 0 / 0.6355 GB, free: 1.488 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001214/0.1415, allocations: 67.33 kB / 0.6355 GB, free: 1.41 MB / 478.1 MB Notification: Performance of pre-optimization done (n=7): time 1.142e-06/0.1415, allocations: 4 kB / 0.6355 GB, free: 1.406 MB / 478.1 MB Notification: Performance of matching and sorting (n=7): time 0.0001869/0.1417, allocations: 89.69 kB / 0.6356 GB, free: 1.312 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.197e-05/0.1418, allocations: 59.39 kB / 0.6357 GB, free: 1.242 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.949e-05/0.1418, allocations: 97.77 kB / 0.6358 GB, free: 1.137 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.708e-05/0.1419, allocations: 33.64 kB / 0.6358 GB, free: 1.098 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.022e-05/0.1419, allocations: 80.14 kB / 0.6359 GB, free: 1.016 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.269e-05/0.1419, allocations: 15.84 kB / 0.6359 GB, free: 1 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.882e-05/0.142, allocations: 29.7 kB / 0.6359 GB, free: 0.9648 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.81e-05/0.1421, allocations: 322.9 kB / 0.6362 GB, free: 0.6406 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.744e-05/0.1421, allocations: 23.97 kB / 0.6362 GB, free: 0.6172 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.707e-05/0.1422, allocations: 62 kB / 0.6363 GB, free: 0.5352 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001053/0.1423, allocations: 97.92 kB / 0.6364 GB, free: 428 kB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.1423, allocations: 0 / 0.6364 GB, free: 428 kB / 478.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001442/0.1424, allocations: 121.6 kB / 0.6365 GB, free: 300 kB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.1425, allocations: 13.97 kB / 0.6365 GB, free: 288 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.1425, allocations: 4 kB / 0.6365 GB, free: 284 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.1425, allocations: 0 / 0.6365 GB, free: 284 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.197e-05/0.1426, allocations: 15.98 kB / 0.6365 GB, free: 268 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/0.1426, allocations: 3.938 kB / 0.6365 GB, free: 264 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.633e-05/0.1426, allocations: 8 kB / 0.6366 GB, free: 256 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.488e-06/0.1426, allocations: 4 kB / 0.6366 GB, free: 252 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 8.404e-05/0.1427, allocations: 133.7 kB / 0.6367 GB, free: 108 kB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.005e-05/0.1427, allocations: 7.938 kB / 0.6367 GB, free: 100 kB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.477e-05/0.1428, allocations: 3.969 kB / 0.6367 GB, free: 88 kB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.1428, allocations: 4 kB / 0.6367 GB, free: 84 kB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.1428, allocations: 0 / 0.6367 GB, free: 84 kB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.1428, allocations: 0 / 0.6367 GB, free: 84 kB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001178/0.1429, allocations: 161.6 kB / 0.6369 GB, free: 15.88 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.1429, allocations: 0 / 0.6369 GB, free: 15.88 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.216e-06/0.1429, allocations: 0 / 0.6369 GB, free: 15.88 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.1429, allocations: 3.938 kB / 0.6369 GB, free: 15.87 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.533e-06/0.143, allocations: 0 / 0.6369 GB, free: 15.87 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.143, allocations: 8 kB / 0.6369 GB, free: 15.86 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.143, allocations: 7.875 kB / 0.6369 GB, free: 15.86 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001104/0.1431, allocations: 101.1 kB / 0.637 GB, free: 15.74 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.928e-05/0.1431, allocations: 81.05 kB / 0.637 GB, free: 15.64 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.626e-05/0.1431, allocations: 4 kB / 0.6371 GB, free: 15.64 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.618e-05/0.1432, allocations: 3.984 kB / 0.6371 GB, free: 15.63 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.079e-05/0.1432, allocations: 4 kB / 0.6371 GB, free: 15.63 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.116e-05/0.1432, allocations: 0 / 0.6371 GB, free: 15.63 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.414e-05/0.1432, allocations: 79.31 kB / 0.6371 GB, free: 15.55 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1432, allocations: 4 kB / 0.6371 GB, free: 15.55 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002207/0.1435, allocations: 16 kB / 0.6372 GB, free: 15.53 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.0001699/0.1436, allocations: 127.2 kB / 0.6373 GB, free: 15.4 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001214/0.1438, allocations: 59.84 kB / 0.6373 GB, free: 15.34 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.1438, allocations: 448 / 0.6373 GB, free: 15.34 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.914e-05/0.1438, allocations: 20 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.0001296/0.144, allocations: 7.484 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.0002718/0.1442, allocations: 143.2 kB / 0.6375 GB, free: 15.14 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002125/0.1445, 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.244e-05/0.1445, allocations: 7.438 kB / 0.6382 GB, free: 14.43 MB / 494.1 MB Notification: Performance of SimCode: time 2.01e-07/0.1445, allocations: 0 / 0.6382 GB, free: 14.43 MB / 494.1 MB Notification: Performance of Templates: time 0.002044/0.1465, allocations: 0.83 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)