Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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: translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007085/0.007085, allocations: 103.2 kB / 15.73 MB, free: 5.957 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.001286/0.001287, allocations: 191.4 kB / 16.67 MB, free: 5.887 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.298/1.298, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002132/0.002132, allocations: 289 kB / 290.8 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9355/0.9355, allocations: 169.3 MB / 0.4983 GB, free: 4.457 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001715/0.001715, allocations: 99.78 kB / 0.6815 GB, free: 6.941 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3902/0.392, allocations: 86.97 MB / 0.7664 GB, free: 3.812 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.002138/0.3941, allocations: 1.249 MB / 0.7676 GB, free: 2.555 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001295/0.3955, allocations: 0.8831 MB / 0.7685 GB, free: 1.664 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.053e-05/0.3955, allocations: 4 kB / 0.7685 GB, free: 1.66 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.493e-05/0.3955, allocations: 0 / 0.7685 GB, free: 1.66 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001005/0.3956, allocations: 27.95 kB / 0.7685 GB, free: 1.633 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006872/0.3963, allocations: 239.4 kB / 0.7688 GB, free: 1.398 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.709e-05/0.3964, allocations: 31.95 kB / 0.7688 GB, free: 1.367 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.702e-05/0.3965, allocations: 7.938 kB / 0.7688 GB, free: 1.359 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.773e-05/0.3965, allocations: 19.97 kB / 0.7688 GB, free: 1.34 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001263/0.3966, allocations: 43.95 kB / 0.7689 GB, free: 1.297 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.448e-06/0.3966, allocations: 0 / 0.7689 GB, free: 1.297 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004071/0.3971, allocations: 287.5 kB / 0.7691 GB, free: 1.016 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.85e-05/0.3971, allocations: 19.92 kB / 0.7692 GB, free: 0.9961 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.126e-05/0.3971, allocations: 11.88 kB / 0.7692 GB, free: 0.9844 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002786/0.3974, allocations: 243.1 kB / 0.7694 GB, free: 0.75 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.3974, allocations: 4 kB / 0.7694 GB, free: 0.7461 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.252e-06/0.3974, allocations: 0 / 0.7694 GB, free: 0.7461 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.007e-06/0.3974, allocations: 0 / 0.7694 GB, free: 0.7461 MB / 0.5294 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.0003404/0.3978, allocations: 385.8 kB / 0.7698 GB, free: 332 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.071e-05/0.3978, allocations: 8.031 kB / 0.7698 GB, free: 324 kB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.765e-05/0.3979, allocations: 8.844 kB / 0.7698 GB, free: 316 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001054/0.398, allocations: 180.2 kB / 0.77 GB, free: 96 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.055e-06/0.398, allocations: 4.312 kB / 0.77 GB, free: 92 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.768e-06/0.398, allocations: 4.312 kB / 0.77 GB, free: 88 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.905e-05/0.3981, allocations: 61.94 kB / 0.77 GB, free: 20 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.302e-06/0.3981, allocations: 0 / 0.77 GB, free: 20 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.073e-06/0.3981, allocations: 4 kB / 0.77 GB, free: 16 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.733e-05/0.3982, allocations: 11.98 kB / 0.77 GB, free: 4 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.601e-05/0.3982, allocations: 24.08 kB / 0.7701 GB, free: 15.98 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00018/0.3984, allocations: 177.6 kB / 0.7702 GB, free: 15.75 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 5.867e-05/0.3985, allocations: 50.56 kB / 0.7703 GB, free: 15.7 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.966e-05/0.3985, allocations: 40.88 kB / 0.7703 GB, free: 15.65 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 5.991e-06/0.3985, allocations: 8.188 kB / 0.7703 GB, free: 15.64 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.791e-05/0.3985, allocations: 38.44 kB / 0.7704 GB, free: 15.6 MB / 0.545 GB Notification: Performance of pre-optimization done (n=10): time 1.182e-06/0.3986, allocations: 0 / 0.7704 GB, free: 15.6 MB / 0.545 GB Notification: Performance of matching and sorting (n=10): time 0.0001912/0.3988, allocations: 125.6 kB / 0.7705 GB, free: 15.47 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.102e-05/0.3988, allocations: 55.34 kB / 0.7705 GB, free: 15.4 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.644e-05/0.3989, allocations: 125.8 kB / 0.7707 GB, free: 15.27 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.04e-05/0.3989, allocations: 25.7 kB / 0.7707 GB, free: 15.24 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.43e-05/0.3989, allocations: 100.2 kB / 0.7708 GB, free: 15.14 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.353e-05/0.399, allocations: 23.56 kB / 0.7708 GB, free: 15.11 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.093e-05/0.399, allocations: 21.7 kB / 0.7708 GB, free: 15.09 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001069/0.3991, allocations: 318.8 kB / 0.7711 GB, free: 14.77 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.041e-05/0.3992, allocations: 23.98 kB / 0.7711 GB, free: 14.74 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.121e-05/0.3992, allocations: 27.98 kB / 0.7712 GB, free: 14.71 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.175e-05/0.3993, allocations: 77.14 kB / 0.7712 GB, free: 14.64 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.3993, allocations: 0 / 0.7712 GB, free: 14.64 MB / 0.545 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001055/0.3994, allocations: 101.5 kB / 0.7713 GB, free: 14.53 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.3994, allocations: 12 kB / 0.7714 GB, free: 14.52 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.3994, allocations: 0 / 0.7714 GB, free: 14.52 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.3995, allocations: 0 / 0.7714 GB, free: 14.52 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.172e-06/0.3995, allocations: 4 kB / 0.7714 GB, free: 14.52 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.3995, allocations: 0 / 0.7714 GB, free: 14.52 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.762e-05/0.3995, allocations: 3.938 kB / 0.7714 GB, free: 14.51 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.275e-05/0.3995, allocations: 4 kB / 0.7714 GB, free: 14.51 MB / 0.545 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 9.083e-05/0.3996, allocations: 121.7 kB / 0.7715 GB, free: 14.38 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.301e-05/0.3996, allocations: 15.78 kB / 0.7715 GB, free: 14.37 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.402e-05/0.3997, allocations: 8.375 kB / 0.7715 GB, free: 14.36 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.193e-05/0.3997, allocations: 15.98 kB / 0.7715 GB, free: 14.34 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.3997, allocations: 0 / 0.7715 GB, free: 14.34 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.3997, allocations: 0 / 0.7715 GB, free: 14.34 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001498/0.3998, allocations: 177.6 kB / 0.7717 GB, free: 14.12 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.3999, allocations: 0 / 0.7717 GB, free: 14.12 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.51e-07/0.3999, allocations: 0 / 0.7717 GB, free: 14.12 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.521e-06/0.3999, allocations: 7.922 kB / 0.7717 GB, free: 14.11 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.306e-06/0.3999, allocations: 4 kB / 0.7717 GB, free: 14.11 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.81e-07/0.3999, allocations: 0 / 0.7717 GB, free: 14.11 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.3999, allocations: 0 / 0.7717 GB, free: 14.11 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001248/0.4, allocations: 125 kB / 0.7718 GB, free: 13.96 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.819e-05/0.4001, allocations: 92.89 kB / 0.7719 GB, free: 13.86 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.129e-05/0.4001, allocations: 3.938 kB / 0.7719 GB, free: 13.85 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.078e-05/0.4001, allocations: 0 / 0.7719 GB, free: 13.85 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.43e-05/0.4001, allocations: 0 / 0.7719 GB, free: 13.85 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.447e-06/0.4001, allocations: 7.938 kB / 0.7719 GB, free: 13.84 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.738e-05/0.4002, allocations: 99.7 kB / 0.772 GB, free: 13.75 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4002, allocations: 4.031 kB / 0.772 GB, free: 13.74 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002706/0.4005, allocations: 75.98 kB / 0.7721 GB, free: 13.67 MB / 0.545 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.0002785/0.4008, allocations: 167.2 kB / 0.7723 GB, free: 13.5 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 9.75e-05/0.4009, allocations: 67.97 kB / 0.7723 GB, free: 13.43 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.4009, allocations: 0 / 0.7723 GB, free: 13.43 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 3.346e-05/0.4009, allocations: 39.92 kB / 0.7724 GB, free: 13.39 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001372/0.4011, allocations: 6.672 kB / 0.7724 GB, free: 13.39 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002883/0.4014, allocations: 195.4 kB / 0.7725 GB, free: 13.17 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002099/0.4016, allocations: 0.6963 MB / 0.7732 GB, free: 12.45 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.29e-05/0.4016, allocations: 7.938 kB / 0.7732 GB, free: 12.44 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.344e-05/0.4017, allocations: 15.44 kB / 0.7733 GB, free: 12.42 MB / 0.545 GB Notification: Performance of SimCode: time 2.3e-07/0.4017, allocations: 0 / 0.7733 GB, free: 12.42 MB / 0.545 GB Notification: Performance of Templates: time 0.003514/0.4052, allocations: 1.49 MB / 0.7747 GB, free: 10.98 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe 2>&1)