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/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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004744/0.004744, allocations: 98.36 kB / 15.73 MB, free: 5.602 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.001118/0.001118, allocations: 195.3 kB / 16.68 MB, free: 5.523 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.275/1.275, allocations: 222.9 MB / 240.4 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.771/0.771, allocations: 135.1 MB / 425.7 MB, free: 4.074 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 58.53 kB / 0.5852 GB, free: 21.95 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1302/0.1315, allocations: 80.92 MB / 0.6642 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes): time 0.002113/0.1336, allocations: 1.265 MB / 0.6654 GB, free: 5.008 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007216/0.1344, allocations: 463.2 kB / 0.6659 GB, free: 4.555 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.706e-05/0.1344, allocations: 4 kB / 0.6659 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 7.011e-05/0.1345, allocations: 3.938 kB / 0.6659 GB, free: 4.547 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.834e-05/0.1346, allocations: 3.984 kB / 0.6659 GB, free: 4.543 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002388/0.1348, allocations: 43.83 kB / 0.6659 GB, free: 4.5 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.945e-05/0.1349, allocations: 19.92 kB / 0.6659 GB, free: 4.48 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.49e-05/0.1349, allocations: 0 / 0.6659 GB, free: 4.48 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.89e-05/0.135, allocations: 15.98 kB / 0.666 GB, free: 4.465 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.251e-05/0.135, allocations: 15.86 kB / 0.666 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.486e-06/0.1351, allocations: 4 kB / 0.666 GB, free: 4.445 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001164/0.1352, allocations: 35.97 kB / 0.666 GB, free: 4.41 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.093e-05/0.1352, allocations: 15.97 kB / 0.666 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.53e-05/0.1353, allocations: 19.86 kB / 0.6661 GB, free: 4.375 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000132/0.1354, allocations: 63.97 kB / 0.6661 GB, free: 4.312 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.1354, allocations: 0 / 0.6661 GB, free: 4.312 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.483e-06/0.1354, allocations: 0 / 0.6661 GB, free: 4.312 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.84e-06/0.1354, allocations: 0 / 0.6661 GB, free: 4.312 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003352/0.1358, allocations: 357.1 kB / 0.6665 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.342e-05/0.1358, allocations: 13.11 kB / 0.6665 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.996e-05/0.1358, allocations: 30.75 kB / 0.6665 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.387e-05/0.1359, allocations: 4.891 kB / 0.6665 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001302/0.136, allocations: 168.4 kB / 0.6667 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.109e-05/0.136, allocations: 8.125 kB / 0.6667 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.056e-05/0.1361, allocations: 0 / 0.6667 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.737e-05/0.1362, allocations: 43.42 kB / 0.6667 GB, free: 3.598 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.683e-06/0.1362, allocations: 0 / 0.6667 GB, free: 3.598 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.794e-06/0.1362, allocations: 3.984 kB / 0.6667 GB, free: 3.594 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.1362, allocations: 7.984 kB / 0.6667 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.356e-05/0.1362, allocations: 7.938 kB / 0.6667 GB, free: 3.578 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001567/0.1364, allocations: 174.5 kB / 0.6669 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.733e-05/0.1364, allocations: 49.08 kB / 0.6669 GB, free: 3.289 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.221e-05/0.1365, allocations: 21.78 kB / 0.667 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.492e-06/0.1365, allocations: 0 / 0.667 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.235e-05/0.1365, allocations: 42.56 kB / 0.667 GB, free: 3.211 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 8.21e-07/0.1365, allocations: 0 / 0.667 GB, free: 3.211 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0001325/0.1367, allocations: 49.62 kB / 0.6671 GB, free: 3.156 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.761e-05/0.1367, allocations: 77.11 kB / 0.6671 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.907e-05/0.1368, allocations: 145.6 kB / 0.6673 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.536e-05/0.1368, allocations: 29.7 kB / 0.6673 GB, free: 2.879 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.177e-05/0.1369, allocations: 84.09 kB / 0.6674 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.782e-05/0.1369, allocations: 7.938 kB / 0.6674 GB, free: 2.785 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.891e-05/0.1369, allocations: 29.64 kB / 0.6674 GB, free: 2.75 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.737e-05/0.137, allocations: 318.8 kB / 0.6677 GB, free: 2.43 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.329e-05/0.1371, allocations: 23.98 kB / 0.6677 GB, free: 2.406 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.91e-05/0.1371, allocations: 27.98 kB / 0.6678 GB, free: 2.379 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.943e-05/0.1372, allocations: 48.78 kB / 0.6678 GB, free: 2.328 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.077e-06/0.1372, allocations: 7.875 kB / 0.6678 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001164/0.1373, allocations: 97.62 kB / 0.6679 GB, free: 2.219 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.1373, allocations: 8 kB / 0.6679 GB, free: 2.211 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.422e-05/0.1373, allocations: 0 / 0.6679 GB, free: 2.211 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.021e-05/0.1374, allocations: 0 / 0.6679 GB, free: 2.211 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.338e-05/0.1374, allocations: 4 kB / 0.6679 GB, free: 2.207 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.1374, allocations: 0 / 0.6679 GB, free: 2.207 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.786e-05/0.1374, allocations: 3.953 kB / 0.6679 GB, free: 2.203 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.154e-05/0.1375, allocations: 8 kB / 0.6679 GB, free: 2.195 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: 0 () * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.059e-05/0.1375, allocations: 121.8 kB / 0.668 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.769e-06/0.1376, allocations: 3.953 kB / 0.6681 GB, free: 2.062 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.787e-05/0.1376, allocations: 3.531 kB / 0.6681 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.1376, allocations: 4 kB / 0.6681 GB, free: 2.055 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.095e-06/0.1376, allocations: 0 / 0.6681 GB, free: 2.055 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.1376, allocations: 0 / 0.6681 GB, free: 2.055 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001007/0.1377, allocations: 181.5 kB / 0.6682 GB, free: 1.828 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.031e-06/0.1377, allocations: 0 / 0.6682 GB, free: 1.828 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.932e-05/0.1377, allocations: 4 kB / 0.6682 GB, free: 1.824 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.1377, allocations: 0 / 0.6682 GB, free: 1.824 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.26e-06/0.1378, allocations: 4 kB / 0.6682 GB, free: 1.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.1378, allocations: 0 / 0.6682 GB, free: 1.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.1378, allocations: 4 kB / 0.6682 GB, free: 1.816 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.811e-05/0.1378, allocations: 73.88 kB / 0.6683 GB, free: 1.723 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.064e-05/0.1379, allocations: 81.11 kB / 0.6684 GB, free: 1.625 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.111e-05/0.1379, allocations: 0 / 0.6684 GB, free: 1.625 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.674e-05/0.1379, allocations: 32 / 0.6684 GB, free: 1.625 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.54e-05/0.1379, allocations: 11.94 kB / 0.6684 GB, free: 1.613 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.954e-06/0.1379, allocations: 0 / 0.6684 GB, free: 1.613 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.252e-05/0.138, allocations: 103.2 kB / 0.6685 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.01e-07/0.138, allocations: 0 / 0.6685 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002033/0.1382, allocations: 16 kB / 0.6685 GB, free: 1.496 MB / 0.4981 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 () * Number of clocked 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 (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.0003462/0.1386, allocations: 0.6339 MB / 0.6691 GB, free: 0.832 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001343/0.1387, allocations: 89.61 kB / 0.6692 GB, free: 0.7383 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1387, allocations: 0 / 0.6692 GB, free: 0.7383 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.221e-05/0.1387, allocations: 4 kB / 0.6692 GB, free: 0.7344 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001393/0.1389, allocations: 0 / 0.6692 GB, free: 0.7344 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009901/0.1399, allocations: 1.323 MB / 0.6705 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000209/0.1401, allocations: 0.6846 MB / 0.6712 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 1.848e-05/0.1401, allocations: 0 / 0.6712 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.028e-05/0.1402, allocations: 23.42 kB / 0.6712 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of SimCode: time 2.11e-07/0.1402, allocations: 0 / 0.6712 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01744/0.1576, allocations: 1.701 MB / 0.6729 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.22/7.378, allocations: 8.75 kB / 0.6729 GB, free: 13.08 MB / 0.5137 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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)