Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.6945/0.6945, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001037/0.001037, allocations: 190.7 kB / 187.3 MB, free: 11.89 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.226/1.226, allocations: 221.3 MB / 441.4 MB, free: 4.605 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007725/0.0007724, allocations: 98.33 kB / 0.5124 GB, free: 24.16 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001643/0.001643, allocations: 273.8 kB / 0.5939 GB, free: 7.969 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.013e-05/3.025e-05, allocations: 4 kB / 0.6836 GB, free: 12.11 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3435/0.3435, allocations: 82.77 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1025/0.4461, allocations: 109.6 MB / 0.8714 GB, free: 14.92 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002445/0.4464, allocations: 107.9 kB / 0.8715 GB, free: 14.81 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.003403/0.4498, allocations: 1.329 MB / 0.8728 GB, free: 13.49 MB / 0.5417 GB Notification: Performance of FrontEnd: time 9.72e-07/0.4499, allocations: 4 kB / 0.8729 GB, free: 13.49 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 7.293e-06/0.4499, allocations: 0.5312 kB / 0.8729 GB, free: 13.49 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002359/0.4501, allocations: 341.3 kB / 0.8732 GB, free: 13.11 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.43e-05/0.4502, allocations: 8.031 kB / 0.8732 GB, free: 13.11 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.179e-05/0.4502, allocations: 34.56 kB / 0.8732 GB, free: 13.06 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.004e-05/0.4502, allocations: 3.906 kB / 0.8732 GB, free: 13.06 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001289/0.4504, allocations: 186.8 kB / 0.8734 GB, free: 12.84 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.883e-06/0.4504, allocations: 0 / 0.8734 GB, free: 12.84 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.712e-06/0.4504, allocations: 0 / 0.8734 GB, free: 12.84 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.679e-05/0.4505, allocations: 44.61 kB / 0.8734 GB, free: 12.78 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.643e-06/0.4505, allocations: 3.5 kB / 0.8734 GB, free: 12.78 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.833e-06/0.4505, allocations: 0 / 0.8734 GB, free: 12.78 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.4505, allocations: 4 kB / 0.8734 GB, free: 12.78 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.23e-05/0.4505, allocations: 11.92 kB / 0.8735 GB, free: 12.77 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001464/0.4507, allocations: 178.4 kB / 0.8736 GB, free: 12.54 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 4.321e-05/0.4507, allocations: 47.12 kB / 0.8737 GB, free: 12.48 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.918e-05/0.4508, allocations: 21.83 kB / 0.8737 GB, free: 12.45 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 9.508e-06/0.4508, allocations: 0 / 0.8737 GB, free: 12.45 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.672e-05/0.4508, allocations: 34.5 kB / 0.8737 GB, free: 12.41 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=2): time 8.41e-07/0.4508, allocations: 0 / 0.8737 GB, free: 12.41 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2): time 9.349e-05/0.4509, allocations: 41.77 kB / 0.8738 GB, free: 12.36 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.966e-05/0.451, allocations: 89.03 kB / 0.8739 GB, free: 12.25 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.005e-05/0.4511, allocations: 123.4 kB / 0.874 GB, free: 12.13 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.554e-05/0.4511, allocations: 29.7 kB / 0.874 GB, free: 12.09 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 2.808e-05/0.4511, allocations: 88.12 kB / 0.8741 GB, free: 12 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.222e-05/0.4511, allocations: 3.906 kB / 0.8741 GB, free: 12 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.475e-06/0.4511, allocations: 0 / 0.8741 GB, free: 12 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 8.42e-05/0.4512, allocations: 318.8 kB / 0.8744 GB, free: 11.68 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.663e-05/0.4513, allocations: 23.98 kB / 0.8744 GB, free: 11.66 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.605e-05/0.4513, allocations: 28 kB / 0.8744 GB, free: 11.63 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.993e-05/0.4513, allocations: 31.98 kB / 0.8745 GB, free: 11.6 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.4513, allocations: 0 / 0.8745 GB, free: 11.6 MB / 0.5417 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000114/0.4515, allocations: 100 kB / 0.8746 GB, free: 11.5 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/0.4515, allocations: 5.406 kB / 0.8746 GB, free: 11.49 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.305e-05/0.4515, allocations: 4 kB / 0.8746 GB, free: 11.49 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.027e-06/0.4515, allocations: 0 / 0.8746 GB, free: 11.49 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.811e-05/0.4516, allocations: 3.938 kB / 0.8746 GB, free: 11.48 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.4516, allocations: 4 kB / 0.8746 GB, free: 11.48 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.661e-05/0.4516, allocations: 7.844 kB / 0.8746 GB, free: 11.47 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.4516, allocations: 7.984 kB / 0.8746 GB, free: 11.46 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.005e-05/0.4517, allocations: 105 kB / 0.8747 GB, free: 11.36 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.175e-05/0.4517, allocations: 7.859 kB / 0.8747 GB, free: 11.35 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.649e-05/0.4517, allocations: 11.59 kB / 0.8747 GB, free: 11.34 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.4517, allocations: 8.078 kB / 0.8747 GB, free: 11.33 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.4517, allocations: 0 / 0.8747 GB, free: 11.33 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.823e-06/0.4517, allocations: 0 / 0.8747 GB, free: 11.33 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.804e-05/0.4518, allocations: 161.6 kB / 0.8749 GB, free: 11.12 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.4518, allocations: 0 / 0.8749 GB, free: 11.12 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.732e-05/0.4519, allocations: 11.94 kB / 0.8749 GB, free: 11.11 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.4519, allocations: 0 / 0.8749 GB, free: 11.11 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.573e-06/0.4519, allocations: 3.953 kB / 0.8749 GB, free: 11.11 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.4519, allocations: 3.984 kB / 0.8749 GB, free: 11.11 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.4519, allocations: 4 kB / 0.8749 GB, free: 11.1 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.35e-05/0.452, allocations: 75.66 kB / 0.875 GB, free: 11 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.186e-05/0.452, allocations: 96.98 kB / 0.8751 GB, free: 10.89 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.261e-05/0.452, allocations: 4 kB / 0.8751 GB, free: 10.88 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.578e-05/0.4521, allocations: 0 / 0.8751 GB, free: 10.88 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.333e-05/0.4521, allocations: 4 kB / 0.8751 GB, free: 10.88 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.603e-06/0.4521, allocations: 0 / 0.8751 GB, free: 10.88 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 5.426e-05/0.4521, allocations: 99.27 kB / 0.8752 GB, free: 10.78 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4521, allocations: 0 / 0.8752 GB, free: 10.78 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0001818/0.4523, allocations: 20 kB / 0.8752 GB, free: 10.76 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004213/0.4528, allocations: 0.7109 MB / 0.8759 GB, free: 10.01 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001346/0.4529, allocations: 81.67 kB / 0.876 GB, free: 9.926 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.4529, allocations: 4 kB / 0.876 GB, free: 9.922 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 1.245e-05/0.4529, allocations: 8.031 kB / 0.876 GB, free: 9.914 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.758e-05/0.453, allocations: 3.938 kB / 0.876 GB, free: 9.91 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003229/0.4534, allocations: 143.2 kB / 0.8761 GB, free: 9.73 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00025/0.4536, allocations: 0.6848 MB / 0.8768 GB, free: 9.02 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 1.849e-05/0.4537, allocations: 4 kB / 0.8768 GB, free: 9.016 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.838e-05/0.4537, allocations: 11.44 kB / 0.8768 GB, free: 9.004 MB / 0.5417 GB Notification: Performance of SimCode: time 2.9e-07/0.4537, allocations: 4.125 kB / 0.8768 GB, free: 9 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01122/0.4649, allocations: 1.458 MB / 0.8782 GB, free: 7.781 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001897/0.4651, allocations: 230.7 kB / 0.8784 GB, free: 7.516 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.418/1.883, allocations: 0 / 0.8784 GB, free: 7.516 MB / 0.5417 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe 2>&1)