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.00111/0.00111, allocations: 103 kB / 16.4 MB, free: 6.508 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.001033/0.001033, allocations: 193.2 kB / 17.34 MB, free: 5.742 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.281/1.281, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6808/0.6808, allocations: 115.3 MB / 406.5 MB, free: 6.145 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001338/0.001338, allocations: 69.47 kB / 0.5572 GB, free: 32.45 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1323/0.1337, allocations: 76.17 MB / 0.6316 GB, free: 4.902 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.002257/0.136, allocations: 1.241 MB / 0.6328 GB, free: 3.652 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001421/0.1374, allocations: 0.8737 MB / 0.6337 GB, free: 2.77 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.947e-05/0.1375, allocations: 0 / 0.6337 GB, free: 2.77 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 3.31e-05/0.1376, allocations: 4 kB / 0.6337 GB, free: 2.766 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001085/0.1377, allocations: 31.95 kB / 0.6337 GB, free: 2.734 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008415/0.1385, allocations: 250 kB / 0.634 GB, free: 2.492 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 8.165e-05/0.1386, allocations: 27.91 kB / 0.634 GB, free: 2.465 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.877e-05/0.1387, allocations: 8 kB / 0.634 GB, free: 2.457 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.84e-05/0.1387, allocations: 19.97 kB / 0.634 GB, free: 2.438 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001386/0.1388, allocations: 47.94 kB / 0.6341 GB, free: 2.391 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 8.847e-06/0.1389, allocations: 0 / 0.6341 GB, free: 2.391 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004344/0.1393, allocations: 279.6 kB / 0.6343 GB, free: 2.117 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 4.483e-05/0.1394, allocations: 19.92 kB / 0.6343 GB, free: 2.098 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.482e-05/0.1394, allocations: 11.88 kB / 0.6344 GB, free: 2.086 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000336/0.1397, allocations: 242.3 kB / 0.6346 GB, free: 1.852 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.1397, allocations: 0 / 0.6346 GB, free: 1.852 MB / 478.1 MB Notification: Performance of FrontEnd: time 3.096e-06/0.1397, allocations: 0 / 0.6346 GB, free: 1.852 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.1398, allocations: 3.938 kB / 0.6346 GB, free: 1.848 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.0004082/0.1402, allocations: 388.1 kB / 0.635 GB, free: 1.422 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.1402, allocations: 12.03 kB / 0.635 GB, free: 1.41 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.488e-05/0.1403, allocations: 34.75 kB / 0.635 GB, free: 1.367 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.691e-05/0.1403, allocations: 8.844 kB / 0.635 GB, free: 1.359 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001091/0.1404, allocations: 176.2 kB / 0.6352 GB, free: 1.148 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.032e-05/0.1404, allocations: 384 / 0.6352 GB, free: 1.148 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.342e-06/0.1404, allocations: 384 / 0.6352 GB, free: 1.148 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000116/0.1405, allocations: 61.81 kB / 0.6352 GB, free: 1.082 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.355e-06/0.1406, allocations: 0 / 0.6352 GB, free: 1.082 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.154e-06/0.1406, allocations: 3.938 kB / 0.6352 GB, free: 1.078 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.103e-05/0.1406, allocations: 11.98 kB / 0.6353 GB, free: 1.066 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.431e-05/0.1407, allocations: 28 kB / 0.6353 GB, free: 1.039 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001919/0.1408, allocations: 181.5 kB / 0.6355 GB, free: 0.8125 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.012e-05/0.1409, allocations: 54.5 kB / 0.6355 GB, free: 0.75 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.701e-05/0.141, allocations: 40.88 kB / 0.6356 GB, free: 0.707 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.786e-06/0.141, allocations: 3.984 kB / 0.6356 GB, free: 0.7031 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.389e-05/0.141, allocations: 34.69 kB / 0.6356 GB, free: 0.6602 MB / 478.1 MB Notification: Performance of pre-optimization done (n=10): time 1.332e-06/0.141, allocations: 7.938 kB / 0.6356 GB, free: 0.6523 MB / 478.1 MB Notification: Performance of matching and sorting (n=10): time 0.0001996/0.1412, allocations: 129.6 kB / 0.6357 GB, free: 0.5195 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.351e-05/0.1413, allocations: 55.39 kB / 0.6358 GB, free: 464 kB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.814e-05/0.1414, allocations: 133.7 kB / 0.6359 GB, free: 320 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 9.919e-06/0.1414, allocations: 29.64 kB / 0.6359 GB, free: 284 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.943e-05/0.1414, allocations: 92.12 kB / 0.636 GB, free: 188 kB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.415e-05/0.1415, allocations: 31.55 kB / 0.636 GB, free: 156 kB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.08e-05/0.1415, allocations: 17.7 kB / 0.6361 GB, free: 132 kB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001162/0.1416, allocations: 322.9 kB / 0.6364 GB, free: 15.8 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.077e-05/0.1417, allocations: 27.98 kB / 0.6364 GB, free: 15.78 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.408e-05/0.1417, allocations: 23.98 kB / 0.6364 GB, free: 15.75 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.769e-05/0.1418, allocations: 68.83 kB / 0.6365 GB, free: 15.68 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.1418, allocations: 0 / 0.6365 GB, free: 15.68 MB / 494.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001072/0.1419, allocations: 105.8 kB / 0.6366 GB, free: 15.57 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.1419, allocations: 8 kB / 0.6366 GB, free: 15.57 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.1419, allocations: 3.938 kB / 0.6366 GB, free: 15.56 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.1419, allocations: 0 / 0.6366 GB, free: 15.56 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.62e-07/0.1419, allocations: 4 kB / 0.6366 GB, free: 15.56 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.142, allocations: 4 kB / 0.6366 GB, free: 15.55 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.546e-05/0.142, allocations: 0 / 0.6366 GB, free: 15.55 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.242e-05/0.142, allocations: 4 kB / 0.6366 GB, free: 15.55 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 7.626e-05/0.1421, allocations: 117.8 kB / 0.6367 GB, free: 15.43 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.272e-05/0.1421, allocations: 11.84 kB / 0.6367 GB, free: 15.41 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.984e-05/0.1421, allocations: 16.36 kB / 0.6367 GB, free: 15.39 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.836e-05/0.1421, allocations: 8 kB / 0.6368 GB, free: 15.38 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.1422, allocations: 0 / 0.6368 GB, free: 15.38 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.818e-06/0.1422, allocations: 4 kB / 0.6368 GB, free: 15.38 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00013/0.1423, allocations: 181.6 kB / 0.6369 GB, free: 15.15 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.1423, allocations: 0 / 0.6369 GB, free: 15.15 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.834e-06/0.1423, allocations: 3.938 kB / 0.6369 GB, free: 15.15 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.1423, allocations: 0 / 0.6369 GB, free: 15.15 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.614e-06/0.1423, allocations: 0 / 0.6369 GB, free: 15.15 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/0.1423, allocations: 3.938 kB / 0.6369 GB, free: 15.14 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1423, allocations: 0 / 0.6369 GB, free: 15.14 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000116/0.1425, allocations: 125 kB / 0.6371 GB, free: 15 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.844e-05/0.1425, allocations: 88.98 kB / 0.6371 GB, free: 14.9 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.141e-05/0.1425, allocations: 4 kB / 0.6371 GB, free: 14.89 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.055e-05/0.1425, allocations: 0 / 0.6371 GB, free: 14.89 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.003e-05/0.1426, allocations: 0 / 0.6371 GB, free: 14.89 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.713e-06/0.1426, allocations: 4 kB / 0.6372 GB, free: 14.89 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.621e-05/0.1426, allocations: 111.2 kB / 0.6373 GB, free: 14.78 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1426, allocations: 0 / 0.6373 GB, free: 14.78 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003131/0.1429, allocations: 64 kB / 0.6373 GB, free: 14.72 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.0005781/0.1435, allocations: 0.741 MB / 0.638 GB, free: 13.95 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001155/0.1437, allocations: 67.92 kB / 0.6381 GB, free: 13.88 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1437, allocations: 3.938 kB / 0.6381 GB, free: 13.88 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 3.343e-05/0.1437, allocations: 35.98 kB / 0.6381 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.000145/0.1439, allocations: 6.062 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.0004976/0.1444, allocations: 257.9 kB / 0.6384 GB, free: 13.55 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002182/0.1446, allocations: 0.6924 MB / 0.6391 GB, free: 12.83 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.535e-05/0.1446, allocations: 4 kB / 0.6391 GB, free: 12.82 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.436e-05/0.1447, allocations: 23.42 kB / 0.6391 GB, free: 12.8 MB / 494.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1447, allocations: 3.938 kB / 0.6391 GB, free: 12.8 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02007/0.1648, allocations: 2.832 MB / 0.6419 GB, free: 10.17 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.459/7.624, allocations: 12.98 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)