Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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/BuildSysPro 3.5.0/package.mo): time 0.7333/0.7333, allocations: 127.3 MB / 139.8 MB, free: 15.48 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001099/0.001099, allocations: 188.8 kB / 169.7 MB, free: 1.746 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.728/1.728, allocations: 205.1 MB / 404.5 MB, free: 1.594 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009703/0.0009703, allocations: 81.97 kB / 481.8 MB, free: 4.246 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.62e-05/3.622e-05, allocations: 7.984 kB / 0.5533 GB, free: 54.69 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1665/0.1666, allocations: 76.76 MB / 0.6283 GB, free: 9.871 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5657/0.7324, allocations: 104.9 MB / 0.7307 GB, free: 8.5 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003612/0.7328, allocations: 108 kB / 0.7308 GB, free: 8.43 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01174/0.7445, allocations: 3.885 MB / 0.7346 GB, free: 4.988 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.7446, allocations: 0 / 0.7346 GB, free: 4.988 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.787e-06/0.7446, allocations: 4 kB / 0.7346 GB, free: 4.984 MB / 490.7 MB 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.0004192/0.745, allocations: 394.6 kB / 0.735 GB, free: 4.559 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.223e-05/0.7451, allocations: 12.02 kB / 0.735 GB, free: 4.547 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.249e-05/0.7451, allocations: 37.38 kB / 0.7351 GB, free: 4.504 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.804e-05/0.7452, allocations: 7.859 kB / 0.7351 GB, free: 4.496 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001408/0.7453, allocations: 167 kB / 0.7352 GB, free: 4.293 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.107e-05/0.7453, allocations: 0 / 0.7352 GB, free: 4.293 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.455e-05/0.7454, allocations: 4 kB / 0.7352 GB, free: 4.289 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001467/0.7455, allocations: 73.09 kB / 0.7353 GB, free: 4.215 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.7455, allocations: 4 kB / 0.7353 GB, free: 4.211 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.7456, allocations: 3.938 kB / 0.7353 GB, free: 4.207 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.888e-05/0.7456, allocations: 7.984 kB / 0.7353 GB, free: 4.199 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.921e-05/0.7457, allocations: 35.81 kB / 0.7353 GB, free: 4.168 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00024/0.7459, allocations: 180.6 kB / 0.7355 GB, free: 3.949 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.996e-05/0.746, allocations: 52.94 kB / 0.7356 GB, free: 3.895 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.248e-05/0.746, allocations: 42.81 kB / 0.7356 GB, free: 3.859 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.588e-06/0.7461, allocations: 8.188 kB / 0.7356 GB, free: 3.852 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.455e-05/0.7461, allocations: 38.48 kB / 0.7357 GB, free: 3.805 MB / 490.7 MB Notification: Performance of pre-optimization done (n=10): time 1.152e-06/0.7461, allocations: 0 / 0.7357 GB, free: 3.805 MB / 490.7 MB Notification: Performance of matching and sorting (n=10): time 0.000203/0.7463, allocations: 107.4 kB / 0.7358 GB, free: 3.699 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.38e-05/0.7464, allocations: 51.41 kB / 0.7358 GB, free: 3.637 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.657e-05/0.7465, allocations: 119.9 kB / 0.7359 GB, free: 3.52 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.546e-05/0.7465, allocations: 25.7 kB / 0.7359 GB, free: 3.488 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.57e-05/0.7465, allocations: 83.7 kB / 0.736 GB, free: 3.406 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.149e-05/0.7466, allocations: 42.73 kB / 0.7361 GB, free: 3.367 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.13e-06/0.7466, allocations: 0 / 0.7361 GB, free: 3.367 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001198/0.7467, allocations: 332.2 kB / 0.7364 GB, free: 3.039 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.215e-05/0.7468, allocations: 31.11 kB / 0.7364 GB, free: 3.012 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.074e-05/0.7468, allocations: 35.11 kB / 0.7364 GB, free: 2.98 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.112e-05/0.7469, allocations: 39.34 kB / 0.7365 GB, free: 2.945 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.7469, allocations: 0 / 0.7365 GB, free: 2.945 MB / 490.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001289/0.747, allocations: 112.6 kB / 0.7366 GB, free: 2.836 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.747, allocations: 4 kB / 0.7366 GB, free: 2.832 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.747, allocations: 4.062 kB / 0.7366 GB, free: 2.828 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.7471, allocations: 4 kB / 0.7366 GB, free: 2.824 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.12e-07/0.7471, allocations: 0 / 0.7366 GB, free: 2.824 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.7471, allocations: 0 / 0.7366 GB, free: 2.824 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.049e-05/0.7471, allocations: 7.906 kB / 0.7366 GB, free: 2.816 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.979e-05/0.7471, allocations: 4 kB / 0.7366 GB, free: 2.812 MB / 490.7 MB 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 7.164e-05/0.7472, allocations: 108.7 kB / 0.7367 GB, free: 2.699 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.138e-05/0.7472, allocations: 11.89 kB / 0.7367 GB, free: 2.688 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.64e-05/0.7473, allocations: 8.625 kB / 0.7367 GB, free: 2.684 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.667e-05/0.7473, allocations: 11.98 kB / 0.7367 GB, free: 2.672 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.7473, allocations: 0 / 0.7367 GB, free: 2.672 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.033e-06/0.7473, allocations: 0 / 0.7367 GB, free: 2.672 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001643/0.7475, allocations: 187.7 kB / 0.7369 GB, free: 2.445 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.7475, allocations: 0 / 0.7369 GB, free: 2.445 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.71e-07/0.7475, allocations: 0 / 0.7369 GB, free: 2.445 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.382e-06/0.7475, allocations: 0 / 0.7369 GB, free: 2.445 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.174e-06/0.7475, allocations: 0 / 0.7369 GB, free: 2.445 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.7475, allocations: 0 / 0.7369 GB, free: 2.445 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.7475, allocations: 3.984 kB / 0.7369 GB, free: 2.441 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001513/0.7477, allocations: 150.2 kB / 0.7371 GB, free: 2.285 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.818e-05/0.7477, allocations: 85.02 kB / 0.7372 GB, free: 2.184 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.677e-05/0.7477, allocations: 0 / 0.7372 GB, free: 2.184 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.122e-05/0.7478, allocations: 0 / 0.7372 GB, free: 2.184 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.676e-05/0.7478, allocations: 0 / 0.7372 GB, free: 2.184 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.674e-06/0.7478, allocations: 8 kB / 0.7372 GB, free: 2.176 MB / 490.7 MB Notification: Performance of sorting global known variables: time 6.172e-05/0.7479, allocations: 104.3 kB / 0.7373 GB, free: 2.082 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.7479, allocations: 3.938 kB / 0.7373 GB, free: 2.078 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0003163/0.7482, allocations: 79.92 kB / 0.7373 GB, free: 2 MB / 490.7 MB 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.0006968/0.7489, allocations: 0.7509 MB / 0.7381 GB, free: 1.23 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001098/0.749, allocations: 66.98 kB / 0.7381 GB, free: 1.176 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.749, allocations: 0 / 0.7381 GB, free: 1.176 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 3.215e-05/0.7491, allocations: 34.8 kB / 0.7382 GB, free: 1.148 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000102/0.7492, allocations: 4.156 kB / 0.7382 GB, free: 1.145 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004163/0.7496, allocations: 203.2 kB / 0.7384 GB, free: 0.9141 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002643/0.7499, allocations: 0.7004 MB / 0.7391 GB, free: 192 kB / 490.7 MB Notification: Performance of simCode: alias equations: time 4.008e-05/0.7499, allocations: 8.703 kB / 0.7391 GB, free: 184 kB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.86e-05/0.75, allocations: 21.23 kB / 0.7391 GB, free: 172 kB / 490.7 MB Notification: Performance of SimCode: time 2.81e-07/0.75, allocations: 3.938 kB / 0.7391 GB, free: 168 kB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01328/0.7633, allocations: 2.652 MB / 0.7417 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000207/0.7635, allocations: 232.4 kB / 0.7419 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.592/2.356, allocations: 3.859 kB / 0.7419 GB, free: 13.38 MB / 0.4948 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe 2>&1)