Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_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_dev_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.01097/0.01097, allocations: 172 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9793/0.9793, allocations: 135.2 MB / 151 MB, free: 13.8 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.042/2.042, allocations: 223.2 MB / 406.8 MB, free: 3.234 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.001187/0.001187, allocations: 107.1 kB / 489.9 MB, free: 10.93 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003477/0.0003475, allocations: 8 kB / 0.5692 GB, free: 14.05 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5377/0.538, allocations: 82.31 MB / 0.6496 GB, free: 36.05 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2045/0.7426, allocations: 112.3 MB / 0.7593 GB, free: 3.555 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000388/0.743, allocations: 103.9 kB / 0.7594 GB, free: 3.453 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.004904/0.7479, allocations: 1.351 MB / 0.7607 GB, free: 2.105 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.924e-06/0.7479, allocations: 0 / 0.7607 GB, free: 2.105 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 9.728e-06/0.748, allocations: 4 kB / 0.7607 GB, free: 2.102 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.00041/0.7484, allocations: 355.1 kB / 0.761 GB, free: 1.707 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.345e-05/0.7485, allocations: 8.031 kB / 0.761 GB, free: 1.699 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.264e-05/0.7485, allocations: 34.5 kB / 0.7611 GB, free: 1.656 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.227e-05/0.7486, allocations: 7.906 kB / 0.7611 GB, free: 1.648 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001947/0.7488, allocations: 171 kB / 0.7613 GB, free: 1.441 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.022e-05/0.7488, allocations: 0 / 0.7613 GB, free: 1.441 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.546e-06/0.7488, allocations: 0 / 0.7613 GB, free: 1.441 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001335/0.7489, allocations: 51.41 kB / 0.7613 GB, free: 1.379 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.749, allocations: 0 / 0.7613 GB, free: 1.379 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.085e-06/0.749, allocations: 0 / 0.7613 GB, free: 1.379 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-06/0.749, allocations: 4 kB / 0.7613 GB, free: 1.375 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.018e-05/0.749, allocations: 7.938 kB / 0.7613 GB, free: 1.367 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002419/0.7493, allocations: 178.4 kB / 0.7615 GB, free: 1.141 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 6.505e-05/0.7493, allocations: 37.22 kB / 0.7615 GB, free: 1.086 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 5.841e-06/0.7494, allocations: 3.938 kB / 0.7615 GB, free: 1.082 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.866e-05/0.7494, allocations: 34.56 kB / 0.7616 GB, free: 1.039 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.7494, allocations: 0 / 0.7616 GB, free: 1.039 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.0001664/0.7496, allocations: 45.69 kB / 0.7616 GB, free: 0.9883 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.601e-05/0.7497, allocations: 81.36 kB / 0.7617 GB, free: 0.8906 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001419/0.7498, allocations: 144.4 kB / 0.7618 GB, free: 0.7461 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.861e-05/0.7499, allocations: 25.7 kB / 0.7618 GB, free: 0.7148 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.33e-05/0.7499, allocations: 84.12 kB / 0.7619 GB, free: 0.6289 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.443e-05/0.7499, allocations: 11.84 kB / 0.7619 GB, free: 0.6172 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.566e-06/0.7499, allocations: 0 / 0.7619 GB, free: 0.6172 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001463/0.7501, allocations: 314.8 kB / 0.7622 GB, free: 308 kB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.789e-05/0.7502, allocations: 27.98 kB / 0.7623 GB, free: 280 kB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.245e-05/0.7502, allocations: 23.98 kB / 0.7623 GB, free: 256 kB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.313e-05/0.7503, allocations: 31.94 kB / 0.7623 GB, free: 224 kB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.7503, allocations: 3.953 kB / 0.7623 GB, free: 220 kB / 0.5261 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001753/0.7505, allocations: 101.5 kB / 0.7624 GB, free: 112 kB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.7505, allocations: 4 kB / 0.7624 GB, free: 108 kB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.002e-05/0.7505, allocations: 0 / 0.7624 GB, free: 108 kB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/0.7506, allocations: 7.984 kB / 0.7624 GB, free: 100 kB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.98e-05/0.7506, allocations: 0 / 0.7624 GB, free: 100 kB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.7506, allocations: 0 / 0.7624 GB, free: 100 kB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.032e-05/0.7507, allocations: 11.84 kB / 0.7624 GB, free: 88 kB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.915e-06/0.7507, allocations: 0 / 0.7624 GB, free: 88 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 0.0001294/0.7508, allocations: 116.2 kB / 0.7625 GB, free: 15.96 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.871e-05/0.7509, allocations: 11.86 kB / 0.7626 GB, free: 15.95 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.523e-05/0.7509, allocations: 11.52 kB / 0.7626 GB, free: 15.94 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.7509, allocations: 4 kB / 0.7626 GB, free: 15.93 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.7509, allocations: 0 / 0.7626 GB, free: 15.93 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.751, allocations: 4 kB / 0.7626 GB, free: 15.93 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001586/0.7511, allocations: 161.7 kB / 0.7627 GB, free: 15.72 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.7511, allocations: 96 / 0.7627 GB, free: 15.72 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.343e-05/0.7512, allocations: 3.953 kB / 0.7627 GB, free: 15.72 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.7512, allocations: 7.984 kB / 0.7627 GB, free: 15.71 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.732e-06/0.7512, allocations: 4 kB / 0.7627 GB, free: 15.71 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.7512, allocations: 0 / 0.7627 GB, free: 15.71 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.7512, allocations: 3.938 kB / 0.7627 GB, free: 15.7 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001331/0.7514, allocations: 83.66 kB / 0.7628 GB, free: 15.59 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 6.768e-05/0.7514, allocations: 85.02 kB / 0.7629 GB, free: 15.49 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.055e-05/0.7515, allocations: 7.984 kB / 0.7629 GB, free: 15.48 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.591e-05/0.7515, allocations: 4.031 kB / 0.7629 GB, free: 15.48 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.922e-05/0.7515, allocations: 0 / 0.7629 GB, free: 15.48 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.508e-06/0.7515, allocations: 4 kB / 0.7629 GB, free: 15.48 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 8.507e-05/0.7516, allocations: 95.27 kB / 0.763 GB, free: 15.38 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.71e-07/0.7516, allocations: 0 / 0.763 GB, free: 15.38 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003267/0.752, allocations: 20 kB / 0.763 GB, free: 15.36 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.0006085/0.7526, allocations: 0.7225 MB / 0.7637 GB, free: 14.61 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001843/0.7528, allocations: 81.67 kB / 0.7638 GB, free: 14.52 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.7528, allocations: 4 kB / 0.7638 GB, free: 14.52 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 1.729e-05/0.7528, allocations: 11.88 kB / 0.7638 GB, free: 14.5 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001354/0.753, allocations: 4.156 kB / 0.7638 GB, free: 14.5 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007106/0.7537, allocations: 354.6 kB / 0.7642 GB, free: 14.11 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003468/0.7541, allocations: 0.6887 MB / 0.7648 GB, free: 13.39 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 2.255e-05/0.7541, allocations: 4 kB / 0.7649 GB, free: 13.39 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.252e-05/0.7541, allocations: 11.44 kB / 0.7649 GB, free: 13.38 MB / 0.5417 GB Notification: Performance of SimCode: time 3.41e-07/0.7542, allocations: 0 / 0.7649 GB, free: 13.38 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01771/0.7719, allocations: 1.412 MB / 0.7662 GB, free: 12.2 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000301/0.7722, allocations: 244.3 kB / 0.7665 GB, free: 11.95 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.765/2.537, allocations: 1.406 kB / 0.7665 GB, free: 11.95 MB / 0.5417 GB (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes.fmu > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe 2>&1)