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.006849/0.00685, allocations: 170.6 kB / 15.11 MB, free: 6.039 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7538/0.7538, allocations: 135.2 MB / 151 MB, free: 13.84 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.591/1.591, allocations: 223.2 MB / 406.8 MB, free: 3.152 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.001061/0.001061, allocations: 107.1 kB / 489.9 MB, free: 10.88 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003578/0.0003579, allocations: 8 kB / 0.5692 GB, free: 14 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4233/0.4237, allocations: 82.31 MB / 0.6496 GB, free: 36.09 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1464/0.5702, allocations: 112.3 MB / 0.7593 GB, free: 3.598 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003083/0.5705, allocations: 111.9 kB / 0.7594 GB, free: 3.488 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.003826/0.5744, allocations: 1.345 MB / 0.7607 GB, free: 2.145 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.004e-06/0.5744, allocations: 0 / 0.7607 GB, free: 2.145 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.656e-06/0.5744, allocations: 0 / 0.7607 GB, free: 2.145 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003414/0.5748, allocations: 351.1 kB / 0.761 GB, free: 1.754 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.824e-05/0.5748, allocations: 8.031 kB / 0.7611 GB, free: 1.746 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.219e-05/0.5749, allocations: 30.56 kB / 0.7611 GB, free: 1.707 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.667e-05/0.5749, allocations: 15.84 kB / 0.7611 GB, free: 1.691 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00018/0.5751, allocations: 175 kB / 0.7613 GB, free: 1.48 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.372e-06/0.5751, allocations: 0 / 0.7613 GB, free: 1.48 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.151e-05/0.5751, allocations: 0 / 0.7613 GB, free: 1.48 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001107/0.5752, allocations: 43.42 kB / 0.7613 GB, free: 1.426 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-06/0.5752, allocations: 0 / 0.7613 GB, free: 1.426 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.734e-06/0.5753, allocations: 0 / 0.7613 GB, free: 1.426 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.5753, allocations: 4 kB / 0.7613 GB, free: 1.422 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.932e-05/0.5753, allocations: 15.86 kB / 0.7613 GB, free: 1.406 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001873/0.5755, allocations: 178.5 kB / 0.7615 GB, free: 1.18 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 5.536e-05/0.5756, allocations: 33.22 kB / 0.7615 GB, free: 1.129 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.157e-05/0.5756, allocations: 3.984 kB / 0.7615 GB, free: 1.125 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.555e-05/0.5756, allocations: 42.48 kB / 0.7616 GB, free: 1.074 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 8.21e-07/0.5756, allocations: 4 kB / 0.7616 GB, free: 1.07 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.0001376/0.5758, allocations: 45.69 kB / 0.7616 GB, free: 1.02 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.818e-05/0.5758, allocations: 81.11 kB / 0.7617 GB, free: 0.9219 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001096/0.5759, allocations: 138.1 kB / 0.7618 GB, free: 0.7812 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.364e-05/0.576, allocations: 25.7 kB / 0.7618 GB, free: 0.75 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.617e-05/0.576, allocations: 80.14 kB / 0.7619 GB, free: 0.668 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.596e-05/0.576, allocations: 3.906 kB / 0.7619 GB, free: 0.6641 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.238e-06/0.576, allocations: 4.25 kB / 0.7619 GB, free: 0.6602 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.799e-05/0.5761, allocations: 322.8 kB / 0.7622 GB, free: 344 kB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.169e-05/0.5762, allocations: 27.98 kB / 0.7623 GB, free: 316 kB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.63e-05/0.5762, allocations: 20 kB / 0.7623 GB, free: 296 kB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.856e-05/0.5763, allocations: 32.42 kB / 0.7623 GB, free: 264 kB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.5763, allocations: 3.953 kB / 0.7623 GB, free: 260 kB / 0.5261 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001153/0.5764, allocations: 105 kB / 0.7624 GB, free: 152 kB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.5764, allocations: 4 kB / 0.7624 GB, free: 148 kB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.716e-05/0.5764, allocations: 0 / 0.7624 GB, free: 148 kB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.5765, allocations: 4 kB / 0.7624 GB, free: 144 kB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.586e-05/0.5765, allocations: 4 kB / 0.7624 GB, free: 140 kB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.5765, allocations: 0 / 0.7624 GB, free: 140 kB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.074e-05/0.5766, allocations: 11.84 kB / 0.7624 GB, free: 128 kB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.253e-06/0.5766, allocations: 0 / 0.7624 GB, free: 128 kB / 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 () * Number of clocked 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 7.812e-05/0.5767, allocations: 113.8 kB / 0.7626 GB, free: 4 kB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.37e-05/0.5767, allocations: 12.05 kB / 0.7626 GB, free: 15.99 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.587e-05/0.5767, allocations: 7.531 kB / 0.7626 GB, free: 15.98 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.5767, allocations: 0 / 0.7626 GB, free: 15.98 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/0.5767, allocations: 0 / 0.7626 GB, free: 15.98 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.5768, allocations: 8 kB / 0.7626 GB, free: 15.97 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001116/0.5769, allocations: 161.7 kB / 0.7627 GB, free: 15.76 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.057e-06/0.5769, allocations: 7.984 kB / 0.7627 GB, free: 15.75 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.653e-05/0.5769, allocations: 0 / 0.7627 GB, free: 15.75 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.5769, allocations: 7.953 kB / 0.7627 GB, free: 15.75 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.502e-06/0.5769, allocations: 0 / 0.7627 GB, free: 15.75 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.5769, allocations: 0 / 0.7627 GB, free: 15.75 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.5769, allocations: 0 / 0.7627 GB, free: 15.75 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.289e-05/0.577, allocations: 87.64 kB / 0.7628 GB, free: 15.63 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.008e-05/0.5771, allocations: 84.97 kB / 0.7629 GB, free: 15.53 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.309e-05/0.5771, allocations: 4 kB / 0.7629 GB, free: 15.53 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.847e-05/0.5771, allocations: 7.938 kB / 0.7629 GB, free: 15.52 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.768e-05/0.5772, allocations: 0 / 0.7629 GB, free: 15.52 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.506e-06/0.5772, allocations: 4 kB / 0.7629 GB, free: 15.52 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 5.596e-05/0.5772, allocations: 99.25 kB / 0.763 GB, free: 15.42 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5772, allocations: 4.031 kB / 0.763 GB, free: 15.41 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0001977/0.5774, allocations: 20 kB / 0.763 GB, free: 15.39 MB / 0.5417 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 () * Number of clocked 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.0004665/0.5779, allocations: 0.7186 MB / 0.7637 GB, free: 14.64 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001486/0.5781, allocations: 85.7 kB / 0.7638 GB, free: 14.55 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.5781, allocations: 4 kB / 0.7638 GB, free: 14.55 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 1.229e-05/0.5781, allocations: 7.938 kB / 0.7638 GB, free: 14.54 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001074/0.5782, allocations: 0 / 0.7638 GB, free: 14.54 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004922/0.5787, allocations: 351.6 kB / 0.7642 GB, free: 14.14 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002827/0.579, allocations: 0.6887 MB / 0.7648 GB, free: 13.43 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 2.052e-05/0.579, allocations: 0 / 0.7648 GB, free: 13.43 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.125e-05/0.5791, allocations: 15.42 kB / 0.7649 GB, free: 13.41 MB / 0.5417 GB Notification: Performance of SimCode: time 3.557e-06/0.5791, allocations: 0 / 0.7649 GB, free: 13.41 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01162/0.5907, allocations: 1.411 MB / 0.7662 GB, free: 12.23 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002061/0.591, allocations: 235.7 kB / 0.7665 GB, free: 11.99 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.469/2.06, allocations: 2.031 kB / 0.7665 GB, free: 11.99 MB / 0.5417 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)