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.0009629/0.0009629, allocations: 98.73 kB / 16.02 MB, free: 80 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.001202/0.001202, allocations: 183.7 kB / 16.92 MB, free: 6.75 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.385/1.385, allocations: 223.3 MB / 241 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7128/0.7128, allocations: 115.5 MB / 407.6 MB, free: 2.68 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003337/0.0003337, allocations: 20.48 kB / 496 MB, free: 6.223 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1494/0.1498, allocations: 77.53 MB / 0.5601 GB, free: 8.902 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.00141/0.1512, allocations: 0.9654 MB / 0.561 GB, free: 7.926 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001563/0.1528, allocations: 0.8894 MB / 0.5619 GB, free: 7.027 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.057e-05/0.1529, allocations: 0 / 0.5619 GB, free: 7.027 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 3.086e-05/0.1529, allocations: 0 / 0.5619 GB, free: 7.027 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001277/0.153, allocations: 35.94 kB / 0.5619 GB, free: 6.992 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007396/0.1538, allocations: 198.9 kB / 0.5621 GB, free: 6.801 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 7.737e-05/0.1539, allocations: 31.95 kB / 0.5621 GB, free: 6.77 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.679e-05/0.1539, allocations: 4 kB / 0.5621 GB, free: 6.766 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.329e-05/0.154, allocations: 19.92 kB / 0.5622 GB, free: 6.746 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001447/0.1541, allocations: 51.88 kB / 0.5622 GB, free: 6.695 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.075e-05/0.1542, allocations: 4 kB / 0.5622 GB, free: 6.691 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004462/0.1546, allocations: 275.6 kB / 0.5625 GB, free: 6.422 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.012e-05/0.1547, allocations: 15.92 kB / 0.5625 GB, free: 6.406 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.236e-05/0.1547, allocations: 37.58 kB / 0.5625 GB, free: 6.363 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003537/0.1551, allocations: 259.7 kB / 0.5628 GB, free: 6.109 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.1551, allocations: 0 / 0.5628 GB, free: 6.109 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.1551, allocations: 0 / 0.5628 GB, free: 6.109 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.1551, allocations: 0 / 0.5628 GB, free: 6.109 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.000396/0.1555, allocations: 371.3 kB / 0.5631 GB, free: 5.699 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.1555, allocations: 12.03 kB / 0.5631 GB, free: 5.688 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.974e-05/0.1556, allocations: 34.75 kB / 0.5632 GB, free: 5.645 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.571e-05/0.1556, allocations: 8.844 kB / 0.5632 GB, free: 5.637 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001209/0.1557, allocations: 184.1 kB / 0.5634 GB, free: 5.418 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.191e-05/0.1558, allocations: 4.375 kB / 0.5634 GB, free: 5.414 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.528e-06/0.1558, allocations: 384 / 0.5634 GB, free: 5.414 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001136/0.1559, allocations: 65.69 kB / 0.5634 GB, free: 5.344 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.793e-06/0.1559, allocations: 0 / 0.5634 GB, free: 5.344 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.1559, allocations: 4 kB / 0.5634 GB, free: 5.34 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.412e-05/0.156, allocations: 11.98 kB / 0.5634 GB, free: 5.328 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.736e-05/0.156, allocations: 28 kB / 0.5635 GB, free: 5.301 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000199/0.1562, allocations: 177.6 kB / 0.5636 GB, free: 5.078 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.954e-05/0.1563, allocations: 54.59 kB / 0.5637 GB, free: 5.016 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.866e-05/0.1564, allocations: 36.88 kB / 0.5637 GB, free: 4.977 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.768e-06/0.1564, allocations: 4 kB / 0.5637 GB, free: 4.973 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.391e-05/0.1564, allocations: 38.5 kB / 0.5638 GB, free: 4.926 MB / 430.1 MB Notification: Performance of pre-optimization done (n=10): time 1.082e-06/0.1564, allocations: 0 / 0.5638 GB, free: 4.926 MB / 430.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002173/0.1566, allocations: 129.6 kB / 0.5639 GB, free: 4.793 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.735e-05/0.1567, allocations: 51.41 kB / 0.5639 GB, free: 4.73 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001038/0.1568, allocations: 129.8 kB / 0.5641 GB, free: 4.594 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.526e-05/0.1568, allocations: 25.7 kB / 0.5641 GB, free: 4.562 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.964e-05/0.1568, allocations: 92.12 kB / 0.5642 GB, free: 4.469 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.248e-05/0.1569, allocations: 27.56 kB / 0.5642 GB, free: 4.441 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.653e-05/0.1569, allocations: 17.72 kB / 0.5642 GB, free: 4.418 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.698e-05/0.157, allocations: 314.8 kB / 0.5645 GB, free: 4.102 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.766e-05/0.1571, allocations: 36.02 kB / 0.5646 GB, free: 4.066 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.616e-05/0.1571, allocations: 27.98 kB / 0.5646 GB, free: 4.039 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.584e-05/0.1572, allocations: 73.14 kB / 0.5647 GB, free: 3.965 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.1572, allocations: 0 / 0.5647 GB, free: 3.965 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001136/0.1573, allocations: 109.4 kB / 0.5648 GB, free: 3.852 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.1573, allocations: 8 kB / 0.5648 GB, free: 3.844 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.792e-06/0.1574, allocations: 0 / 0.5648 GB, free: 3.844 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.1574, allocations: 0 / 0.5648 GB, free: 3.844 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.733e-06/0.1574, allocations: 0 / 0.5648 GB, free: 3.844 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.148e-06/0.1574, allocations: 0 / 0.5648 GB, free: 3.844 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.507e-05/0.1574, allocations: 11.95 kB / 0.5648 GB, free: 3.832 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.001e-05/0.1574, allocations: 4 kB / 0.5648 GB, free: 3.828 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 7.469e-05/0.1575, allocations: 117.8 kB / 0.5649 GB, free: 3.703 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.512e-05/0.1575, allocations: 11.84 kB / 0.5649 GB, free: 3.691 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.748e-05/0.1576, allocations: 12.31 kB / 0.5649 GB, free: 3.68 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.912e-05/0.1576, allocations: 11.98 kB / 0.5649 GB, free: 3.668 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.1576, allocations: 0 / 0.5649 GB, free: 3.668 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-06/0.1576, allocations: 0 / 0.5649 GB, free: 3.668 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001419/0.1577, allocations: 169.7 kB / 0.5651 GB, free: 3.453 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.1577, allocations: 8 kB / 0.5651 GB, free: 3.445 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.094e-06/0.1578, allocations: 3.938 kB / 0.5651 GB, free: 3.441 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.1578, allocations: 0 / 0.5651 GB, free: 3.441 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.633e-06/0.1578, allocations: 0 / 0.5651 GB, free: 3.441 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.1578, allocations: 0 / 0.5651 GB, free: 3.441 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1578, allocations: 0 / 0.5651 GB, free: 3.441 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001307/0.1579, allocations: 129 kB / 0.5652 GB, free: 3.297 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.81e-05/0.158, allocations: 92.88 kB / 0.5653 GB, free: 3.188 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.068e-05/0.158, allocations: 0 / 0.5653 GB, free: 3.188 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.223e-05/0.158, allocations: 8.031 kB / 0.5653 GB, free: 3.18 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.344e-05/0.158, allocations: 0 / 0.5653 GB, free: 3.18 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.378e-06/0.158, allocations: 0 / 0.5653 GB, free: 3.18 MB / 430.1 MB Notification: Performance of sorting global known variables: time 6.488e-05/0.1581, allocations: 103.3 kB / 0.5654 GB, free: 3.078 MB / 430.1 MB Notification: Performance of sort global known variables: time 3.61e-07/0.1581, allocations: 0 / 0.5654 GB, free: 3.078 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003227/0.1584, allocations: 71.98 kB / 0.5655 GB, free: 3.008 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.0005992/0.159, allocations: 0.7372 MB / 0.5662 GB, free: 2.242 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001112/0.1592, allocations: 63.98 kB / 0.5663 GB, free: 2.18 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.1592, allocations: 0 / 0.5663 GB, free: 2.18 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 3.376e-05/0.1592, allocations: 39.92 kB / 0.5663 GB, free: 2.141 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001528/0.1594, allocations: 5.531 kB / 0.5663 GB, free: 2.137 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005087/0.1599, allocations: 280.7 kB / 0.5666 GB, free: 1.816 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002419/0.1601, allocations: 0.6965 MB / 0.5673 GB, free: 1.094 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 3.526e-05/0.1602, allocations: 8 kB / 0.5673 GB, free: 1.086 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.378e-05/0.1602, allocations: 19.44 kB / 0.5673 GB, free: 1.066 MB / 430.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1602, allocations: 0 / 0.5673 GB, free: 1.066 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02571/0.1859, allocations: 2.608 MB / 0.5698 GB, free: 14.7 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000269/0.1863, allocations: 278.6 kB / 0.5701 GB, free: 14.32 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.74/1.926, allocations: 1.875 kB / 0.5701 GB, free: 14.32 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)