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.006323/0.006323, allocations: 102.8 kB / 15.73 MB, free: 6 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.001423/0.001423, allocations: 195.8 kB / 16.67 MB, free: 5.926 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.263/1.263, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7476/0.7476, allocations: 132.2 MB / 422.7 MB, free: 6.555 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001175/0.001175, allocations: 66.58 kB / 0.5809 GB, free: 24.25 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1462/0.1473, allocations: 80.21 MB / 0.6592 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells): time 0.001515/0.1489, allocations: 0.5353 MB / 0.6598 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000798/0.1497, allocations: 0.7731 MB / 0.6605 GB, free: 9.523 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.684e-05/0.1497, allocations: 3.938 kB / 0.6605 GB, free: 9.52 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.207e-05/0.1498, allocations: 0 / 0.6605 GB, free: 9.52 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.781e-06/0.1498, allocations: 4 kB / 0.6605 GB, free: 9.516 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002717/0.1501, allocations: 27.91 kB / 0.6605 GB, free: 9.488 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.029e-05/0.1501, allocations: 0 / 0.6605 GB, free: 9.488 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.582e-05/0.1502, allocations: 8 kB / 0.6605 GB, free: 9.48 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.339e-05/0.1502, allocations: 0 / 0.6605 GB, free: 9.48 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001322/0.1503, allocations: 19.97 kB / 0.6606 GB, free: 9.461 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.837e-06/0.1503, allocations: 0 / 0.6606 GB, free: 9.461 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 3.637e-06/0.1503, allocations: 7.938 kB / 0.6606 GB, free: 9.453 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.628e-06/0.1504, allocations: 0 / 0.6606 GB, free: 9.453 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.947e-05/0.1504, allocations: 0 / 0.6606 GB, free: 9.453 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 3.754e-05/0.1504, allocations: 4 kB / 0.6606 GB, free: 9.449 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1504, allocations: 0 / 0.6606 GB, free: 9.449 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.663e-06/0.1504, allocations: 0 / 0.6606 GB, free: 9.449 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.075e-06/0.1504, allocations: 4 kB / 0.6606 GB, free: 9.445 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.0002586/0.1507, allocations: 303.6 kB / 0.6609 GB, free: 9.102 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.1507, allocations: 16.05 kB / 0.6609 GB, free: 9.086 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.701e-05/0.1508, allocations: 30.75 kB / 0.6609 GB, free: 9.047 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.723e-05/0.1508, allocations: 4.938 kB / 0.6609 GB, free: 9.043 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.456e-05/0.1509, allocations: 160.4 kB / 0.6611 GB, free: 8.848 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.133e-05/0.1509, allocations: 384 / 0.6611 GB, free: 8.848 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.758e-06/0.1509, allocations: 8.062 kB / 0.6611 GB, free: 8.84 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.743e-05/0.151, allocations: 29.7 kB / 0.6611 GB, free: 8.805 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.253e-06/0.151, allocations: 0 / 0.6611 GB, free: 8.805 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.941e-06/0.151, allocations: 0 / 0.6611 GB, free: 8.805 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.151, allocations: 0 / 0.6611 GB, free: 8.805 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.152e-05/0.1511, allocations: 7.938 kB / 0.6611 GB, free: 8.797 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002658/0.1513, allocations: 383.5 kB / 0.6615 GB, free: 8.371 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.596e-05/0.1514, allocations: 169.1 kB / 0.6616 GB, free: 8.195 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.774e-05/0.1515, allocations: 80.14 kB / 0.6617 GB, free: 8.113 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.759e-05/0.1515, allocations: 75.28 kB / 0.6618 GB, free: 8.039 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.181e-05/0.1515, allocations: 117.8 kB / 0.6619 GB, free: 7.914 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 8.71e-07/0.1515, allocations: 0 / 0.6619 GB, free: 7.914 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 6.016e-05/0.1516, allocations: 25.7 kB / 0.6619 GB, free: 7.883 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.852e-05/0.1517, allocations: 130.7 kB / 0.6621 GB, free: 7.742 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.616e-05/0.1517, allocations: 97.8 kB / 0.6621 GB, free: 7.637 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.02e-05/0.1518, allocations: 25.7 kB / 0.6622 GB, free: 7.605 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.189e-05/0.1518, allocations: 84.14 kB / 0.6623 GB, free: 7.52 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.434e-06/0.1518, allocations: 4.125 kB / 0.6623 GB, free: 7.516 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.443e-05/0.1518, allocations: 9.719 kB / 0.6623 GB, free: 7.5 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.55e-05/0.1519, allocations: 314.8 kB / 0.6626 GB, free: 7.184 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.385e-06/0.1519, allocations: 4 kB / 0.6626 GB, free: 7.18 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.517e-06/0.152, allocations: 0 / 0.6626 GB, free: 7.18 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.136e-05/0.152, allocations: 8.797 kB / 0.6626 GB, free: 7.168 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.152, allocations: 0 / 0.6626 GB, free: 7.168 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.275e-05/0.1521, allocations: 41.78 kB / 0.6626 GB, free: 7.121 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.1521, allocations: 8 kB / 0.6626 GB, free: 7.113 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.1521, allocations: 0 / 0.6626 GB, free: 7.113 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.1521, allocations: 0 / 0.6626 GB, free: 7.113 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.684e-05/0.1522, allocations: 4 kB / 0.6626 GB, free: 7.109 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.568e-06/0.1522, allocations: 0 / 0.6626 GB, free: 7.109 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.846e-06/0.1522, allocations: 0 / 0.6626 GB, free: 7.109 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.56e-06/0.1522, allocations: 3.984 kB / 0.6626 GB, free: 7.105 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 7.968e-05/0.1523, allocations: 185.9 kB / 0.6628 GB, free: 6.914 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.888e-05/0.1523, allocations: 116.8 kB / 0.6629 GB, free: 6.793 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.261e-05/0.1524, allocations: 108.1 kB / 0.663 GB, free: 6.676 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.489e-05/0.1525, allocations: 176.3 kB / 0.6632 GB, free: 6.496 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.453e-05/0.1525, allocations: 188.1 kB / 0.6634 GB, free: 6.305 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.486e-05/0.1526, allocations: 180.3 kB / 0.6635 GB, free: 6.121 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001915/0.1528, allocations: 409.1 kB / 0.6639 GB, free: 5.664 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.918e-05/0.1528, allocations: 105 kB / 0.664 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.22e-05/0.1528, allocations: 104.9 kB / 0.6641 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.48e-05/0.1529, allocations: 184.3 kB / 0.6643 GB, free: 5.258 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.665e-05/0.153, allocations: 180.3 kB / 0.6645 GB, free: 5.074 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.588e-05/0.153, allocations: 184.2 kB / 0.6647 GB, free: 4.887 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.551e-05/0.1531, allocations: 180.3 kB / 0.6648 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001196/0.1532, allocations: 307.9 kB / 0.6651 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.529e-05/0.1533, allocations: 190.1 kB / 0.6653 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.604e-05/0.1533, allocations: 180.2 kB / 0.6655 GB, free: 3.984 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.823e-05/0.1534, allocations: 101 kB / 0.6656 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.916e-05/0.1535, allocations: 184.2 kB / 0.6657 GB, free: 3.691 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.338e-05/0.1535, allocations: 109 kB / 0.6659 GB, free: 3.578 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.798e-05/0.1535, allocations: 79.27 kB / 0.6659 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1536, allocations: 0 / 0.6659 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000193/0.1537, allocations: 0 / 0.6659 GB, free: 3.5 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.0003438/0.1541, allocations: 0.8165 MB / 0.6667 GB, free: 2.652 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 5.83e-05/0.1542, allocations: 4 kB / 0.6667 GB, free: 2.648 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.1542, allocations: 0 / 0.6667 GB, free: 2.648 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.272e-06/0.1542, allocations: 0 / 0.6667 GB, free: 2.648 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003229/0.1545, allocations: 465.4 kB / 0.6672 GB, free: 2.195 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002922/0.1548, allocations: 181.9 kB / 0.6673 GB, free: 1.977 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002127/0.155, allocations: 0.669 MB / 0.668 GB, free: 1.281 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 9.688e-06/0.155, allocations: 3.938 kB / 0.668 GB, free: 1.277 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.639e-05/0.1551, allocations: 7.438 kB / 0.668 GB, free: 1.27 MB / 0.4981 GB Notification: Performance of SimCode: time 2.1e-07/0.1551, allocations: 0 / 0.668 GB, free: 1.27 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01658/0.1716, allocations: 0.9529 MB / 0.6689 GB, free: 0.5156 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.027/7.198, allocations: 4.875 kB / 0.6689 GB, free: 0.5117 MB / 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)