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.007964/0.007964, allocations: 102.2 kB / 15.73 MB, free: 5.551 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.002049/0.002049, allocations: 196.6 kB / 16.67 MB, free: 5.477 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.437/1.437, 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.8402/0.8402, allocations: 132.2 MB / 422.7 MB, free: 6.59 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001848/0.001848, allocations: 69.55 kB / 0.5809 GB, free: 23.99 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1401/0.1419, 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.001621/0.1436, allocations: 0.5493 MB / 0.6598 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009411/0.1446, allocations: 0.7769 MB / 0.6605 GB, free: 9.41 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.55e-05/0.1446, allocations: 3.938 kB / 0.6605 GB, free: 9.406 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.46e-05/0.1446, allocations: 0 / 0.6605 GB, free: 9.406 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.401e-06/0.1446, allocations: 0 / 0.6605 GB, free: 9.406 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002354/0.1449, allocations: 23.91 kB / 0.6605 GB, free: 9.383 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 3.909e-05/0.1449, allocations: 4 kB / 0.6606 GB, free: 9.379 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.117e-05/0.145, allocations: 4 kB / 0.6606 GB, free: 9.375 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.146e-05/0.145, allocations: 4 kB / 0.6606 GB, free: 9.371 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001236/0.1451, allocations: 15.98 kB / 0.6606 GB, free: 9.355 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.662e-06/0.1451, allocations: 0 / 0.6606 GB, free: 9.355 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 3.456e-06/0.1451, allocations: 0 / 0.6606 GB, free: 9.355 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.085e-05/0.1452, allocations: 4 kB / 0.6606 GB, free: 9.352 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.579e-05/0.1452, allocations: 3.984 kB / 0.6606 GB, free: 9.348 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 3.704e-05/0.1452, allocations: 2.875 kB / 0.6606 GB, free: 9.348 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.1452, allocations: 8 kB / 0.6606 GB, free: 9.34 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.673e-06/0.1452, allocations: 0 / 0.6606 GB, free: 9.34 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.309e-06/0.1452, allocations: 0 / 0.6606 GB, free: 9.34 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.0002889/0.1455, allocations: 303.6 kB / 0.6609 GB, free: 8.996 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.1456, allocations: 16.05 kB / 0.6609 GB, free: 8.98 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.445e-05/0.1456, allocations: 30.75 kB / 0.6609 GB, free: 8.941 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.584e-05/0.1456, allocations: 0.9375 kB / 0.6609 GB, free: 8.941 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001036/0.1458, allocations: 160.4 kB / 0.6611 GB, free: 8.746 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.037e-05/0.1458, allocations: 4.312 kB / 0.6611 GB, free: 8.742 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.452e-06/0.1458, allocations: 8.125 kB / 0.6611 GB, free: 8.734 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.967e-05/0.1459, allocations: 33.64 kB / 0.6611 GB, free: 8.695 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.632e-06/0.1459, allocations: 0 / 0.6611 GB, free: 8.695 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.734e-06/0.1459, allocations: 4 kB / 0.6611 GB, free: 8.691 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.1459, allocations: 0 / 0.6611 GB, free: 8.691 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.381e-05/0.1459, allocations: 0 / 0.6611 GB, free: 8.691 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002988/0.1462, allocations: 379.5 kB / 0.6615 GB, free: 8.27 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.31e-05/0.1463, allocations: 173.1 kB / 0.6617 GB, free: 8.09 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.154e-05/0.1464, allocations: 84.08 kB / 0.6617 GB, free: 8.004 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.538e-05/0.1464, allocations: 75.28 kB / 0.6618 GB, free: 7.93 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.22e-05/0.1465, allocations: 109.9 kB / 0.6619 GB, free: 7.812 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 9.11e-07/0.1465, allocations: 0 / 0.6619 GB, free: 7.812 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 6.764e-05/0.1465, allocations: 25.7 kB / 0.6619 GB, free: 7.781 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.092e-05/0.1466, allocations: 130.7 kB / 0.6621 GB, free: 7.641 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.879e-05/0.1467, allocations: 101.8 kB / 0.6622 GB, free: 7.531 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.398e-05/0.1467, allocations: 25.7 kB / 0.6622 GB, free: 7.5 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.379e-05/0.1468, allocations: 84.38 kB / 0.6623 GB, free: 7.414 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.394e-06/0.1468, allocations: 0 / 0.6623 GB, free: 7.414 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.831e-05/0.1468, allocations: 9.719 kB / 0.6623 GB, free: 7.398 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001292/0.1469, allocations: 318.9 kB / 0.6626 GB, free: 7.078 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.108e-05/0.147, allocations: 11.88 kB / 0.6626 GB, free: 7.066 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.687e-06/0.147, allocations: 0 / 0.6626 GB, free: 7.066 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.067e-05/0.147, allocations: 4.859 kB / 0.6626 GB, free: 7.059 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.147, allocations: 4 kB / 0.6626 GB, free: 7.055 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.484e-05/0.1471, allocations: 37.69 kB / 0.6626 GB, free: 7.012 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.1471, allocations: 4 kB / 0.6626 GB, free: 7.008 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.1471, allocations: 0 / 0.6626 GB, free: 7.008 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.1471, allocations: 0 / 0.6626 GB, free: 7.008 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.083e-05/0.1472, allocations: 8.094 kB / 0.6626 GB, free: 7 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.1472, allocations: 0 / 0.6626 GB, free: 7 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.513e-05/0.1472, allocations: 3.938 kB / 0.6626 GB, free: 6.996 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.178e-06/0.1472, allocations: 0 / 0.6626 GB, free: 6.996 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 0.0001029/0.1473, allocations: 189.9 kB / 0.6628 GB, free: 6.801 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.717e-05/0.1474, allocations: 105 kB / 0.6629 GB, free: 6.691 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.54e-05/0.1475, allocations: 108.1 kB / 0.663 GB, free: 6.574 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.841e-05/0.1476, allocations: 192.1 kB / 0.6632 GB, free: 6.379 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.753e-05/0.1476, allocations: 180.3 kB / 0.6634 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.133e-05/0.1477, allocations: 180.2 kB / 0.6636 GB, free: 6.012 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002534/0.148, allocations: 401.2 kB / 0.6639 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.835e-05/0.148, allocations: 105 kB / 0.664 GB, free: 5.453 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.55e-05/0.1481, allocations: 112.9 kB / 0.6642 GB, free: 5.336 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.098e-05/0.1482, allocations: 180.3 kB / 0.6643 GB, free: 5.152 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.135e-05/0.1483, allocations: 188.2 kB / 0.6645 GB, free: 4.961 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.442e-05/0.1483, allocations: 180.2 kB / 0.6647 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.113e-05/0.1484, allocations: 180.3 kB / 0.6648 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001585/0.1486, allocations: 307.9 kB / 0.6651 GB, free: 4.27 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.461e-05/0.1487, allocations: 194 kB / 0.6653 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.964e-05/0.1488, allocations: 176.3 kB / 0.6655 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.377e-05/0.1489, allocations: 101 kB / 0.6656 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.481e-05/0.149, allocations: 188.2 kB / 0.6658 GB, free: 3.578 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.255e-05/0.149, allocations: 105 kB / 0.6659 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.984e-05/0.1491, allocations: 75.28 kB / 0.6659 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1491, allocations: 0 / 0.6659 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002228/0.1493, allocations: 0 / 0.6659 GB, free: 3.395 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.0004799/0.1498, allocations: 0.8189 MB / 0.6667 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.029e-05/0.1499, allocations: 4 kB / 0.6667 GB, free: 2.543 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1499, allocations: 0 / 0.6667 GB, free: 2.543 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.332e-06/0.1499, allocations: 0 / 0.6667 GB, free: 2.543 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003853/0.1503, allocations: 459.6 kB / 0.6672 GB, free: 2.09 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003307/0.1506, allocations: 193.9 kB / 0.6674 GB, free: 1.859 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002873/0.1509, allocations: 0.669 MB / 0.668 GB, free: 1.164 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.309e-05/0.1509, allocations: 0 / 0.668 GB, free: 1.164 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.713e-05/0.1509, allocations: 9 kB / 0.668 GB, free: 1.156 MB / 0.4981 GB Notification: Performance of SimCode: time 2.1e-07/0.151, allocations: 0 / 0.668 GB, free: 1.156 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02144/0.1724, allocations: 0.9442 MB / 0.669 GB, free: 416 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.813/7.985, allocations: 6.656 kB / 0.669 GB, free: 412 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)