Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001722/0.001722, allocations: 107.1 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001963/0.001963, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.399/1.399, allocations: 225.6 MB / 247.8 MB, free: 13.92 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.078/1.078, allocations: 175.8 MB / 478.5 MB, free: 8.465 MB / 382.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002147/0.002147, allocations: 67.77 kB / 0.6652 GB, free: 0.5234 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1937/0.1959, allocations: 94.54 MB / 0.7576 GB, free: 1.871 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.002845/0.1987, allocations: 1.248 MB / 0.7588 GB, free: 0.6172 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.3401/0.5389, allocations: 0.8893 MB / 0.7597 GB, free: 7.984 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.374e-05/0.5389, allocations: 0.6875 kB / 0.7597 GB, free: 7.984 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.329e-05/0.5389, allocations: 0.6562 kB / 0.7597 GB, free: 7.984 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001169/0.539, allocations: 35.38 kB / 0.7597 GB, free: 7.984 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008949/0.5399, allocations: 244.8 kB / 0.7599 GB, free: 7.98 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 9.363e-05/0.54, allocations: 33.69 kB / 0.76 GB, free: 7.98 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.103e-05/0.5401, allocations: 2.406 kB / 0.76 GB, free: 7.98 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.175e-05/0.5401, allocations: 18.42 kB / 0.76 GB, free: 7.98 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001661/0.5403, allocations: 55.7 kB / 0.76 GB, free: 7.98 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.919e-06/0.5403, allocations: 0.5 kB / 0.76 GB, free: 7.98 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005511/0.5408, allocations: 288 kB / 0.7603 GB, free: 7.98 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 5.04e-05/0.5409, allocations: 20.62 kB / 0.7603 GB, free: 7.98 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.577e-05/0.5409, allocations: 21.38 kB / 0.7603 GB, free: 7.969 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003818/0.5413, allocations: 239.9 kB / 0.7606 GB, free: 7.953 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.5413, allocations: 2.594 kB / 0.7606 GB, free: 7.953 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.953e-06/0.5413, allocations: 0 / 0.7606 GB, free: 7.953 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.169e-05/0.5413, allocations: 1.594 kB / 0.7606 GB, free: 7.953 MB / 0.5762 GB 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.0003309/0.5416, allocations: 390.6 kB / 0.7609 GB, free: 7.562 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.5417, allocations: 11 kB / 0.761 GB, free: 7.562 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.061e-05/0.5417, allocations: 33.48 kB / 0.761 GB, free: 7.523 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.573e-05/0.5418, allocations: 7.547 kB / 0.761 GB, free: 7.52 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.17e-05/0.5418, allocations: 176 kB / 0.7612 GB, free: 7.316 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.173e-05/0.5418, allocations: 1.594 kB / 0.7612 GB, free: 7.316 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.272e-05/0.5419, allocations: 5.891 kB / 0.7612 GB, free: 7.312 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000118/0.542, allocations: 59.7 kB / 0.7612 GB, free: 7.281 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.542, allocations: 0.7031 kB / 0.7612 GB, free: 7.281 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.363e-06/0.542, allocations: 2.469 kB / 0.7612 GB, free: 7.281 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.196e-05/0.542, allocations: 11.47 kB / 0.7612 GB, free: 7.281 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.933e-05/0.5421, allocations: 27.61 kB / 0.7613 GB, free: 7.281 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001612/0.5422, allocations: 173.2 kB / 0.7614 GB, free: 7.094 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 6.574e-05/0.5423, allocations: 50.11 kB / 0.7615 GB, free: 7.066 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.887e-05/0.5423, allocations: 32.17 kB / 0.7615 GB, free: 7.059 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.022e-05/0.5423, allocations: 3.297 kB / 0.7615 GB, free: 7.059 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.573e-05/0.5424, allocations: 33.56 kB / 0.7615 GB, free: 7.02 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=10): time 1.112e-06/0.5424, allocations: 1.281 kB / 0.7615 GB, free: 7.02 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10): time 0.0002153/0.5426, allocations: 130.3 kB / 0.7617 GB, free: 6.984 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.003e-05/0.5426, allocations: 55.84 kB / 0.7617 GB, free: 6.918 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.574e-05/0.5427, allocations: 130.3 kB / 0.7618 GB, free: 6.82 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.393e-06/0.5427, allocations: 25.7 kB / 0.7619 GB, free: 6.789 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.007e-05/0.5427, allocations: 94.81 kB / 0.762 GB, free: 6.707 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.412e-05/0.5428, allocations: 39.38 kB / 0.762 GB, free: 6.68 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.465e-05/0.5428, allocations: 17.5 kB / 0.762 GB, free: 6.664 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.302e-05/0.5429, allocations: 319 kB / 0.7623 GB, free: 6.352 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.055e-05/0.5429, allocations: 31.75 kB / 0.7624 GB, free: 6.352 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.14e-05/0.543, allocations: 26.58 kB / 0.7624 GB, free: 6.352 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.842e-05/0.5431, allocations: 68.67 kB / 0.7624 GB, free: 6.344 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.5431, allocations: 1.125 kB / 0.7624 GB, free: 6.344 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001588/0.5432, allocations: 105.5 kB / 0.7625 GB, free: 6.305 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.338e-05/0.5432, allocations: 5 kB / 0.7625 GB, free: 6.305 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.5433, allocations: 3.266 kB / 0.7626 GB, free: 6.305 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.829e-05/0.5433, allocations: 0 / 0.7626 GB, free: 6.305 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.843e-06/0.5433, allocations: 0.5938 kB / 0.7626 GB, free: 6.305 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.323e-06/0.5433, allocations: 3.406 kB / 0.7626 GB, free: 6.305 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.05e-05/0.5433, allocations: 6.719 kB / 0.7626 GB, free: 6.301 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.392e-05/0.5433, allocations: 2.625 kB / 0.7626 GB, free: 6.301 MB / 0.5762 GB 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.914e-05/0.5434, allocations: 126.7 kB / 0.7627 GB, free: 6.184 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.179e-05/0.5434, allocations: 7.047 kB / 0.7627 GB, free: 6.18 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.05e-05/0.5434, allocations: 10.84 kB / 0.7627 GB, free: 6.168 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.534e-05/0.5435, allocations: 12.48 kB / 0.7627 GB, free: 6.168 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.5435, allocations: 0.6875 kB / 0.7627 GB, free: 6.168 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.5435, allocations: 1.094 kB / 0.7627 GB, free: 6.168 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001387/0.5436, allocations: 185.7 kB / 0.7629 GB, free: 5.969 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.5436, allocations: 0.5625 kB / 0.7629 GB, free: 5.969 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.403e-06/0.5436, allocations: 1.094 kB / 0.7629 GB, free: 5.969 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-06/0.5436, allocations: 96 / 0.7629 GB, free: 5.969 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.313e-06/0.5436, allocations: 5.891 kB / 0.7629 GB, free: 5.965 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.5436, allocations: 0.5 kB / 0.7629 GB, free: 5.965 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.5436, allocations: 1.219 kB / 0.7629 GB, free: 5.965 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001316/0.5437, allocations: 128.4 kB / 0.763 GB, free: 5.895 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.425e-05/0.5438, allocations: 93.44 kB / 0.7631 GB, free: 5.789 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.593e-05/0.5438, allocations: 2.375 kB / 0.7631 GB, free: 5.789 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.188e-05/0.5438, allocations: 1.062 kB / 0.7631 GB, free: 5.789 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.14e-05/0.5438, allocations: 1.641 kB / 0.7631 GB, free: 5.789 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.44e-06/0.5438, allocations: 1.812 kB / 0.7631 GB, free: 5.789 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.537e-05/0.5439, allocations: 103.6 kB / 0.7632 GB, free: 5.715 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.5439, allocations: 0 / 0.7632 GB, free: 5.715 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004336/0.5443, allocations: 72.91 kB / 0.7633 GB, free: 5.703 MB / 0.5762 GB 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.0005047/0.5448, allocations: 0.7325 MB / 0.764 GB, free: 5.102 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001302/0.5449, allocations: 61.09 kB / 0.7641 GB, free: 5.102 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.5449, allocations: 0 / 0.7641 GB, free: 5.102 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 3.403e-05/0.545, allocations: 29.05 kB / 0.7641 GB, free: 5.102 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001484/0.5451, allocations: 12.16 kB / 0.7641 GB, free: 5.098 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005188/0.5456, allocations: 262.4 kB / 0.7644 GB, free: 4.922 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001139/0.5458, allocations: 0.6943 MB / 0.765 GB, free: 4.227 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.55e-05/0.5458, allocations: 7.141 kB / 0.765 GB, free: 4.227 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.658e-05/0.5458, allocations: 21.66 kB / 0.7651 GB, free: 4.215 MB / 0.5762 GB Notification: Performance of SimCode: time 5.41e-07/0.5458, allocations: 3.188 kB / 0.7651 GB, free: 4.215 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02584/0.5717, allocations: 2.838 MB / 0.7678 GB, free: 19.84 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.034/8.605, allocations: 9.922 kB / 0.7678 GB, free: 19.83 MB / 0.5919 GB " [Timeout remaining time 651] (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors.fmu > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.304779769852757] Failed to read output from testmodel.py, exit status != 0: 8.678183525800705 8.703668362 8.157124212 Calling exit ...