Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells,fileNamePrefix="IDEAS_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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007057/0.007057, allocations: 103.6 kB / 15.73 MB, free: 6.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001613/0.001613, allocations: 190.8 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.265/1.265, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7592/0.7592, allocations: 132.2 MB / 422.7 MB, free: 6.543 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 63.92 kB / 0.5809 GB, free: 24.12 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1391/0.1404, allocations: 80.2 MB / 0.6592 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells): time 0.001653/0.1421, allocations: 0.5353 MB / 0.6597 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009274/0.143, allocations: 0.7808 MB / 0.6605 GB, free: 9.422 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.861e-05/0.1431, allocations: 0 / 0.6605 GB, free: 9.422 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.644e-05/0.1431, allocations: 0 / 0.6605 GB, free: 9.422 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.722e-06/0.1431, allocations: 0 / 0.6605 GB, free: 9.422 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002788/0.1434, allocations: 23.91 kB / 0.6605 GB, free: 9.398 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.174e-05/0.1435, allocations: 0 / 0.6605 GB, free: 9.398 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.459e-05/0.1435, allocations: 19.98 kB / 0.6606 GB, free: 9.379 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.425e-05/0.1435, allocations: 0 / 0.6606 GB, free: 9.379 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001296/0.1437, allocations: 15.98 kB / 0.6606 GB, free: 9.363 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.855e-06/0.1437, allocations: 0 / 0.6606 GB, free: 9.363 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 3.827e-06/0.1437, allocations: 0 / 0.6606 GB, free: 9.363 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.004e-05/0.1437, allocations: 0 / 0.6606 GB, free: 9.363 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.911e-05/0.1437, allocations: 3.984 kB / 0.6606 GB, free: 9.359 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 4.583e-05/0.1438, allocations: 0 / 0.6606 GB, free: 9.359 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.1438, allocations: 7.938 kB / 0.6606 GB, free: 9.352 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.813e-06/0.1438, allocations: 0 / 0.6606 GB, free: 9.352 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.079e-06/0.1438, allocations: 0 / 0.6606 GB, free: 9.352 MB / 0.4981 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.0002787/0.1441, allocations: 311.6 kB / 0.6609 GB, free: 9 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.653e-05/0.1442, allocations: 12.03 kB / 0.6609 GB, free: 8.988 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.179e-05/0.1442, allocations: 30.75 kB / 0.6609 GB, free: 8.949 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.255e-05/0.1442, allocations: 0.9375 kB / 0.6609 GB, free: 8.949 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.551e-05/0.1443, allocations: 168.3 kB / 0.6611 GB, free: 8.746 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.108e-06/0.1443, allocations: 384 / 0.6611 GB, free: 8.746 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.055e-05/0.1444, allocations: 8.062 kB / 0.6611 GB, free: 8.738 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.584e-05/0.1445, allocations: 33.7 kB / 0.6611 GB, free: 8.699 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.1445, allocations: 0 / 0.6611 GB, free: 8.699 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.853e-06/0.1445, allocations: 0 / 0.6611 GB, free: 8.699 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.1445, allocations: 0 / 0.6611 GB, free: 8.699 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.769e-05/0.1445, allocations: 0 / 0.6611 GB, free: 8.699 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003017/0.1448, allocations: 383.5 kB / 0.6615 GB, free: 8.273 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.676e-05/0.1449, allocations: 173.1 kB / 0.6616 GB, free: 8.094 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.859e-05/0.1449, allocations: 80.14 kB / 0.6617 GB, free: 8.012 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.762e-05/0.145, allocations: 75.28 kB / 0.6618 GB, free: 7.938 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.69e-05/0.145, allocations: 109.8 kB / 0.6619 GB, free: 7.82 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 1.192e-06/0.145, allocations: 0 / 0.6619 GB, free: 7.82 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 7.45e-05/0.1451, allocations: 29.73 kB / 0.6619 GB, free: 7.785 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.811e-05/0.1452, allocations: 134.6 kB / 0.6621 GB, free: 7.641 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.447e-05/0.1453, allocations: 93.84 kB / 0.6621 GB, free: 7.539 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.109e-05/0.1453, allocations: 25.7 kB / 0.6622 GB, free: 7.508 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.295e-05/0.1453, allocations: 84.14 kB / 0.6623 GB, free: 7.422 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.787e-06/0.1453, allocations: 0 / 0.6623 GB, free: 7.422 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.647e-05/0.1454, allocations: 9.719 kB / 0.6623 GB, free: 7.406 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.826e-05/0.1455, allocations: 318.8 kB / 0.6626 GB, free: 7.086 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.275e-06/0.1455, allocations: 4.125 kB / 0.6626 GB, free: 7.082 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.57e-06/0.1455, allocations: 4 kB / 0.6626 GB, free: 7.078 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.953e-05/0.1455, allocations: 4.859 kB / 0.6626 GB, free: 7.07 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1455, allocations: 0 / 0.6626 GB, free: 7.07 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.626e-05/0.1456, allocations: 33.7 kB / 0.6626 GB, free: 7.031 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.1457, allocations: 7.984 kB / 0.6626 GB, free: 7.023 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.1457, allocations: 3.938 kB / 0.6626 GB, free: 7.02 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.1457, allocations: 0 / 0.6626 GB, free: 7.02 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.751e-05/0.1458, allocations: 4.094 kB / 0.6626 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.078e-06/0.1458, allocations: 7.984 kB / 0.6626 GB, free: 7.008 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.103e-05/0.1458, allocations: 0 / 0.6626 GB, free: 7.008 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.059e-06/0.1458, allocations: 0 / 0.6626 GB, free: 7.008 MB / 0.4981 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.264e-05/0.1459, allocations: 189.9 kB / 0.6628 GB, free: 6.812 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.722e-05/0.146, allocations: 108.8 kB / 0.6629 GB, free: 6.699 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.944e-05/0.146, allocations: 116 kB / 0.663 GB, free: 6.574 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.595e-05/0.1461, allocations: 184.2 kB / 0.6632 GB, free: 6.387 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.148e-05/0.1461, allocations: 176.3 kB / 0.6634 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.867e-05/0.1462, allocations: 184.2 kB / 0.6635 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002111/0.1464, allocations: 413.1 kB / 0.6639 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.699e-05/0.1465, allocations: 104.9 kB / 0.664 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.83e-05/0.1465, allocations: 101 kB / 0.6641 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.421e-05/0.1466, allocations: 184.3 kB / 0.6643 GB, free: 5.156 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.227e-05/0.1466, allocations: 184.2 kB / 0.6645 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.576e-05/0.1467, allocations: 180.3 kB / 0.6647 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.125e-05/0.1468, allocations: 184.2 kB / 0.6648 GB, free: 4.598 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001255/0.1469, allocations: 304 kB / 0.6651 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.934e-05/0.147, allocations: 190.1 kB / 0.6653 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.617e-05/0.1471, allocations: 184.2 kB / 0.6655 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.057e-05/0.1471, allocations: 104.9 kB / 0.6656 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.761e-05/0.1472, allocations: 176.3 kB / 0.6658 GB, free: 3.59 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.143e-05/0.1472, allocations: 101 kB / 0.6658 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.444e-05/0.1473, allocations: 87.22 kB / 0.6659 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1473, allocations: 0 / 0.6659 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001978/0.1475, allocations: 0 / 0.6659 GB, free: 3.398 MB / 0.4981 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004382/0.1479, allocations: 0.8127 MB / 0.6667 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.397e-05/0.148, allocations: 0 / 0.6667 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.117e-06/0.148, allocations: 4 kB / 0.6667 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.065e-06/0.148, allocations: 3.938 kB / 0.6667 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003386/0.1484, allocations: 458.5 kB / 0.6672 GB, free: 2.098 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003271/0.1487, allocations: 187.5 kB / 0.6673 GB, free: 1.875 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002177/0.1489, allocations: 0.669 MB / 0.668 GB, free: 1.18 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.408e-05/0.149, allocations: 0 / 0.668 GB, free: 1.18 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.985e-05/0.149, allocations: 7.438 kB / 0.668 GB, free: 1.172 MB / 0.4981 GB Notification: Performance of SimCode: time 2e-07/0.149, allocations: 0 / 0.668 GB, free: 1.172 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01652/0.1655, allocations: 0.9437 MB / 0.6689 GB, free: 436 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.066/7.232, allocations: 10.5 kB / 0.6689 GB, free: 428 kB / 0.4981 GB (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe 2>&1)