Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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) 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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_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_IDEAS_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.001081/0.001081, allocations: 108 kB / 15.6 MB, free: 132 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.001046/0.001047, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.319/1.319, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7752/0.7752, allocations: 132.2 MB / 422.6 MB, free: 1.801 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 69.23 kB / 0.5019 GB, free: 3.719 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3775/0.3788, allocations: 80.19 MB / 0.5802 GB, free: 4.59 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.002364/0.3812, allocations: 1.25 MB / 0.5814 GB, free: 3.711 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001433/0.3826, allocations: 0.8856 MB / 0.5823 GB, free: 3.121 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.881e-05/0.3827, allocations: 1.375 kB / 0.5823 GB, free: 3.121 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 3.144e-05/0.3827, allocations: 0.6094 kB / 0.5823 GB, free: 3.121 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001303/0.3828, allocations: 26.95 kB / 0.5823 GB, free: 3.121 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007436/0.3836, allocations: 249.7 kB / 0.5826 GB, free: 3.035 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.944e-05/0.3837, allocations: 30.61 kB / 0.5826 GB, free: 3.027 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.574e-05/0.3837, allocations: 2.766 kB / 0.5826 GB, free: 3.027 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.918e-05/0.3837, allocations: 23.61 kB / 0.5826 GB, free: 3.02 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001402/0.3839, allocations: 44.05 kB / 0.5827 GB, free: 3.02 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.007e-06/0.3839, allocations: 0 / 0.5827 GB, free: 3.02 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004372/0.3843, allocations: 277.8 kB / 0.5829 GB, free: 2.941 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.299e-05/0.3844, allocations: 21.33 kB / 0.583 GB, free: 2.934 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.151e-05/0.3844, allocations: 17.25 kB / 0.583 GB, free: 2.922 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003535/0.3848, allocations: 242.2 kB / 0.5832 GB, free: 2.859 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.3848, allocations: 0 / 0.5832 GB, free: 2.859 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3848, allocations: 1.156 kB / 0.5832 GB, free: 2.859 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.408e-06/0.3848, allocations: 0 / 0.5832 GB, free: 2.859 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.0003002/0.3851, allocations: 388.7 kB / 0.5836 GB, free: 2.465 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.3852, allocations: 9.562 kB / 0.5836 GB, free: 2.465 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.364e-05/0.3852, allocations: 38.16 kB / 0.5836 GB, free: 2.422 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.512e-05/0.3852, allocations: 6.719 kB / 0.5836 GB, free: 2.418 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.018e-05/0.3853, allocations: 173.8 kB / 0.5838 GB, free: 2.215 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.041e-05/0.3853, allocations: 5.094 kB / 0.5838 GB, free: 2.211 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.965e-06/0.3854, allocations: 5.375 kB / 0.5838 GB, free: 2.207 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001166/0.3855, allocations: 68.3 kB / 0.5839 GB, free: 2.16 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-06/0.3855, allocations: 0 / 0.5839 GB, free: 2.16 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.184e-06/0.3855, allocations: 0 / 0.5839 GB, free: 2.16 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.059e-05/0.3855, allocations: 12.19 kB / 0.5839 GB, free: 2.16 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.172e-05/0.3856, allocations: 23.95 kB / 0.5839 GB, free: 2.16 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001729/0.3858, allocations: 176 kB / 0.5841 GB, free: 1.961 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.087e-05/0.3858, allocations: 56.41 kB / 0.5841 GB, free: 1.922 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.498e-05/0.3859, allocations: 42.88 kB / 0.5842 GB, free: 1.902 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.431e-06/0.3859, allocations: 0.8125 kB / 0.5842 GB, free: 1.902 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.985e-05/0.3859, allocations: 32.06 kB / 0.5842 GB, free: 1.863 MB / 430.1 MB Notification: Performance of pre-optimization done (n=10): time 1.132e-06/0.3859, allocations: 0 / 0.5842 GB, free: 1.863 MB / 430.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002185/0.3862, allocations: 132.7 kB / 0.5843 GB, free: 1.812 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.376e-05/0.3862, allocations: 52.11 kB / 0.5844 GB, free: 1.75 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.904e-05/0.3863, allocations: 138.3 kB / 0.5845 GB, free: 1.641 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.013e-06/0.3863, allocations: 25.7 kB / 0.5845 GB, free: 1.609 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.379e-05/0.3863, allocations: 88.33 kB / 0.5846 GB, free: 1.523 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.362e-05/0.3864, allocations: 29.69 kB / 0.5846 GB, free: 1.5 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.765e-05/0.3864, allocations: 14.89 kB / 0.5847 GB, free: 1.484 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.799e-05/0.3864, allocations: 321.4 kB / 0.585 GB, free: 1.168 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.659e-05/0.3865, allocations: 27.53 kB / 0.585 GB, free: 1.164 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.111e-05/0.3865, allocations: 24.09 kB / 0.585 GB, free: 1.164 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.354e-05/0.3866, allocations: 75.19 kB / 0.5851 GB, free: 1.145 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.3866, allocations: 3.938 kB / 0.5851 GB, free: 1.141 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001099/0.3867, allocations: 105.2 kB / 0.5852 GB, free: 1.09 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.3868, allocations: 6.109 kB / 0.5852 GB, free: 1.09 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.3868, allocations: 0 / 0.5852 GB, free: 1.09 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.3868, allocations: 5.219 kB / 0.5852 GB, free: 1.086 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.112e-06/0.3868, allocations: 0 / 0.5852 GB, free: 1.086 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.3868, allocations: 0.6094 kB / 0.5852 GB, free: 1.086 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.696e-05/0.3868, allocations: 5.562 kB / 0.5852 GB, free: 1.082 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.053e-05/0.3868, allocations: 6.531 kB / 0.5852 GB, free: 1.078 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 5.821e-05/0.3869, allocations: 129.7 kB / 0.5853 GB, free: 0.957 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.186e-05/0.3869, allocations: 9.797 kB / 0.5853 GB, free: 0.9492 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.538e-05/0.3869, allocations: 16.77 kB / 0.5854 GB, free: 0.9336 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-05/0.387, allocations: 12.3 kB / 0.5854 GB, free: 0.9336 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.387, allocations: 4.641 kB / 0.5854 GB, free: 0.9297 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.387, allocations: 0.875 kB / 0.5854 GB, free: 0.9297 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001088/0.3871, allocations: 175.9 kB / 0.5855 GB, free: 0.7305 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.3871, allocations: 1.484 kB / 0.5855 GB, free: 0.7305 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.4e-07/0.3871, allocations: 0 / 0.5855 GB, free: 0.7305 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.3871, allocations: 1.25 kB / 0.5856 GB, free: 0.7305 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.352e-06/0.3871, allocations: 4.656 kB / 0.5856 GB, free: 0.7266 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.3871, allocations: 0.7812 kB / 0.5856 GB, free: 0.7266 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.3871, allocations: 0 / 0.5856 GB, free: 0.7266 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001202/0.3873, allocations: 128.9 kB / 0.5857 GB, free: 0.6445 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.326e-05/0.3873, allocations: 80.28 kB / 0.5858 GB, free: 0.5508 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.398e-05/0.3873, allocations: 0.7969 kB / 0.5858 GB, free: 0.5508 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.116e-05/0.3873, allocations: 0.5 kB / 0.5858 GB, free: 0.5508 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.198e-05/0.3873, allocations: 5.812 kB / 0.5858 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.841e-06/0.3874, allocations: 2.531 kB / 0.5858 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of sorting global known variables: time 5.083e-05/0.3874, allocations: 105 kB / 0.5859 GB, free: 476 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3874, allocations: 0.5312 kB / 0.5859 GB, free: 476 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003421/0.3878, allocations: 76.47 kB / 0.5859 GB, free: 460 kB / 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.000561/0.3883, allocations: 0.7287 MB / 0.5866 GB, free: 15.83 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001319/0.3885, allocations: 65.5 kB / 0.5867 GB, free: 15.82 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.3885, allocations: 0 / 0.5867 GB, free: 15.82 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.077e-05/0.3885, allocations: 35.38 kB / 0.5867 GB, free: 15.81 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001398/0.3887, allocations: 1.031 kB / 0.5867 GB, free: 15.81 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005482/0.3892, allocations: 271 kB / 0.587 GB, free: 15.61 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002542/0.3895, allocations: 0.6939 MB / 0.5877 GB, free: 14.92 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.58e-05/0.3895, allocations: 3 kB / 0.5877 GB, free: 14.92 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.786e-05/0.3896, allocations: 23.78 kB / 0.5877 GB, free: 14.9 MB / 446.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3896, allocations: 0.7188 kB / 0.5877 GB, free: 14.9 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0239/0.4135, allocations: 2.78 MB / 0.5904 GB, free: 14.5 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.689/9.103, allocations: 15.69 kB / 0.5904 GB, free: 14.49 MB / 446.1 MB (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe 2>&1)