Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.6.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_ShiftAggregationCells",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_ShiftAggregationCells",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007191/0.007191, allocations: 100.9 kB / 15.73 MB, free: 6.062 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.001903/0.001903, allocations: 195.3 kB / 16.67 MB, free: 5.973 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.373/1.373, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo): time 0.9106/0.9106, allocations: 143.3 MB / 433.9 MB, free: 11.77 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001844/0.001844, allocations: 64.12 kB / 0.5954 GB, free: 12.6 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1431/0.1449, allocations: 82.05 MB / 0.6755 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.002271/0.1472, allocations: 1.235 MB / 0.6767 GB, free: 9.355 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0008632/0.1481, allocations: 495 kB / 0.6772 GB, free: 8.867 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.684e-05/0.1481, allocations: 0 / 0.6772 GB, free: 8.867 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.92e-05/0.1482, allocations: 0 / 0.6772 GB, free: 8.867 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.441e-05/0.1482, allocations: 8 kB / 0.6772 GB, free: 8.859 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003013/0.1485, allocations: 51.8 kB / 0.6772 GB, free: 8.809 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 5.329e-05/0.1486, allocations: 8 kB / 0.6772 GB, free: 8.801 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 3.692e-05/0.1487, allocations: 4 kB / 0.6772 GB, free: 8.797 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 2.18e-05/0.1487, allocations: 7.984 kB / 0.6772 GB, free: 8.789 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 3.953e-05/0.1487, allocations: 11.92 kB / 0.6772 GB, free: 8.777 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 9.057e-06/0.1487, allocations: 0 / 0.6772 GB, free: 8.777 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001688/0.1489, allocations: 67.86 kB / 0.6773 GB, free: 8.711 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 4.612e-05/0.149, allocations: 7.984 kB / 0.6773 GB, free: 8.703 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 4.165e-05/0.149, allocations: 8 kB / 0.6773 GB, free: 8.695 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001349/0.1492, allocations: 70.45 kB / 0.6774 GB, free: 8.629 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.1492, allocations: 3.938 kB / 0.6774 GB, free: 8.625 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.233e-06/0.1492, allocations: 0 / 0.6774 GB, free: 8.625 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.098e-06/0.1492, allocations: 0 / 0.6774 GB, free: 8.625 MB / 0.5137 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.0003925/0.1496, allocations: 339.4 kB / 0.6777 GB, free: 8.246 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.306e-05/0.1496, allocations: 8.031 kB / 0.6777 GB, free: 8.238 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.606e-05/0.1497, allocations: 30.75 kB / 0.6778 GB, free: 8.199 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.38e-05/0.1497, allocations: 8.875 kB / 0.6778 GB, free: 8.191 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001162/0.1498, allocations: 172.4 kB / 0.6779 GB, free: 7.984 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.113e-06/0.1498, allocations: 384 / 0.6779 GB, free: 7.984 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.352e-05/0.1499, allocations: 4.375 kB / 0.6779 GB, free: 7.98 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001109/0.15, allocations: 49.81 kB / 0.678 GB, free: 7.926 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/0.15, allocations: 0 / 0.678 GB, free: 7.926 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.596e-06/0.15, allocations: 4 kB / 0.678 GB, free: 7.922 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.306e-06/0.15, allocations: 0 / 0.678 GB, free: 7.922 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.83e-05/0.15, allocations: 8 kB / 0.678 GB, free: 7.914 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001555/0.1502, allocations: 153.6 kB / 0.6781 GB, free: 7.715 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 6.086e-05/0.1503, allocations: 46.56 kB / 0.6782 GB, free: 7.66 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.84e-05/0.1503, allocations: 16.95 kB / 0.6782 GB, free: 7.641 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 6.693e-06/0.1503, allocations: 0 / 0.6782 GB, free: 7.641 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001379/0.1505, allocations: 67.33 kB / 0.6783 GB, free: 7.562 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=7): time 1.342e-06/0.1505, allocations: 0 / 0.6783 GB, free: 7.562 MB / 0.5137 GB Notification: Performance of matching and sorting (n=7): time 0.0002095/0.1507, allocations: 105.8 kB / 0.6784 GB, free: 7.453 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.61e-05/0.1507, allocations: 59.44 kB / 0.6784 GB, free: 7.383 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.081e-05/0.1508, allocations: 93.86 kB / 0.6785 GB, free: 7.281 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.2e-05/0.1508, allocations: 29.7 kB / 0.6785 GB, free: 7.246 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.827e-05/0.1509, allocations: 80.14 kB / 0.6786 GB, free: 7.164 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.973e-05/0.1509, allocations: 23.83 kB / 0.6786 GB, free: 7.141 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.216e-05/0.151, allocations: 25.72 kB / 0.6787 GB, free: 7.109 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001433/0.1511, allocations: 322.8 kB / 0.679 GB, free: 6.785 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.104e-05/0.1512, allocations: 19.98 kB / 0.679 GB, free: 6.766 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.679e-05/0.1512, allocations: 69.98 kB / 0.6791 GB, free: 6.676 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001371/0.1514, allocations: 101.9 kB / 0.6792 GB, free: 6.555 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/0.1514, allocations: 4 kB / 0.6792 GB, free: 6.551 MB / 0.5137 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001684/0.1516, allocations: 113.5 kB / 0.6793 GB, free: 6.434 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/0.1516, allocations: 4 kB / 0.6793 GB, free: 6.43 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.615e-06/0.1516, allocations: 4.219 kB / 0.6793 GB, free: 6.426 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.1516, allocations: 4 kB / 0.6793 GB, free: 6.422 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.99e-05/0.1517, allocations: 15.94 kB / 0.6793 GB, free: 6.406 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.1517, allocations: 0 / 0.6793 GB, free: 6.406 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.307e-05/0.1518, allocations: 7.953 kB / 0.6793 GB, free: 6.398 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.101e-05/0.1518, allocations: 8 kB / 0.6793 GB, free: 6.391 MB / 0.5137 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 0.0001023/0.1519, allocations: 125.8 kB / 0.6794 GB, free: 6.258 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.104e-05/0.1519, allocations: 7.875 kB / 0.6794 GB, free: 6.25 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.167e-05/0.1519, allocations: 11.97 kB / 0.6794 GB, free: 6.238 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.1519, allocations: 4 kB / 0.6794 GB, free: 6.234 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.152, allocations: 0 / 0.6794 GB, free: 6.234 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.152, allocations: 0 / 0.6794 GB, free: 6.234 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001426/0.1521, allocations: 157.6 kB / 0.6796 GB, free: 6.031 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.1521, allocations: 0 / 0.6796 GB, free: 6.031 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.731e-06/0.1521, allocations: 3.938 kB / 0.6796 GB, free: 6.027 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.029e-06/0.1521, allocations: 0 / 0.6796 GB, free: 6.027 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.382e-06/0.1521, allocations: 3.938 kB / 0.6796 GB, free: 6.023 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.1522, allocations: 4 kB / 0.6796 GB, free: 6.02 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.1522, allocations: 3.984 kB / 0.6796 GB, free: 6.016 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001449/0.1523, allocations: 105.1 kB / 0.6797 GB, free: 5.895 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.348e-05/0.1524, allocations: 81.05 kB / 0.6798 GB, free: 5.797 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.627e-05/0.1524, allocations: 7.984 kB / 0.6798 GB, free: 5.789 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.731e-05/0.1524, allocations: 8 kB / 0.6798 GB, free: 5.781 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.086e-05/0.1524, allocations: 3.984 kB / 0.6798 GB, free: 5.777 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.471e-05/0.1524, allocations: 4 kB / 0.6798 GB, free: 5.773 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.968e-05/0.1525, allocations: 79.22 kB / 0.6799 GB, free: 5.695 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.1525, allocations: 0 / 0.6799 GB, free: 5.695 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002354/0.1527, allocations: 20.03 kB / 0.6799 GB, free: 5.676 MB / 0.5137 GB 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.0005397/0.1533, allocations: 0.6709 MB / 0.6806 GB, free: 4.977 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001357/0.1534, allocations: 52.33 kB / 0.6806 GB, free: 4.926 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1534, allocations: 4.062 kB / 0.6806 GB, free: 4.922 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 3.71e-05/0.1535, allocations: 23.92 kB / 0.6806 GB, free: 4.898 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001279/0.1536, allocations: 0 / 0.6806 GB, free: 4.898 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003909/0.154, allocations: 159 kB / 0.6808 GB, free: 4.703 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003142/0.1543, allocations: 0.6729 MB / 0.6814 GB, free: 4.004 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.226e-05/0.1544, allocations: 7.984 kB / 0.6815 GB, free: 3.996 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.035e-05/0.1544, allocations: 15.44 kB / 0.6815 GB, free: 3.98 MB / 0.5137 GB Notification: Performance of SimCode: time 3.51e-07/0.1544, allocations: 4.062 kB / 0.6815 GB, free: 3.977 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.739/0.8935, allocations: 1.608 MB / 0.683 GB, free: 2.578 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.961/8.855, allocations: 12.17 kB / 0.6831 GB, free: 2.566 MB / 0.5137 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_ShiftAggregationCells_fmu --startTime=3.5 --stopTime=5.5 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_ShiftAggregationCells.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe 2>&1)