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.0009514/0.0009515, allocations: 91.69 kB / 15.36 MB, free: 0.7383 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.006095/0.006095, allocations: 172 kB / 16.26 MB, free: 6.613 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.273/1.273, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8728/0.8728, allocations: 135.3 MB / 426.7 MB, free: 14.28 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003033/0.0003034, allocations: 8.844 kB / 0.5077 GB, free: 4.629 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1424/0.1427, allocations: 82.31 MB / 0.5881 GB, free: 2.488 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes): time 0.001272/0.144, allocations: 1.006 MB / 0.5891 GB, free: 1.469 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006696/0.1447, allocations: 444.6 kB / 0.5895 GB, free: 1.035 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.924e-05/0.1448, allocations: 0 / 0.5895 GB, free: 1.035 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 6.211e-05/0.1448, allocations: 0 / 0.5895 GB, free: 1.035 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.967e-05/0.1449, allocations: 15.86 kB / 0.5895 GB, free: 1.02 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001901/0.1451, allocations: 27.97 kB / 0.5896 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.832e-05/0.1452, allocations: 39.89 kB / 0.5896 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.74e-05/0.1452, allocations: 3.984 kB / 0.5896 GB, free: 0.9492 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.408e-05/0.1452, allocations: 8 kB / 0.5896 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.158e-05/0.1453, allocations: 19.88 kB / 0.5896 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.794e-06/0.1453, allocations: 4 kB / 0.5896 GB, free: 0.918 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000103/0.1454, allocations: 39.94 kB / 0.5897 GB, free: 0.8789 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.701e-05/0.1455, allocations: 15.98 kB / 0.5897 GB, free: 0.8633 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.619e-05/0.1455, allocations: 41.58 kB / 0.5897 GB, free: 0.8164 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001111/0.1456, allocations: 64.02 kB / 0.5898 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.876e-06/0.1456, allocations: 0 / 0.5898 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1456, allocations: 0 / 0.5898 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.537e-06/0.1457, allocations: 0 / 0.5898 GB, free: 0.7539 MB / 494.1 MB 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.0003068/0.146, allocations: 343.4 kB / 0.5901 GB, free: 380 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.146, allocations: 15.97 kB / 0.5901 GB, free: 364 kB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.009e-05/0.146, allocations: 34.75 kB / 0.5902 GB, free: 320 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.881e-05/0.1461, allocations: 0.9375 kB / 0.5902 GB, free: 320 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001288/0.1462, allocations: 176.3 kB / 0.5903 GB, free: 104 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.845e-06/0.1462, allocations: 4.375 kB / 0.5903 GB, free: 100 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.824e-06/0.1462, allocations: 3.938 kB / 0.5903 GB, free: 96 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.226e-05/0.1463, allocations: 47.41 kB / 0.5904 GB, free: 36 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.901e-06/0.1463, allocations: 0 / 0.5904 GB, free: 36 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.32e-06/0.1463, allocations: 0 / 0.5904 GB, free: 36 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.1463, allocations: 4 kB / 0.5904 GB, free: 32 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.815e-05/0.1464, allocations: 7.938 kB / 0.5904 GB, free: 24 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001557/0.1465, allocations: 170.5 kB / 0.5906 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.591e-05/0.1466, allocations: 49.14 kB / 0.5906 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.902e-05/0.1466, allocations: 17.72 kB / 0.5906 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 5.901e-06/0.1467, allocations: 4 kB / 0.5906 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.867e-05/0.1467, allocations: 34.56 kB / 0.5907 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.1467, allocations: 0 / 0.5907 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0001145/0.1468, allocations: 53.53 kB / 0.5907 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.102e-05/0.1469, allocations: 77.11 kB / 0.5908 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.704e-05/0.147, allocations: 146 kB / 0.5909 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.147, allocations: 29.7 kB / 0.591 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.362e-05/0.147, allocations: 88.03 kB / 0.591 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.509e-05/0.147, allocations: 8 kB / 0.591 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.737e-05/0.1471, allocations: 21.7 kB / 0.5911 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.338e-05/0.1472, allocations: 314.8 kB / 0.5914 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.055e-05/0.1472, allocations: 31.92 kB / 0.5914 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.238e-05/0.1473, allocations: 23.98 kB / 0.5914 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.447e-05/0.1473, allocations: 52.34 kB / 0.5915 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1473, allocations: 0 / 0.5915 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001139/0.1474, allocations: 105.5 kB / 0.5916 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.1475, allocations: 8 kB / 0.5916 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.254e-05/0.1475, allocations: 0 / 0.5916 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.747e-06/0.1475, allocations: 0 / 0.5916 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.195e-05/0.1475, allocations: 8 kB / 0.5916 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.637e-06/0.1475, allocations: 0 / 0.5916 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.821e-05/0.1476, allocations: 7.844 kB / 0.5916 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-06/0.1476, allocations: 4 kB / 0.5916 GB, free: 14.64 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.567e-05/0.1477, allocations: 117.8 kB / 0.5917 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.288e-06/0.1477, allocations: 7.906 kB / 0.5917 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.682e-05/0.1477, allocations: 3.531 kB / 0.5917 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.556e-06/0.1477, allocations: 4 kB / 0.5917 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.1477, allocations: 0 / 0.5917 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.913e-06/0.1477, allocations: 0 / 0.5917 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001065/0.1478, allocations: 169.6 kB / 0.5919 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.1478, allocations: 3.938 kB / 0.5919 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.767e-05/0.1479, allocations: 4 kB / 0.5919 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.1479, allocations: 0 / 0.5919 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.16e-06/0.1479, allocations: 96 / 0.5919 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.1479, allocations: 4 kB / 0.5919 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.588e-06/0.1479, allocations: 8 kB / 0.5919 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.072e-05/0.148, allocations: 73.91 kB / 0.592 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.859e-05/0.148, allocations: 85.02 kB / 0.5921 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.004e-05/0.148, allocations: 0 / 0.5921 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.58e-05/0.1481, allocations: 0 / 0.5921 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.432e-05/0.1481, allocations: 8.031 kB / 0.5921 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.613e-06/0.1481, allocations: 3.938 kB / 0.5921 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.123e-05/0.1481, allocations: 103.2 kB / 0.5922 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1481, allocations: 0 / 0.5922 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001875/0.1483, allocations: 16 kB / 0.5922 GB, free: 13.94 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.0003683/0.1487, allocations: 0.6326 MB / 0.5928 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000129/0.1488, allocations: 93.55 kB / 0.5929 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.1489, allocations: 0 / 0.5929 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.159e-05/0.1489, allocations: 4 kB / 0.5929 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001427/0.149, allocations: 4 kB / 0.5929 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009742/0.15, allocations: 1.31 MB / 0.5942 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002203/0.1502, allocations: 0.6848 MB / 0.5948 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.821e-05/0.1503, allocations: 3.984 kB / 0.5949 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.453e-05/0.1503, allocations: 15.44 kB / 0.5949 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of SimCode: time 3.21e-07/0.1503, allocations: 0 / 0.5949 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3047/0.455, allocations: 1.482 MB / 0.5963 GB, free: 9.793 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002189/0.4552, allocations: 278.9 kB / 0.5966 GB, free: 9.43 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.603/2.059, allocations: 0 / 0.5966 GB, free: 9.43 MB / 0.4981 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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)