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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001004/0.001004, allocations: 176.2 kB / 7.649 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8571/0.8571, allocations: 133.6 MB / 141.6 MB, free: 2.891 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.458/1.458, allocations: 221.5 MB / 395.4 MB, free: 10.8 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009076/0.0009073, allocations: 94.41 kB / 478.2 MB, free: 1.324 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.186e-05/2.181e-05, allocations: 4 kB / 0.5536 GB, free: 8.938 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4752/0.4753, allocations: 82.3 MB / 0.634 GB, free: 40.8 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1517/0.6271, allocations: 112.7 MB / 0.7441 GB, free: 9.961 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003064/0.6274, allocations: 115.9 kB / 0.7442 GB, free: 9.848 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01188/0.6393, allocations: 3.806 MB / 0.7479 GB, free: 6.035 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.152e-06/0.6394, allocations: 0 / 0.7479 GB, free: 6.035 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.6394, allocations: 0 / 0.7479 GB, free: 6.035 MB / 0.5261 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.0003856/0.6398, allocations: 388.1 kB / 0.7482 GB, free: 5.613 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.6398, allocations: 12.03 kB / 0.7483 GB, free: 5.602 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.232e-05/0.6399, allocations: 7.906 kB / 0.7483 GB, free: 5.594 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001217/0.64, allocations: 171 kB / 0.7484 GB, free: 5.387 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.157e-05/0.64, allocations: 4 kB / 0.7484 GB, free: 5.383 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.14e-05/0.64, allocations: 0 / 0.7484 GB, free: 5.383 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.827e-05/0.6401, allocations: 35.97 kB / 0.7485 GB, free: 5.348 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.008e-05/0.6402, allocations: 65.67 kB / 0.7485 GB, free: 5.277 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.6402, allocations: 0 / 0.7485 GB, free: 5.277 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.147e-06/0.6402, allocations: 4 kB / 0.7485 GB, free: 5.273 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.211e-05/0.6403, allocations: 4 kB / 0.7485 GB, free: 5.27 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002062/0.6405, allocations: 158.1 kB / 0.7487 GB, free: 5.078 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 7.746e-05/0.6406, allocations: 66.48 kB / 0.7488 GB, free: 5.004 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.438e-05/0.6406, allocations: 44.88 kB / 0.7488 GB, free: 4.957 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 7.635e-06/0.6406, allocations: 0 / 0.7488 GB, free: 4.957 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.439e-05/0.6407, allocations: 30.56 kB / 0.7488 GB, free: 4.918 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=10): time 9.62e-07/0.6407, allocations: 4 kB / 0.7488 GB, free: 4.914 MB / 0.5261 GB Notification: Performance of matching and sorting (n=10): time 0.0002101/0.6409, allocations: 113.6 kB / 0.7489 GB, free: 4.797 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.855e-05/0.6409, allocations: 51.41 kB / 0.749 GB, free: 4.734 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.66e-05/0.641, allocations: 124.8 kB / 0.7491 GB, free: 4.605 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.4e-05/0.641, allocations: 25.7 kB / 0.7491 GB, free: 4.574 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.796e-05/0.6411, allocations: 92.14 kB / 0.7492 GB, free: 4.48 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.008e-05/0.6411, allocations: 31.55 kB / 0.7492 GB, free: 4.449 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.837e-06/0.6411, allocations: 0 / 0.7492 GB, free: 4.449 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.676e-05/0.6412, allocations: 322.9 kB / 0.7496 GB, free: 4.125 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.638e-05/0.6413, allocations: 31.97 kB / 0.7496 GB, free: 4.094 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.551e-05/0.6413, allocations: 31.98 kB / 0.7496 GB, free: 4.062 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.027e-05/0.6414, allocations: 39.97 kB / 0.7497 GB, free: 4.023 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.6414, allocations: 0 / 0.7497 GB, free: 4.023 MB / 0.5261 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001331/0.6415, allocations: 113.5 kB / 0.7498 GB, free: 3.906 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.6416, allocations: 4 kB / 0.7498 GB, free: 3.902 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.6416, allocations: 4 kB / 0.7498 GB, free: 3.898 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.6416, allocations: 0 / 0.7498 GB, free: 3.898 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.232e-06/0.6416, allocations: 0 / 0.7498 GB, free: 3.898 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.316e-06/0.6416, allocations: 4.156 kB / 0.7498 GB, free: 3.895 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.755e-05/0.6416, allocations: 7.938 kB / 0.7498 GB, free: 3.887 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.724e-05/0.6417, allocations: 4 kB / 0.7498 GB, free: 3.883 MB / 0.5261 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.844e-05/0.6417, allocations: 105 kB / 0.7499 GB, free: 3.773 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001236/0.6418, allocations: 113.5 kB / 0.75 GB, free: 3.656 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.867e-06/0.6419, allocations: 3.906 kB / 0.75 GB, free: 3.652 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.777e-05/0.6419, allocations: 16.61 kB / 0.75 GB, free: 3.641 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.747e-05/0.6419, allocations: 7.984 kB / 0.75 GB, free: 3.633 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.6419, allocations: 0 / 0.75 GB, free: 3.633 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.6419, allocations: 8.031 kB / 0.75 GB, free: 3.625 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001399/0.6421, allocations: 154.1 kB / 0.7502 GB, free: 3.438 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.6421, allocations: 0 / 0.7502 GB, free: 3.438 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.329e-06/0.6421, allocations: 7.953 kB / 0.7502 GB, free: 3.43 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.6421, allocations: 0 / 0.7502 GB, free: 3.43 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.843e-06/0.6421, allocations: 0 / 0.7502 GB, free: 3.43 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.6421, allocations: 0 / 0.7502 GB, free: 3.43 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.6421, allocations: 0 / 0.7502 GB, free: 3.43 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000147/0.6423, allocations: 137 kB / 0.7503 GB, free: 3.277 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.002e-05/0.6423, allocations: 89.03 kB / 0.7504 GB, free: 3.172 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.597e-05/0.6423, allocations: 11.89 kB / 0.7504 GB, free: 3.16 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.185e-05/0.6424, allocations: 4 kB / 0.7504 GB, free: 3.156 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.168e-05/0.6424, allocations: 0 / 0.7504 GB, free: 3.156 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.224e-06/0.6424, allocations: 4 kB / 0.7504 GB, free: 3.152 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 5.279e-05/0.6425, allocations: 99.27 kB / 0.7505 GB, free: 3.055 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6425, allocations: 0 / 0.7505 GB, free: 3.055 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003466/0.6428, allocations: 83.92 kB / 0.7506 GB, free: 2.973 MB / 0.5261 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005962/0.6434, allocations: 0.741 MB / 0.7513 GB, free: 2.199 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001014/0.6435, allocations: 59.98 kB / 0.7514 GB, free: 2.141 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.6435, allocations: 0 / 0.7514 GB, free: 2.141 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 3.289e-05/0.6436, allocations: 39.92 kB / 0.7514 GB, free: 2.102 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001157/0.6437, allocations: 12.81 kB / 0.7514 GB, free: 2.09 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004144/0.6441, allocations: 218.1 kB / 0.7516 GB, free: 1.84 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002595/0.6444, allocations: 0.6963 MB / 0.7523 GB, free: 1.117 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 3.655e-05/0.6444, allocations: 4 kB / 0.7523 GB, free: 1.113 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.01e-05/0.6445, allocations: 23.44 kB / 0.7523 GB, free: 1.09 MB / 0.5261 GB Notification: Performance of SimCode: time 2.41e-07/0.6445, allocations: 0 / 0.7523 GB, free: 1.09 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02143/0.6659, allocations: 2.273 MB / 0.7546 GB, free: 14.86 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000267/0.6663, allocations: 207.5 kB / 0.7548 GB, free: 14.57 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.548/2.214, allocations: 0.625 kB / 0.7548 GB, free: 14.57 MB / 0.5417 GB (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/linux/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)