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.002026/0.002026, allocations: 180.2 kB / 7.651 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9419/0.9419, 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.504/1.504, allocations: 221.5 MB / 395.5 MB, free: 10.81 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.0008956/0.0008954, allocations: 103.3 kB / 478.2 MB, free: 1.309 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.253e-05/2.223e-05, allocations: 4 kB / 0.5536 GB, free: 8.902 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4335/0.4335, allocations: 82.31 MB / 0.634 GB, free: 40.74 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1447/0.5783, allocations: 111.6 MB / 0.743 GB, free: 11.04 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003304/0.5786, allocations: 99.92 kB / 0.7431 GB, free: 10.94 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.003876/0.5825, allocations: 1.326 MB / 0.7444 GB, free: 9.609 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.422e-06/0.5826, allocations: 0 / 0.7444 GB, free: 9.609 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.085e-05/0.5826, allocations: 4 kB / 0.7444 GB, free: 9.605 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.0003182/0.5829, allocations: 346.3 kB / 0.7447 GB, free: 9.223 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.753e-05/0.583, allocations: 8.031 kB / 0.7447 GB, free: 9.215 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.485e-05/0.583, allocations: 0 / 0.7447 GB, free: 9.215 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001917/0.5832, allocations: 186.9 kB / 0.7449 GB, free: 8.992 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.115e-05/0.5832, allocations: 0 / 0.7449 GB, free: 8.992 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.288e-05/0.5832, allocations: 0 / 0.7449 GB, free: 8.992 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.359e-05/0.5833, allocations: 4 kB / 0.7449 GB, free: 8.988 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.315e-05/0.5834, allocations: 47.34 kB / 0.7449 GB, free: 8.93 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.5834, allocations: 4 kB / 0.7449 GB, free: 8.926 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.616e-06/0.5834, allocations: 0 / 0.7449 GB, free: 8.926 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.5834, allocations: 0 / 0.7449 GB, free: 8.926 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001673/0.5836, allocations: 155 kB / 0.7451 GB, free: 8.734 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 5.302e-05/0.5837, allocations: 33.16 kB / 0.7451 GB, free: 8.684 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.596e-05/0.5837, allocations: 25.83 kB / 0.7451 GB, free: 8.652 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.441e-05/0.5837, allocations: 3.984 kB / 0.7451 GB, free: 8.648 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.405e-05/0.5837, allocations: 34.5 kB / 0.7452 GB, free: 8.605 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.5838, allocations: 0 / 0.7452 GB, free: 8.605 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.0001277/0.5839, allocations: 41.61 kB / 0.7452 GB, free: 8.559 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.941e-05/0.5839, allocations: 81.11 kB / 0.7453 GB, free: 8.461 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001067/0.5841, allocations: 128 kB / 0.7454 GB, free: 8.332 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.385e-05/0.5841, allocations: 25.7 kB / 0.7454 GB, free: 8.301 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.928e-05/0.5841, allocations: 95.98 kB / 0.7455 GB, free: 8.203 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.819e-05/0.5842, allocations: 7.891 kB / 0.7455 GB, free: 8.195 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.267e-06/0.5842, allocations: 0 / 0.7455 GB, free: 8.195 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001126/0.5843, allocations: 318.8 kB / 0.7458 GB, free: 7.875 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.067e-05/0.5843, allocations: 27.92 kB / 0.7459 GB, free: 7.848 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.472e-05/0.5844, allocations: 20 kB / 0.7459 GB, free: 7.828 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.402e-05/0.5844, allocations: 31.98 kB / 0.7459 GB, free: 7.797 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.5845, allocations: 4 kB / 0.7459 GB, free: 7.793 MB / 0.5261 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001233/0.5846, allocations: 89.62 kB / 0.746 GB, free: 7.699 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.5846, allocations: 4 kB / 0.746 GB, free: 7.695 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.094e-05/0.5846, allocations: 4 kB / 0.746 GB, free: 7.691 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.5847, allocations: 0 / 0.746 GB, free: 7.691 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.629e-05/0.5847, allocations: 4 kB / 0.746 GB, free: 7.688 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.5847, allocations: 0 / 0.746 GB, free: 7.688 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.263e-05/0.5848, allocations: 15.84 kB / 0.746 GB, free: 7.672 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.865e-06/0.5848, allocations: 0 / 0.746 GB, free: 7.672 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 (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.395e-05/0.5849, allocations: 101 kB / 0.7461 GB, free: 7.566 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 5.771e-05/0.5849, allocations: 57.48 kB / 0.7462 GB, free: 7.504 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.814e-06/0.5849, allocations: 7.844 kB / 0.7462 GB, free: 7.496 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.832e-05/0.585, allocations: 3.969 kB / 0.7462 GB, free: 7.496 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.585, allocations: 7.984 kB / 0.7462 GB, free: 7.488 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.666e-06/0.585, allocations: 0 / 0.7462 GB, free: 7.488 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.585, allocations: 0 / 0.7462 GB, free: 7.488 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000106/0.5851, allocations: 142.2 kB / 0.7463 GB, free: 7.312 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.5851, allocations: 0 / 0.7463 GB, free: 7.312 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.1e-05/0.5851, allocations: 7.953 kB / 0.7463 GB, free: 7.305 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.095e-06/0.5851, allocations: 4.062 kB / 0.7464 GB, free: 7.301 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.881e-06/0.5851, allocations: 3.938 kB / 0.7464 GB, free: 7.297 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.5851, allocations: 0 / 0.7464 GB, free: 7.297 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.5852, allocations: 4 kB / 0.7464 GB, free: 7.293 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.6e-05/0.5853, allocations: 83.66 kB / 0.7464 GB, free: 7.184 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.637e-05/0.5853, allocations: 85.02 kB / 0.7465 GB, free: 7.082 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.284e-05/0.5853, allocations: 4.031 kB / 0.7465 GB, free: 7.078 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.66e-05/0.5853, allocations: 0 / 0.7465 GB, free: 7.078 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.238e-05/0.5854, allocations: 3.984 kB / 0.7465 GB, free: 7.074 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-06/0.5854, allocations: 4 kB / 0.7465 GB, free: 7.07 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 5.568e-05/0.5854, allocations: 94.66 kB / 0.7466 GB, free: 6.98 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5854, allocations: 0 / 0.7466 GB, free: 6.98 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002077/0.5857, allocations: 23.98 kB / 0.7466 GB, free: 6.957 MB / 0.5261 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.0004315/0.5861, allocations: 0.7089 MB / 0.7473 GB, free: 6.211 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001574/0.5863, allocations: 81.67 kB / 0.7474 GB, free: 6.125 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.5863, allocations: 0 / 0.7474 GB, free: 6.125 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 1.159e-05/0.5863, allocations: 7.938 kB / 0.7474 GB, free: 6.117 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001147/0.5864, allocations: 9.016 kB / 0.7474 GB, free: 6.109 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003193/0.5867, allocations: 138.2 kB / 0.7476 GB, free: 5.934 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002307/0.587, allocations: 0.6846 MB / 0.7482 GB, free: 5.223 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 1.931e-05/0.587, allocations: 4 kB / 0.7482 GB, free: 5.219 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.853e-05/0.587, allocations: 15.42 kB / 0.7482 GB, free: 5.207 MB / 0.5261 GB Notification: Performance of SimCode: time 2.5e-07/0.587, allocations: 0 / 0.7482 GB, free: 5.207 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01769/0.6047, allocations: 1.102 MB / 0.7493 GB, free: 4.141 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000216/0.605, allocations: 202.1 kB / 0.7495 GB, free: 3.875 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.157/2.762, allocations: 6.578 kB / 0.7495 GB, free: 3.875 MB / 0.5261 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)