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.001196/0.001196, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001171/0.001171, allocations: 206.7 kB / 16.79 MB, free: 6.84 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.2/1.2, allocations: 222.9 MB / 240.5 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6127/0.6127, allocations: 115.3 MB / 406 MB, free: 2.801 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001131/0.001131, allocations: 60.19 kB / 493 MB, free: 6.715 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1104/0.1115, allocations: 76.19 MB / 0.5559 GB, free: 10.73 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.002147/0.1137, allocations: 1.307 MB / 0.5572 GB, free: 9.41 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001299/0.1151, allocations: 0.901 MB / 0.558 GB, free: 8.5 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.372e-05/0.1151, allocations: 4 kB / 0.558 GB, free: 8.496 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 3.029e-05/0.1151, allocations: 4 kB / 0.558 GB, free: 8.492 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 9.803e-05/0.1152, allocations: 35.94 kB / 0.5581 GB, free: 8.457 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005946/0.1158, allocations: 190.9 kB / 0.5583 GB, free: 8.273 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.826e-05/0.1159, allocations: 35.95 kB / 0.5583 GB, free: 8.238 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.483e-05/0.1159, allocations: 7.938 kB / 0.5583 GB, free: 8.23 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.77e-05/0.116, allocations: 15.92 kB / 0.5583 GB, free: 8.215 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001236/0.1161, allocations: 55.94 kB / 0.5584 GB, free: 8.16 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.365e-06/0.1161, allocations: 0 / 0.5584 GB, free: 8.16 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003933/0.1165, allocations: 275.6 kB / 0.5586 GB, free: 7.891 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.751e-05/0.1166, allocations: 15.92 kB / 0.5587 GB, free: 7.875 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.476e-05/0.1166, allocations: 19.86 kB / 0.5587 GB, free: 7.855 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002867/0.1169, allocations: 247.7 kB / 0.5589 GB, free: 7.613 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.1169, allocations: 0 / 0.5589 GB, free: 7.613 MB / 430.1 MB Notification: Performance of FrontEnd: time 6.61e-07/0.1169, allocations: 4 kB / 0.5589 GB, free: 7.609 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.186e-06/0.1169, allocations: 0 / 0.5589 GB, free: 7.609 MB / 430.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.000323/0.1172, allocations: 379.3 kB / 0.5593 GB, free: 7.191 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.1173, allocations: 12.03 kB / 0.5593 GB, free: 7.18 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.968e-05/0.1173, allocations: 38.69 kB / 0.5593 GB, free: 7.133 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.489e-05/0.1173, allocations: 12.84 kB / 0.5593 GB, free: 7.121 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.857e-05/0.1175, allocations: 180.2 kB / 0.5595 GB, free: 6.906 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.935e-06/0.1175, allocations: 4.312 kB / 0.5595 GB, free: 6.902 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.27e-06/0.1175, allocations: 384 / 0.5595 GB, free: 6.902 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.431e-05/0.1176, allocations: 61.81 kB / 0.5596 GB, free: 6.836 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.87e-06/0.1176, allocations: 0 / 0.5596 GB, free: 6.836 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.282e-06/0.1176, allocations: 4 kB / 0.5596 GB, free: 6.832 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.807e-05/0.1176, allocations: 11.98 kB / 0.5596 GB, free: 6.82 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.172e-05/0.1177, allocations: 23.94 kB / 0.5596 GB, free: 6.797 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001705/0.1178, allocations: 181.5 kB / 0.5598 GB, free: 6.57 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.493e-05/0.1179, allocations: 50.56 kB / 0.5598 GB, free: 6.512 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.519e-05/0.1179, allocations: 36.88 kB / 0.5599 GB, free: 6.473 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.067e-06/0.118, allocations: 8 kB / 0.5599 GB, free: 6.465 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.948e-05/0.118, allocations: 34.5 kB / 0.5599 GB, free: 6.422 MB / 430.1 MB Notification: Performance of pre-optimization done (n=10): time 1.022e-06/0.118, allocations: 0 / 0.5599 GB, free: 6.422 MB / 430.1 MB Notification: Performance of matching and sorting (n=10): time 0.000177/0.1182, allocations: 129.7 kB / 0.56 GB, free: 6.289 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.986e-05/0.1182, allocations: 51.41 kB / 0.5601 GB, free: 6.227 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.947e-05/0.1183, allocations: 127.9 kB / 0.5602 GB, free: 6.094 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.072e-05/0.1183, allocations: 29.7 kB / 0.5602 GB, free: 6.059 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.676e-05/0.1184, allocations: 96.16 kB / 0.5603 GB, free: 5.961 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.517e-05/0.1184, allocations: 31.55 kB / 0.5604 GB, free: 5.93 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.683e-05/0.1184, allocations: 17.7 kB / 0.5604 GB, free: 5.906 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.383e-05/0.1185, allocations: 318.8 kB / 0.5607 GB, free: 5.586 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.013e-05/0.1186, allocations: 27.98 kB / 0.5607 GB, free: 5.559 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.395e-05/0.1186, allocations: 27.92 kB / 0.5607 GB, free: 5.531 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.998e-05/0.1187, allocations: 77.14 kB / 0.5608 GB, free: 5.453 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.1187, allocations: 0 / 0.5608 GB, free: 5.453 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001007/0.1188, allocations: 105.5 kB / 0.5609 GB, free: 5.344 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.1188, allocations: 8.062 kB / 0.5609 GB, free: 5.336 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.1188, allocations: 0 / 0.5609 GB, free: 5.336 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.044e-05/0.1188, allocations: 0 / 0.5609 GB, free: 5.336 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.923e-06/0.1188, allocations: 4 kB / 0.5609 GB, free: 5.332 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.788e-06/0.1188, allocations: 0 / 0.5609 GB, free: 5.332 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.539e-05/0.1189, allocations: 0 / 0.5609 GB, free: 5.332 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.024e-05/0.1189, allocations: 0 / 0.5609 GB, free: 5.332 MB / 430.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 6.571e-05/0.1189, allocations: 125.8 kB / 0.561 GB, free: 5.199 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.051e-05/0.119, allocations: 7.844 kB / 0.561 GB, free: 5.191 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.361e-05/0.119, allocations: 20.36 kB / 0.5611 GB, free: 5.172 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.739e-05/0.119, allocations: 12 kB / 0.5611 GB, free: 5.16 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.119, allocations: 0 / 0.5611 GB, free: 5.16 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.563e-06/0.119, allocations: 0 / 0.5611 GB, free: 5.16 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001177/0.1191, allocations: 169.7 kB / 0.5612 GB, free: 4.945 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.1191, allocations: 0 / 0.5612 GB, free: 4.945 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.475e-06/0.1192, allocations: 3.938 kB / 0.5612 GB, free: 4.941 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.1192, allocations: 0 / 0.5612 GB, free: 4.941 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.853e-06/0.1192, allocations: 4 kB / 0.5612 GB, free: 4.938 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.1192, allocations: 0 / 0.5612 GB, free: 4.938 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1192, allocations: 0 / 0.5612 GB, free: 4.938 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001154/0.1193, allocations: 132.9 kB / 0.5614 GB, free: 4.789 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.451e-05/0.1193, allocations: 96.88 kB / 0.5615 GB, free: 4.676 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.021e-05/0.1194, allocations: 3.938 kB / 0.5615 GB, free: 4.672 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.058e-05/0.1194, allocations: 0 / 0.5615 GB, free: 4.672 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.937e-06/0.1194, allocations: 0 / 0.5615 GB, free: 4.672 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.461e-06/0.1194, allocations: 4 kB / 0.5615 GB, free: 4.668 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.968e-05/0.1194, allocations: 99.27 kB / 0.5616 GB, free: 4.57 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1195, allocations: 4.031 kB / 0.5616 GB, free: 4.566 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002991/0.1198, allocations: 75.98 kB / 0.5616 GB, free: 4.492 MB / 430.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.0005039/0.1203, allocations: 0.7333 MB / 0.5624 GB, free: 3.73 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 9.218e-05/0.1204, allocations: 67.92 kB / 0.5624 GB, free: 3.664 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.512e-06/0.1204, allocations: 96 / 0.5624 GB, free: 3.664 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 3.25e-05/0.1204, allocations: 39.98 kB / 0.5625 GB, free: 3.625 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001314/0.1206, allocations: 5.359 kB / 0.5625 GB, free: 3.625 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004291/0.121, allocations: 273.4 kB / 0.5627 GB, free: 3.316 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00021/0.1212, allocations: 0.6926 MB / 0.5634 GB, free: 2.598 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 3.287e-05/0.1212, allocations: 8.062 kB / 0.5634 GB, free: 2.59 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.926e-05/0.1213, allocations: 19.42 kB / 0.5634 GB, free: 2.57 MB / 430.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1213, allocations: 4 kB / 0.5634 GB, free: 2.566 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01105/0.1324, allocations: 2.671 MB / 0.566 GB, free: 104 kB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002618/0.1326, allocations: 280.2 kB / 0.5663 GB, free: 15.72 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.566/1.699, allocations: 0 / 0.5663 GB, free: 15.72 MB / 446.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)