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/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_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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001381/0.001381, allocations: 173.9 kB / 7.648 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.7692/0.7692, allocations: 133.6 MB / 141.6 MB, free: 2.863 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.581/1.581, allocations: 221.5 MB / 395.4 MB, free: 10.79 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.0009284/0.0009284, allocations: 111.4 kB / 478.2 MB, free: 1.328 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.185e-05/2.164e-05, allocations: 4 kB / 0.5536 GB, free: 8.926 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4822/0.4823, allocations: 82.29 MB / 0.634 GB, free: 40.74 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1503/0.6326, allocations: 112.7 MB / 0.744 GB, free: 9.953 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002919/0.633, allocations: 107.9 kB / 0.7442 GB, free: 9.848 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01139/0.6444, allocations: 3.819 MB / 0.7479 GB, free: 6.027 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.563e-06/0.6444, allocations: 4 kB / 0.7479 GB, free: 6.023 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.062e-06/0.6444, allocations: 0 / 0.7479 GB, free: 6.023 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.0003886/0.6448, allocations: 382.2 kB / 0.7482 GB, free: 5.605 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/0.6449, allocations: 16.03 kB / 0.7483 GB, free: 5.59 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.247e-05/0.6449, allocations: 3.906 kB / 0.7483 GB, free: 5.586 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001337/0.6451, allocations: 174.9 kB / 0.7484 GB, free: 5.375 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.087e-05/0.6451, allocations: 0 / 0.7484 GB, free: 5.375 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.587e-06/0.6451, allocations: 4 kB / 0.7484 GB, free: 5.371 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.752e-05/0.6452, allocations: 35.97 kB / 0.7485 GB, free: 5.336 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.034e-05/0.6453, allocations: 65.67 kB / 0.7485 GB, free: 5.266 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.962e-06/0.6453, allocations: 0 / 0.7485 GB, free: 5.266 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.326e-06/0.6453, allocations: 0 / 0.7485 GB, free: 5.266 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.054e-05/0.6453, allocations: 4 kB / 0.7485 GB, free: 5.262 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002088/0.6455, allocations: 162.1 kB / 0.7487 GB, free: 5.066 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 8.29e-05/0.6456, allocations: 66.53 kB / 0.7488 GB, free: 4.992 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.975e-05/0.6457, allocations: 44.88 kB / 0.7488 GB, free: 4.945 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 7.123e-06/0.6457, allocations: 0 / 0.7488 GB, free: 4.945 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.082e-05/0.6457, allocations: 30.56 kB / 0.7488 GB, free: 4.906 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=10): time 8.82e-07/0.6457, allocations: 0 / 0.7488 GB, free: 4.906 MB / 0.5261 GB Notification: Performance of matching and sorting (n=10): time 0.0002015/0.6459, allocations: 113.6 kB / 0.7489 GB, free: 4.789 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.662e-05/0.646, allocations: 55.44 kB / 0.749 GB, free: 4.723 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.276e-05/0.6461, allocations: 120.9 kB / 0.7491 GB, free: 4.598 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.271e-05/0.6461, allocations: 25.7 kB / 0.7491 GB, free: 4.566 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 6.161e-05/0.6462, allocations: 92.14 kB / 0.7492 GB, free: 4.473 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.06e-05/0.6462, allocations: 31.55 kB / 0.7492 GB, free: 4.441 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.968e-06/0.6462, allocations: 0 / 0.7492 GB, free: 4.441 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001291/0.6464, allocations: 318.8 kB / 0.7496 GB, free: 4.121 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.029e-05/0.6464, allocations: 31.97 kB / 0.7496 GB, free: 4.09 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.421e-05/0.6465, allocations: 31.98 kB / 0.7496 GB, free: 4.059 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.751e-05/0.6465, allocations: 44.09 kB / 0.7497 GB, free: 4.016 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.6465, allocations: 3.938 kB / 0.7497 GB, free: 4.012 MB / 0.5261 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001417/0.6467, allocations: 117.5 kB / 0.7498 GB, free: 3.891 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.6467, allocations: 4 kB / 0.7498 GB, free: 3.887 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.6467, allocations: 0 / 0.7498 GB, free: 3.887 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.6467, allocations: 4 kB / 0.7498 GB, free: 3.883 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.72e-07/0.6467, allocations: 0 / 0.7498 GB, free: 3.883 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.427e-06/0.6468, allocations: 0 / 0.7498 GB, free: 3.883 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.597e-05/0.6468, allocations: 0 / 0.7498 GB, free: 3.883 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.705e-05/0.6468, allocations: 4 kB / 0.7498 GB, free: 3.879 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 7.861e-05/0.6469, allocations: 105 kB / 0.7499 GB, free: 3.77 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001291/0.647, allocations: 121.5 kB / 0.75 GB, free: 3.645 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.949e-06/0.647, allocations: 3.906 kB / 0.75 GB, free: 3.641 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.858e-05/0.6471, allocations: 16.61 kB / 0.75 GB, free: 3.629 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.396e-05/0.6471, allocations: 4 kB / 0.75 GB, free: 3.625 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.329e-06/0.6471, allocations: 0 / 0.75 GB, free: 3.625 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.6471, allocations: 4 kB / 0.75 GB, free: 3.621 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001569/0.6473, allocations: 154.1 kB / 0.7502 GB, free: 3.434 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.6473, allocations: 0 / 0.7502 GB, free: 3.434 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.844e-06/0.6473, allocations: 7.984 kB / 0.7502 GB, free: 3.426 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.6473, allocations: 4 kB / 0.7502 GB, free: 3.422 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.492e-06/0.6473, allocations: 0 / 0.7502 GB, free: 3.422 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.123e-06/0.6473, allocations: 0 / 0.7502 GB, free: 3.422 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.6473, allocations: 0 / 0.7502 GB, free: 3.422 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001739/0.6475, allocations: 137 kB / 0.7503 GB, free: 3.27 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.884e-05/0.6475, allocations: 88.94 kB / 0.7504 GB, free: 3.164 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.46e-05/0.6476, allocations: 7.891 kB / 0.7504 GB, free: 3.156 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.453e-05/0.6476, allocations: 8.031 kB / 0.7504 GB, free: 3.148 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.143e-05/0.6476, allocations: 0 / 0.7504 GB, free: 3.148 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.354e-06/0.6476, allocations: 4 kB / 0.7504 GB, free: 3.145 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 6.643e-05/0.6477, allocations: 103.6 kB / 0.7505 GB, free: 3.043 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6477, allocations: 0 / 0.7505 GB, free: 3.043 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.000326/0.648, allocations: 87.91 kB / 0.7506 GB, free: 2.957 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.0006403/0.6487, allocations: 0.7389 MB / 0.7513 GB, free: 2.188 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001264/0.6488, allocations: 63.97 kB / 0.7514 GB, free: 2.125 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.6488, allocations: 0 / 0.7514 GB, free: 2.125 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 3.318e-05/0.6489, allocations: 35.94 kB / 0.7514 GB, free: 2.09 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001226/0.649, allocations: 8.828 kB / 0.7514 GB, free: 2.082 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004209/0.6494, allocations: 213.9 kB / 0.7516 GB, free: 1.836 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003127/0.6497, allocations: 0.6963 MB / 0.7523 GB, free: 1.113 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 3.624e-05/0.6498, allocations: 8.125 kB / 0.7523 GB, free: 1.105 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.375e-05/0.6498, allocations: 19.44 kB / 0.7523 GB, free: 1.086 MB / 0.5261 GB Notification: Performance of SimCode: time 2.61e-07/0.6498, allocations: 4 kB / 0.7523 GB, free: 1.082 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02126/0.6711, allocations: 2.266 MB / 0.7546 GB, free: 14.85 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000231/0.6714, allocations: 214.3 kB / 0.7548 GB, free: 14.57 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.506/2.177, allocations: 4 kB / 0.7548 GB, free: 14.56 MB / 0.5417 GB (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/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors_fmu --startTime=0 --stopTime=1 --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)