Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.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.AggregationCellTimes,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes",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.001709/0.001709, allocations: 174.1 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9043/0.9043, allocations: 133.4 MB / 146.7 MB, free: 10.78 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.615/1.615, allocations: 221.3 MB / 400.4 MB, free: 5.844 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008672/0.0008672, allocations: 99.42 kB / 483.3 MB, free: 5.867 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.938e-05/3.949e-05, allocations: 4.531 kB / 0.5602 GB, free: 87.84 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1556/0.1557, allocations: 82.31 MB / 0.6406 GB, free: 7.672 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5906/0.7463, allocations: 112.3 MB / 0.7502 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002719/0.7467, allocations: 100.5 kB / 0.7503 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.003891/0.7506, allocations: 1.341 MB / 0.7516 GB, free: 27.52 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.884e-06/0.7506, allocations: 0 / 0.7516 GB, free: 27.52 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 9.608e-06/0.7506, allocations: 0 / 0.7516 GB, free: 27.52 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.000274/0.7509, allocations: 349.1 kB / 0.7519 GB, free: 27.16 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/0.7509, allocations: 7.844 kB / 0.7519 GB, free: 27.16 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.624e-05/0.751, allocations: 33.94 kB / 0.752 GB, free: 27.12 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.856e-05/0.751, allocations: 9.281 kB / 0.752 GB, free: 27.12 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001569/0.7512, allocations: 174.7 kB / 0.7522 GB, free: 26.91 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.855e-06/0.7512, allocations: 0 / 0.7522 GB, free: 26.91 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.696e-06/0.7512, allocations: 0 / 0.7522 GB, free: 26.91 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001085/0.7513, allocations: 53.44 kB / 0.7522 GB, free: 26.86 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.7513, allocations: 4 kB / 0.7522 GB, free: 26.86 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.935e-06/0.7513, allocations: 0 / 0.7522 GB, free: 26.86 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.7514, allocations: 0 / 0.7522 GB, free: 26.86 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.405e-05/0.7514, allocations: 6.547 kB / 0.7522 GB, free: 26.86 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001664/0.7516, allocations: 174.1 kB / 0.7524 GB, free: 26.66 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 4.347e-05/0.7516, allocations: 40.62 kB / 0.7524 GB, free: 26.61 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.86e-05/0.7516, allocations: 21.41 kB / 0.7524 GB, free: 26.59 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.172e-05/0.7517, allocations: 2.859 kB / 0.7524 GB, free: 26.59 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.295e-05/0.7517, allocations: 34.38 kB / 0.7525 GB, free: 26.55 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.7517, allocations: 0 / 0.7525 GB, free: 26.55 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2): time 0.0001165/0.7518, allocations: 47.48 kB / 0.7525 GB, free: 26.51 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.636e-05/0.7519, allocations: 85.05 kB / 0.7526 GB, free: 26.41 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001089/0.752, allocations: 122.5 kB / 0.7527 GB, free: 26.32 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.562e-05/0.752, allocations: 29.33 kB / 0.7527 GB, free: 26.29 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.782e-05/0.752, allocations: 90.48 kB / 0.7528 GB, free: 26.2 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.458e-05/0.7521, allocations: 7.812 kB / 0.7528 GB, free: 26.2 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.146e-06/0.7521, allocations: 3.938 kB / 0.7528 GB, free: 26.19 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001189/0.7522, allocations: 316.8 kB / 0.7531 GB, free: 25.88 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.001e-05/0.7522, allocations: 29.55 kB / 0.7532 GB, free: 25.88 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.376e-05/0.7523, allocations: 27.09 kB / 0.7532 GB, free: 25.88 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.541e-05/0.7523, allocations: 36.88 kB / 0.7532 GB, free: 25.87 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.7523, allocations: 0 / 0.7532 GB, free: 25.87 MB / 0.5105 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001134/0.7524, allocations: 93.11 kB / 0.7533 GB, free: 25.84 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.7525, allocations: 4.906 kB / 0.7533 GB, free: 25.84 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.596e-05/0.7525, allocations: 0 / 0.7533 GB, free: 25.84 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.7525, allocations: 0 / 0.7533 GB, free: 25.84 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.41e-05/0.7526, allocations: 3.875 kB / 0.7533 GB, free: 25.84 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.7526, allocations: 0 / 0.7533 GB, free: 25.84 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.685e-05/0.7526, allocations: 11.69 kB / 0.7533 GB, free: 25.83 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.564e-06/0.7526, allocations: 0 / 0.7533 GB, free: 25.83 MB / 0.5105 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 8.015e-05/0.7527, allocations: 112.8 kB / 0.7535 GB, free: 25.71 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.042e-05/0.7527, allocations: 10.56 kB / 0.7535 GB, free: 25.71 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.355e-05/0.7528, allocations: 7.406 kB / 0.7535 GB, free: 25.7 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.7528, allocations: 0 / 0.7535 GB, free: 25.7 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.7528, allocations: 7.781 kB / 0.7535 GB, free: 25.7 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.7528, allocations: 96 / 0.7535 GB, free: 25.7 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.281e-05/0.7529, allocations: 161.6 kB / 0.7536 GB, free: 25.51 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.147e-06/0.7529, allocations: 8.812 kB / 0.7536 GB, free: 25.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.736e-05/0.7529, allocations: 3.844 kB / 0.7536 GB, free: 25.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.7529, allocations: 4 kB / 0.7536 GB, free: 25.5 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.38e-06/0.7529, allocations: 0 / 0.7536 GB, free: 25.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.7529, allocations: 2.812 kB / 0.7536 GB, free: 25.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.7529, allocations: 7.906 kB / 0.7537 GB, free: 25.49 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.541e-05/0.753, allocations: 89.03 kB / 0.7537 GB, free: 25.4 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.193e-05/0.7531, allocations: 77.11 kB / 0.7538 GB, free: 25.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.172e-05/0.7531, allocations: 4.031 kB / 0.7538 GB, free: 25.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.677e-05/0.7531, allocations: 0 / 0.7538 GB, free: 25.3 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.395e-05/0.7531, allocations: 10.58 kB / 0.7538 GB, free: 25.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.794e-06/0.7531, allocations: 0 / 0.7538 GB, free: 25.3 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 5.961e-05/0.7532, allocations: 100.7 kB / 0.7539 GB, free: 25.22 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7532, allocations: 0 / 0.7539 GB, free: 25.22 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002346/0.7534, allocations: 19.38 kB / 0.7539 GB, free: 25.22 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * 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.0004334/0.7539, allocations: 0.7123 MB / 0.7546 GB, free: 24.53 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001212/0.754, allocations: 80.58 kB / 0.7547 GB, free: 24.49 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.754, allocations: 3.938 kB / 0.7547 GB, free: 24.49 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 1.027e-05/0.754, allocations: 6.594 kB / 0.7547 GB, free: 24.49 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.534e-05/0.7541, allocations: 4.062 kB / 0.7547 GB, free: 24.49 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002881/0.7544, allocations: 133.1 kB / 0.7549 GB, free: 24.36 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002715/0.7547, allocations: 0.6919 MB / 0.7555 GB, free: 23.66 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 1.756e-05/0.7547, allocations: 0 / 0.7555 GB, free: 23.66 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.513e-05/0.7548, allocations: 17.28 kB / 0.7555 GB, free: 23.66 MB / 0.5105 GB Notification: Performance of SimCode: time 2.81e-07/0.7548, allocations: 0 / 0.7555 GB, free: 23.66 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01185/0.7666, allocations: 1.425 MB / 0.7569 GB, free: 23.54 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001646/0.7668, allocations: 205.8 kB / 0.7571 GB, free: 23.32 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.539/2.306, allocations: 7.938 kB / 0.7571 GB, free: 23.31 MB / 0.5105 GB (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe 2>&1)