Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.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.CountAggregationCells,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells",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.001497/0.001497, allocations: 176.2 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.7901/0.7901, allocations: 133.6 MB / 141.6 MB, free: 2.922 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.658/1.658, allocations: 221.5 MB / 395.4 MB, free: 10.84 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.0008864/0.0008864, allocations: 105.5 kB / 478.2 MB, free: 1.332 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.419e-05/3.427e-05, allocations: 4 kB / 0.5536 GB, free: 8.934 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4693/0.4694, allocations: 82.3 MB / 0.634 GB, free: 40.76 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.151/0.6204, allocations: 110.6 MB / 0.742 GB, free: 12.04 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002497/0.6207, allocations: 99.92 kB / 0.7421 GB, free: 11.94 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.00153/0.6223, allocations: 0.6965 MB / 0.7428 GB, free: 11.25 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.593e-06/0.6223, allocations: 0 / 0.7428 GB, free: 11.25 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 3.537e-06/0.6223, allocations: 4 kB / 0.7428 GB, free: 11.25 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002502/0.6226, allocations: 322.5 kB / 0.7431 GB, free: 10.89 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/0.6226, allocations: 8.031 kB / 0.7431 GB, free: 10.88 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.328e-05/0.6226, allocations: 3.984 kB / 0.7431 GB, free: 10.88 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001037/0.6228, allocations: 167 kB / 0.7433 GB, free: 10.67 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.191e-05/0.6228, allocations: 0 / 0.7433 GB, free: 10.67 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.57e-06/0.6228, allocations: 0 / 0.7433 GB, free: 10.67 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.552e-05/0.6228, allocations: 4 kB / 0.7433 GB, free: 10.67 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.308e-05/0.6229, allocations: 25.7 kB / 0.7433 GB, free: 10.64 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.6229, allocations: 0 / 0.7433 GB, free: 10.64 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.035e-06/0.6229, allocations: 0 / 0.7433 GB, free: 10.64 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.6229, allocations: 4 kB / 0.7433 GB, free: 10.63 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000267/0.6232, allocations: 367.9 kB / 0.7437 GB, free: 10.23 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 8.253e-05/0.6233, allocations: 169.1 kB / 0.7438 GB, free: 10.06 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.8e-05/0.6233, allocations: 80.14 kB / 0.7439 GB, free: 9.977 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 3.577e-05/0.6234, allocations: 79.28 kB / 0.744 GB, free: 9.898 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.781e-05/0.6234, allocations: 109.9 kB / 0.7441 GB, free: 9.781 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=0): time 8.62e-07/0.6234, allocations: 0 / 0.7441 GB, free: 9.781 MB / 0.5261 GB Notification: Performance of matching and sorting (n=0): time 6.271e-05/0.6235, allocations: 25.7 kB / 0.7441 GB, free: 9.75 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.67e-05/0.6235, allocations: 55.34 kB / 0.7442 GB, free: 9.684 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.173e-05/0.6236, allocations: 85 kB / 0.7442 GB, free: 9.594 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.403e-05/0.6236, allocations: 25.7 kB / 0.7443 GB, free: 9.562 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.282e-05/0.6237, allocations: 92.17 kB / 0.7443 GB, free: 9.469 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.665e-06/0.6237, allocations: 4 kB / 0.7443 GB, free: 9.465 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.344e-06/0.6237, allocations: 0 / 0.7443 GB, free: 9.465 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001116/0.6238, allocations: 318.8 kB / 0.7447 GB, free: 9.145 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.61e-06/0.6238, allocations: 0 / 0.7447 GB, free: 9.145 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.276e-06/0.6238, allocations: 0 / 0.7447 GB, free: 9.145 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.302e-05/0.6238, allocations: 4 kB / 0.7447 GB, free: 9.141 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.6238, allocations: 0 / 0.7447 GB, free: 9.141 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.293e-05/0.6239, allocations: 29.77 kB / 0.7447 GB, free: 9.105 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.6239, allocations: 8.031 kB / 0.7447 GB, free: 9.098 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.624, allocations: 3.938 kB / 0.7447 GB, free: 9.094 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.624, allocations: 0 / 0.7447 GB, free: 9.094 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.202e-05/0.624, allocations: 4 kB / 0.7447 GB, free: 9.09 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.624, allocations: 0 / 0.7447 GB, free: 9.09 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.498e-06/0.6241, allocations: 0 / 0.7447 GB, free: 9.09 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-06/0.6241, allocations: 0 / 0.7447 GB, free: 9.09 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: 1 (i) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 prepare postOptimizeDAE: time 9.183e-05/0.6242, allocations: 190 kB / 0.7449 GB, free: 8.898 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 6.979e-05/0.6242, allocations: 134.7 kB / 0.745 GB, free: 8.754 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.965e-05/0.6243, allocations: 104.9 kB / 0.7451 GB, free: 8.645 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.566e-05/0.6244, allocations: 112.7 kB / 0.7452 GB, free: 8.531 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-05/0.6244, allocations: 184.2 kB / 0.7454 GB, free: 8.344 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-05/0.6245, allocations: 176.3 kB / 0.7456 GB, free: 8.164 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.323e-05/0.6246, allocations: 180.2 kB / 0.7457 GB, free: 7.98 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001945/0.6248, allocations: 385.8 kB / 0.7461 GB, free: 7.559 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.483e-05/0.6248, allocations: 105.4 kB / 0.7462 GB, free: 7.449 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.299e-05/0.6249, allocations: 104.9 kB / 0.7463 GB, free: 7.34 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.447e-05/0.6249, allocations: 180.3 kB / 0.7465 GB, free: 7.156 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.408e-05/0.625, allocations: 180.3 kB / 0.7466 GB, free: 6.973 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.766e-05/0.6251, allocations: 188.2 kB / 0.7468 GB, free: 6.781 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.746e-05/0.6251, allocations: 176.3 kB / 0.747 GB, free: 6.602 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001557/0.6253, allocations: 307.7 kB / 0.7473 GB, free: 6.277 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 8.365e-05/0.6254, allocations: 182.1 kB / 0.7475 GB, free: 6.074 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.352e-05/0.6255, allocations: 188.2 kB / 0.7476 GB, free: 5.883 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001254/0.6256, allocations: 109 kB / 0.7477 GB, free: 5.77 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.11e-05/0.6257, allocations: 177.2 kB / 0.7479 GB, free: 5.59 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.827e-05/0.6257, allocations: 104.9 kB / 0.748 GB, free: 5.48 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.51e-05/0.6258, allocations: 75.28 kB / 0.7481 GB, free: 5.406 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.6e-07/0.6258, allocations: 0 / 0.7481 GB, free: 5.406 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002195/0.626, allocations: 4 kB / 0.7481 GB, free: 5.402 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 (0): * Single equations (assignments): 0 * 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.0003989/0.6264, allocations: 0.8088 MB / 0.7489 GB, free: 4.562 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 5.7e-05/0.6265, allocations: 4 kB / 0.7489 GB, free: 4.559 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.6265, allocations: 0 / 0.7489 GB, free: 4.559 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 1.232e-06/0.6265, allocations: 0 / 0.7489 GB, free: 4.559 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002878/0.6268, allocations: 0.5233 MB / 0.7494 GB, free: 4.031 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002667/0.6271, allocations: 154.9 kB / 0.7495 GB, free: 3.844 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002464/0.6273, allocations: 0.6729 MB / 0.7502 GB, free: 3.145 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 9.818e-06/0.6273, allocations: 0 / 0.7502 GB, free: 3.145 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.769e-05/0.6274, allocations: 7.438 kB / 0.7502 GB, free: 3.137 MB / 0.5261 GB Notification: Performance of SimCode: time 2.71e-07/0.6274, allocations: 3.938 kB / 0.7502 GB, free: 3.133 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02085/0.6482, allocations: 443.1 kB / 0.7506 GB, free: 2.73 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002562/0.6485, allocations: 208.4 kB / 0.7508 GB, free: 2.445 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.394/2.043, allocations: 0 / 0.7508 GB, free: 2.445 MB / 0.5261 GB (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells.fmu > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe 2>&1)