Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.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.AggregationWeightingFactors,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors",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.8506/0.8506, allocations: 141.8 MB / 149.3 MB, free: 9.211 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001315/0.001315, allocations: 180.9 kB / 182.2 MB, free: 9.441 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.455/1.455, allocations: 221.5 MB / 436.4 MB, free: 13.34 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.001153/0.001153, allocations: 93.78 kB / 0.5074 GB, free: 10.17 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001802/0.001802, allocations: 284.3 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.898e-05/1.901e-05, allocations: 4 kB / 0.6767 GB, free: 12.7 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.418/0.418, allocations: 82.78 MB / 0.7575 GB, free: 31.92 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.15/0.568, allocations: 110.1 MB / 0.865 GB, free: 1.715 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003226/0.5684, allocations: 103.9 kB / 0.8651 GB, free: 1.613 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01202/0.5805, allocations: 3.802 MB / 0.8688 GB, free: 13.81 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.723e-06/0.5805, allocations: 0 / 0.8688 GB, free: 13.81 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 7.874e-06/0.5805, allocations: 4 kB / 0.8688 GB, free: 13.81 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004201/0.5809, allocations: 394.1 kB / 0.8692 GB, free: 13.38 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.993e-05/0.581, allocations: 16.03 kB / 0.8692 GB, free: 13.36 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.432e-05/0.581, allocations: 3.906 kB / 0.8692 GB, free: 13.36 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001322/0.5812, allocations: 167.1 kB / 0.8694 GB, free: 13.16 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.415e-05/0.5812, allocations: 3.953 kB / 0.8694 GB, free: 13.15 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.011e-05/0.5812, allocations: 4 kB / 0.8694 GB, free: 13.15 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.298e-05/0.5813, allocations: 31.98 kB / 0.8694 GB, free: 13.12 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.228e-05/0.5814, allocations: 69.58 kB / 0.8695 GB, free: 13.04 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.5814, allocations: 0 / 0.8695 GB, free: 13.04 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.5814, allocations: 4 kB / 0.8695 GB, free: 13.04 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.605e-05/0.5815, allocations: 8 kB / 0.8695 GB, free: 13.03 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002086/0.5817, allocations: 158.2 kB / 0.8696 GB, free: 12.84 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 8.425e-05/0.5818, allocations: 58.56 kB / 0.8697 GB, free: 12.77 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.694e-05/0.5818, allocations: 40.88 kB / 0.8697 GB, free: 12.73 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 6.552e-06/0.5818, allocations: 4 kB / 0.8697 GB, free: 12.73 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.05e-05/0.5819, allocations: 38.45 kB / 0.8698 GB, free: 12.68 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=10): time 1.092e-06/0.5819, allocations: 0 / 0.8698 GB, free: 12.68 MB / 0.5417 GB Notification: Performance of matching and sorting (n=10): time 0.0002213/0.5821, allocations: 109.7 kB / 0.8699 GB, free: 12.57 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.914e-05/0.5821, allocations: 55.44 kB / 0.8699 GB, free: 12.5 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001103/0.5823, allocations: 124.9 kB / 0.87 GB, free: 12.37 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.511e-05/0.5823, allocations: 25.7 kB / 0.8701 GB, free: 12.34 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 5.494e-05/0.5823, allocations: 88.14 kB / 0.8701 GB, free: 12.25 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 4.51e-05/0.5824, allocations: 39.39 kB / 0.8702 GB, free: 12.21 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.178e-06/0.5824, allocations: 0 / 0.8702 GB, free: 12.21 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001211/0.5825, allocations: 318.8 kB / 0.8705 GB, free: 11.89 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.149e-05/0.5826, allocations: 35.97 kB / 0.8705 GB, free: 11.86 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.661e-05/0.5826, allocations: 31.98 kB / 0.8706 GB, free: 11.82 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.652e-05/0.5827, allocations: 43.91 kB / 0.8706 GB, free: 11.78 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.5827, allocations: 0 / 0.8706 GB, free: 11.78 MB / 0.5417 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001532/0.5829, allocations: 109.6 kB / 0.8707 GB, free: 11.67 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.5829, allocations: 4 kB / 0.8707 GB, free: 11.66 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/0.5829, allocations: 3.953 kB / 0.8707 GB, free: 11.66 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.5829, allocations: 0 / 0.8707 GB, free: 11.66 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.61e-07/0.5829, allocations: 4 kB / 0.8707 GB, free: 11.66 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.638e-06/0.5829, allocations: 0 / 0.8707 GB, free: 11.66 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.683e-05/0.583, allocations: 0 / 0.8707 GB, free: 11.66 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.1e-05/0.583, allocations: 4 kB / 0.8707 GB, free: 11.65 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 (1): * Single equations (assignments): 0 * Array equations: 1 * 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 prepare postOptimizeDAE: time 9.493e-05/0.5831, allocations: 109 kB / 0.8708 GB, free: 11.54 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001378/0.5832, allocations: 113.6 kB / 0.8709 GB, free: 11.42 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.271e-05/0.5833, allocations: 11.86 kB / 0.8709 GB, free: 11.41 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.475e-05/0.5833, allocations: 8.625 kB / 0.8709 GB, free: 11.4 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.818e-05/0.5833, allocations: 7.984 kB / 0.871 GB, free: 11.39 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.5833, allocations: 0 / 0.871 GB, free: 11.39 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.5833, allocations: 0 / 0.871 GB, free: 11.39 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001853/0.5835, allocations: 158.2 kB / 0.8711 GB, free: 11.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.5835, allocations: 0 / 0.8711 GB, free: 11.2 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.02e-07/0.5836, allocations: 4.031 kB / 0.8711 GB, free: 11.2 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.422e-06/0.5836, allocations: 0 / 0.8711 GB, free: 11.2 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.437e-05/0.5836, allocations: 7.953 kB / 0.8711 GB, free: 11.19 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.5836, allocations: 3.938 kB / 0.8711 GB, free: 11.18 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.624e-06/0.5836, allocations: 0 / 0.8711 GB, free: 11.18 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001726/0.5838, allocations: 133 kB / 0.8712 GB, free: 11.04 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 7.741e-05/0.5839, allocations: 81.02 kB / 0.8713 GB, free: 10.94 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.682e-05/0.5839, allocations: 3.984 kB / 0.8713 GB, free: 10.93 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.321e-05/0.5839, allocations: 7.984 kB / 0.8713 GB, free: 10.93 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.06e-05/0.5839, allocations: 4 kB / 0.8713 GB, free: 10.92 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.654e-06/0.5839, allocations: 4 kB / 0.8713 GB, free: 10.92 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 7.4e-05/0.584, allocations: 107.2 kB / 0.8714 GB, free: 10.81 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.593e-06/0.584, allocations: 0 / 0.8714 GB, free: 10.81 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003925/0.5844, allocations: 83.86 kB / 0.8715 GB, free: 10.73 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (1): * Single equations (assignments): 0 * Array equations: 1 * 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.0006711/0.5851, allocations: 0.7334 MB / 0.8722 GB, free: 9.969 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001347/0.5853, allocations: 67.86 kB / 0.8723 GB, free: 9.902 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/0.5853, allocations: 4 kB / 0.8723 GB, free: 9.898 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 3.177e-05/0.5853, allocations: 31.98 kB / 0.8723 GB, free: 9.867 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001181/0.5854, allocations: 9.672 kB / 0.8723 GB, free: 9.859 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004396/0.5859, allocations: 202.1 kB / 0.8725 GB, free: 9.625 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003074/0.5862, allocations: 0.7003 MB / 0.8732 GB, free: 8.898 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 4.051e-05/0.5862, allocations: 5.547 kB / 0.8732 GB, free: 8.895 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.138e-05/0.5863, allocations: 27.38 kB / 0.8733 GB, free: 8.867 MB / 0.5417 GB Notification: Performance of SimCode: time 2.61e-07/0.5863, allocations: 0 / 0.8733 GB, free: 8.867 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02133/0.6076, allocations: 2.295 MB / 0.8755 GB, free: 6.613 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002516/0.6079, allocations: 238.9 kB / 0.8757 GB, free: 6.324 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.56/2.168, allocations: 1.203 kB / 0.8757 GB, free: 6.324 MB / 0.5417 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe 2>&1)