Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.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(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors,fileNamePrefix="IBPSA_latest_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001146/0.001146, allocations: 97.83 kB / 16.4 MB, free: 6.488 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.001195/0.001195, allocations: 195.8 kB / 17.34 MB, free: 5.754 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.286/1.286, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7074/0.7074, allocations: 115.3 MB / 406.5 MB, free: 6.184 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001189/0.001189, allocations: 62.59 kB / 0.5572 GB, free: 32.52 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1286/0.1298, allocations: 76.19 MB / 0.6316 GB, free: 4.91 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.002323/0.1322, allocations: 1.231 MB / 0.6328 GB, free: 3.668 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001418/0.1336, allocations: 0.8777 MB / 0.6337 GB, free: 2.781 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.048e-05/0.1337, allocations: 0 / 0.6337 GB, free: 2.781 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 2.711e-05/0.1337, allocations: 4 kB / 0.6337 GB, free: 2.777 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001118/0.1338, allocations: 27.97 kB / 0.6337 GB, free: 2.75 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007662/0.1346, allocations: 254.1 kB / 0.634 GB, free: 2.504 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 6.494e-05/0.1347, allocations: 31.91 kB / 0.634 GB, free: 2.473 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.569e-05/0.1347, allocations: 0 / 0.634 GB, free: 2.473 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.135e-05/0.1348, allocations: 19.97 kB / 0.634 GB, free: 2.453 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001306/0.1349, allocations: 51.94 kB / 0.6341 GB, free: 2.402 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 9.388e-06/0.1349, allocations: 4 kB / 0.6341 GB, free: 2.398 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004142/0.1353, allocations: 275.6 kB / 0.6343 GB, free: 2.129 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 4.758e-05/0.1354, allocations: 19.92 kB / 0.6343 GB, free: 2.109 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.72e-05/0.1354, allocations: 11.88 kB / 0.6344 GB, free: 2.098 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003297/0.1358, allocations: 246.3 kB / 0.6346 GB, free: 1.859 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.1358, allocations: 4 kB / 0.6346 GB, free: 1.855 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.1358, allocations: 4 kB / 0.6346 GB, free: 1.852 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.272e-06/0.1358, allocations: 0 / 0.6346 GB, free: 1.852 MB / 478.1 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.0004276/0.1362, allocations: 388.1 kB / 0.635 GB, free: 1.426 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.1363, allocations: 8.031 kB / 0.635 GB, free: 1.418 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.397e-05/0.1363, allocations: 34.75 kB / 0.635 GB, free: 1.375 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.89e-05/0.1364, allocations: 4.844 kB / 0.635 GB, free: 1.371 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000126/0.1365, allocations: 176.2 kB / 0.6352 GB, free: 1.16 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.73e-05/0.1365, allocations: 4.375 kB / 0.6352 GB, free: 1.156 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.338e-06/0.1366, allocations: 4.375 kB / 0.6352 GB, free: 1.152 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001321/0.1367, allocations: 61.75 kB / 0.6352 GB, free: 1.086 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.1367, allocations: 3.984 kB / 0.6353 GB, free: 1.082 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.204e-06/0.1367, allocations: 0 / 0.6353 GB, free: 1.082 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.39e-05/0.1368, allocations: 12 kB / 0.6353 GB, free: 1.07 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.831e-05/0.1368, allocations: 27.98 kB / 0.6353 GB, free: 1.043 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002133/0.137, allocations: 181.5 kB / 0.6355 GB, free: 0.8164 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.384e-05/0.1371, allocations: 50.58 kB / 0.6355 GB, free: 0.7578 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.884e-05/0.1371, allocations: 36.88 kB / 0.6355 GB, free: 0.7188 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.214e-06/0.1372, allocations: 4 kB / 0.6356 GB, free: 0.7148 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.3e-05/0.1372, allocations: 42.62 kB / 0.6356 GB, free: 0.6641 MB / 478.1 MB Notification: Performance of pre-optimization done (n=10): time 1.052e-06/0.1372, allocations: 0 / 0.6356 GB, free: 0.6641 MB / 478.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002162/0.1374, allocations: 125.8 kB / 0.6357 GB, free: 0.5352 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.551e-05/0.1375, allocations: 55.34 kB / 0.6358 GB, free: 480 kB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000107/0.1376, allocations: 137.7 kB / 0.6359 GB, free: 332 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.107e-05/0.1376, allocations: 29.64 kB / 0.6359 GB, free: 296 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.525e-05/0.1376, allocations: 92.17 kB / 0.636 GB, free: 200 kB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.982e-05/0.1377, allocations: 35.53 kB / 0.636 GB, free: 164 kB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.932e-05/0.1377, allocations: 17.72 kB / 0.6361 GB, free: 140 kB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001301/0.1379, allocations: 322.8 kB / 0.6364 GB, free: 15.81 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.701e-05/0.1379, allocations: 23.98 kB / 0.6364 GB, free: 15.79 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.443e-05/0.1379, allocations: 24 kB / 0.6364 GB, free: 15.77 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.817e-05/0.138, allocations: 76.81 kB / 0.6365 GB, free: 15.69 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.138, allocations: 0 / 0.6365 GB, free: 15.69 MB / 494.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001021/0.1381, allocations: 101.5 kB / 0.6366 GB, free: 15.58 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.1381, allocations: 8.062 kB / 0.6366 GB, free: 15.57 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.1381, allocations: 3.984 kB / 0.6366 GB, free: 15.57 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.1382, allocations: 0 / 0.6366 GB, free: 15.57 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.01e-07/0.1382, allocations: 3.938 kB / 0.6366 GB, free: 15.57 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.1382, allocations: 4 kB / 0.6366 GB, free: 15.56 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.565e-05/0.1382, allocations: 0 / 0.6366 GB, free: 15.56 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.759e-06/0.1382, allocations: 0 / 0.6366 GB, free: 15.56 MB / 494.1 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001021/0.1383, allocations: 121.8 kB / 0.6367 GB, free: 15.43 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.172e-05/0.1383, allocations: 7.844 kB / 0.6367 GB, free: 15.43 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.602e-05/0.1384, allocations: 12.38 kB / 0.6367 GB, free: 15.41 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.897e-05/0.1384, allocations: 15.98 kB / 0.6368 GB, free: 15.39 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.1384, allocations: 0 / 0.6368 GB, free: 15.39 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.1384, allocations: 3.984 kB / 0.6368 GB, free: 15.39 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001536/0.1386, allocations: 177.6 kB / 0.6369 GB, free: 15.16 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.1386, allocations: 96 / 0.6369 GB, free: 15.16 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.763e-06/0.1386, allocations: 11.81 kB / 0.6369 GB, free: 15.15 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.1386, allocations: 0 / 0.6369 GB, free: 15.15 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.504e-06/0.1386, allocations: 0 / 0.6369 GB, free: 15.15 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.776e-06/0.1386, allocations: 4 kB / 0.6369 GB, free: 15.15 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.1386, allocations: 0 / 0.6369 GB, free: 15.15 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001354/0.1387, allocations: 121 kB / 0.6371 GB, free: 15.01 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.873e-05/0.1388, allocations: 88.95 kB / 0.6371 GB, free: 14.91 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.594e-05/0.1388, allocations: 4 kB / 0.6371 GB, free: 14.9 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.468e-05/0.1388, allocations: 3.984 kB / 0.6372 GB, free: 14.9 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.184e-05/0.1389, allocations: 3.938 kB / 0.6372 GB, free: 14.89 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.612e-06/0.1389, allocations: 4 kB / 0.6372 GB, free: 14.89 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.777e-05/0.1389, allocations: 99.27 kB / 0.6373 GB, free: 14.79 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.139, allocations: 4.031 kB / 0.6373 GB, free: 14.79 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003444/0.1393, allocations: 75.98 kB / 0.6373 GB, free: 14.71 MB / 494.1 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 () * Number of clocked 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 (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.0006974/0.14, allocations: 0.7294 MB / 0.638 GB, free: 13.96 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001205/0.1401, allocations: 71.91 kB / 0.6381 GB, free: 13.89 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.1401, allocations: 8.031 kB / 0.6381 GB, free: 13.88 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 4.452e-05/0.1402, allocations: 35.98 kB / 0.6382 GB, free: 13.84 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001459/0.1404, allocations: 0.6562 kB / 0.6382 GB, free: 13.84 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005054/0.1409, allocations: 247.9 kB / 0.6384 GB, free: 13.56 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002664/0.1411, allocations: 0.7001 MB / 0.6391 GB, free: 12.83 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.32e-05/0.1412, allocations: 8.062 kB / 0.6391 GB, free: 12.82 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.105e-05/0.1412, allocations: 23.38 kB / 0.6391 GB, free: 12.8 MB / 494.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1412, allocations: 0 / 0.6391 GB, free: 12.8 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01978/0.161, allocations: 2.825 MB / 0.6419 GB, free: 10.18 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.427/7.588, allocations: 20.14 kB / 0.6419 GB, free: 10.16 MB / 494.1 MB (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors.fmu > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe 2>&1)