Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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.ShiftAggregationCells,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001087/0.001087, allocations: 110.5 kB / 16.42 MB, free: 6.516 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.001053/0.001053, allocations: 186.7 kB / 17.35 MB, free: 5.734 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.349/1.349, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002147/0.002147, allocations: 279.6 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9523/0.9523, allocations: 169.3 MB / 0.499 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002015/0.002015, allocations: 99.84 kB / 0.6822 GB, free: 6.895 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4251/0.4271, allocations: 86.98 MB / 0.7671 GB, free: 3.871 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.002132/0.4293, allocations: 1.245 MB / 0.7683 GB, free: 2.617 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0009322/0.4303, allocations: 488.6 kB / 0.7688 GB, free: 2.137 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.049e-05/0.4303, allocations: 0 / 0.7688 GB, free: 2.137 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.953e-05/0.4303, allocations: 0 / 0.7688 GB, free: 2.137 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.177e-05/0.4304, allocations: 0 / 0.7688 GB, free: 2.137 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003572/0.4308, allocations: 51.81 kB / 0.7688 GB, free: 2.086 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.114e-05/0.4308, allocations: 15.98 kB / 0.7688 GB, free: 2.07 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.599e-05/0.4309, allocations: 0 / 0.7688 GB, free: 2.07 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.341e-05/0.4309, allocations: 7.938 kB / 0.7689 GB, free: 2.062 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4e-05/0.431, allocations: 15.97 kB / 0.7689 GB, free: 2.047 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.398e-06/0.431, allocations: 0 / 0.7689 GB, free: 2.047 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001531/0.4311, allocations: 63.86 kB / 0.7689 GB, free: 1.984 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.951e-05/0.4312, allocations: 11.98 kB / 0.7689 GB, free: 1.973 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.11e-05/0.4312, allocations: 11.94 kB / 0.7689 GB, free: 1.961 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001365/0.4314, allocations: 59.56 kB / 0.769 GB, free: 1.906 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.4314, allocations: 0 / 0.769 GB, free: 1.906 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.256e-06/0.4314, allocations: 0 / 0.769 GB, free: 1.906 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.4314, allocations: 3.938 kB / 0.769 GB, free: 1.902 MB / 0.5294 GB 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.0003432/0.4318, allocations: 339.5 kB / 0.7693 GB, free: 1.523 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.4318, allocations: 8.031 kB / 0.7693 GB, free: 1.516 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.472e-05/0.4318, allocations: 0.9375 kB / 0.7693 GB, free: 1.516 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.597e-05/0.4319, allocations: 164.4 kB / 0.7695 GB, free: 1.316 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.201e-05/0.432, allocations: 4.375 kB / 0.7695 GB, free: 1.312 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.2e-05/0.432, allocations: 4.375 kB / 0.7695 GB, free: 1.309 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001065/0.4321, allocations: 61.86 kB / 0.7696 GB, free: 1.242 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.242e-06/0.4321, allocations: 0 / 0.7696 GB, free: 1.242 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.435e-06/0.4321, allocations: 0 / 0.7696 GB, free: 1.242 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.4321, allocations: 0 / 0.7696 GB, free: 1.242 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.746e-05/0.4322, allocations: 15.94 kB / 0.7696 GB, free: 1.227 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001478/0.4323, allocations: 156.2 kB / 0.7697 GB, free: 1.027 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 4.464e-05/0.4324, allocations: 30.64 kB / 0.7698 GB, free: 0.9883 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.521e-05/0.4324, allocations: 24.94 kB / 0.7698 GB, free: 0.9609 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 5.15e-06/0.4324, allocations: 4 kB / 0.7698 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001196/0.4325, allocations: 67.34 kB / 0.7699 GB, free: 0.8789 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=7): time 1.263e-06/0.4326, allocations: 0 / 0.7699 GB, free: 0.8789 MB / 0.5294 GB Notification: Performance of matching and sorting (n=7): time 0.000199/0.4328, allocations: 101.6 kB / 0.7699 GB, free: 0.7734 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.198e-05/0.4328, allocations: 59.39 kB / 0.77 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.539e-05/0.4328, allocations: 93.77 kB / 0.7701 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.966e-05/0.4329, allocations: 33.7 kB / 0.7701 GB, free: 0.5625 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.699e-05/0.4329, allocations: 80.14 kB / 0.7702 GB, free: 492 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.407e-05/0.4329, allocations: 11.91 kB / 0.7702 GB, free: 480 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.191e-05/0.433, allocations: 29.7 kB / 0.7702 GB, free: 444 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001067/0.4331, allocations: 322.9 kB / 0.7706 GB, free: 112 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.067e-05/0.4331, allocations: 19.98 kB / 0.7706 GB, free: 92 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.913e-05/0.4332, allocations: 61.98 kB / 0.7706 GB, free: 8 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001293/0.4334, allocations: 97.95 kB / 0.7707 GB, free: 15.89 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.4334, allocations: 0 / 0.7707 GB, free: 15.89 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.00017/0.4335, allocations: 125.5 kB / 0.7708 GB, free: 15.76 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.4336, allocations: 10.28 kB / 0.7709 GB, free: 15.75 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.4336, allocations: 0 / 0.7709 GB, free: 15.75 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.4336, allocations: 4 kB / 0.7709 GB, free: 15.75 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.981e-05/0.4337, allocations: 19.92 kB / 0.7709 GB, free: 15.73 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.4337, allocations: 0 / 0.7709 GB, free: 15.73 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.442e-05/0.4338, allocations: 7.938 kB / 0.7709 GB, free: 15.72 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.121e-05/0.4338, allocations: 8 kB / 0.7709 GB, free: 15.71 MB / 0.545 GB 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.196e-05/0.4339, allocations: 127.8 kB / 0.771 GB, free: 15.58 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.228e-05/0.4339, allocations: 15.83 kB / 0.771 GB, free: 15.56 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.018e-05/0.4339, allocations: 3.969 kB / 0.771 GB, free: 15.55 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.4339, allocations: 0 / 0.771 GB, free: 15.55 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.4339, allocations: 0 / 0.771 GB, free: 15.55 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.13e-05/0.434, allocations: 85.05 kB / 0.7711 GB, free: 15.45 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.917e-05/0.434, allocations: 8 kB / 0.7711 GB, free: 15.45 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.274e-05/0.434, allocations: 0 / 0.7711 GB, free: 15.45 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.742e-05/0.434, allocations: 3.984 kB / 0.7711 GB, free: 15.44 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000134/0.4342, allocations: 153 kB / 0.7713 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001657/0.4343, allocations: 258.8 kB / 0.7715 GB, free: 15.02 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.948e-05/0.4344, allocations: 19.94 kB / 0.7715 GB, free: 15 MB / 0.545 GB Notification: Performance of sorting global known variables: time 2.703e-05/0.4344, allocations: 79.27 kB / 0.7716 GB, free: 14.92 MB / 0.545 GB Notification: Performance of Backend: time 5.41e-07/0.4344, allocations: 0 / 0.7716 GB, free: 14.92 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004749/0.4349, allocations: 146.9 kB / 0.7718 GB, free: 14.77 MB / 0.545 GB Notification: Performance of SimCode: time 0.0004071/0.4353, allocations: 0.5493 MB / 0.7723 GB, free: 14.18 MB / 0.545 GB Notification: Performance of Templates: time 0.00308/0.4384, allocations: 0.6976 MB / 0.773 GB, free: 13.54 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe 2>&1)