Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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.AggregationCellTimes,fileNamePrefix="IDEAS_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_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.0009993/0.0009994, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001126/0.001126, allocations: 192.8 kB / 16.25 MB, free: 6.629 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.235/1.235, allocations: 222.9 MB / 239.9 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6954/0.6954, allocations: 132.2 MB / 422.3 MB, free: 1.965 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001083/0.001083, allocations: 63.06 kB / 0.5014 GB, free: 8.969 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1336/0.1347, allocations: 80.21 MB / 0.5797 GB, free: 8.98 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes): time 0.002089/0.1368, allocations: 1.344 MB / 0.581 GB, free: 7.621 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005967/0.1374, allocations: 444.7 kB / 0.5815 GB, free: 7.188 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.459e-05/0.1374, allocations: 0 / 0.5815 GB, free: 7.188 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 5.736e-05/0.1375, allocations: 7.938 kB / 0.5815 GB, free: 7.18 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.393e-05/0.1375, allocations: 0 / 0.5815 GB, free: 7.18 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001928/0.1377, allocations: 35.89 kB / 0.5815 GB, free: 7.145 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.944e-05/0.1378, allocations: 31.86 kB / 0.5815 GB, free: 7.113 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.02e-05/0.1378, allocations: 0 / 0.5815 GB, free: 7.113 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.251e-05/0.1379, allocations: 8 kB / 0.5815 GB, free: 7.105 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.361e-05/0.1379, allocations: 19.91 kB / 0.5816 GB, free: 7.086 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.273e-06/0.1379, allocations: 0 / 0.5816 GB, free: 7.086 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.864e-05/0.138, allocations: 43.89 kB / 0.5816 GB, free: 7.043 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.415e-05/0.1381, allocations: 15.98 kB / 0.5816 GB, free: 7.027 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.592e-05/0.1381, allocations: 11.88 kB / 0.5816 GB, free: 7.016 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.75e-05/0.1382, allocations: 60.09 kB / 0.5817 GB, free: 6.957 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.435e-06/0.1382, allocations: 3.938 kB / 0.5817 GB, free: 6.953 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1382, allocations: 0 / 0.5817 GB, free: 6.953 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.078e-06/0.1383, allocations: 4 kB / 0.5817 GB, free: 6.949 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.0002782/0.1385, allocations: 351.3 kB / 0.582 GB, free: 6.559 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.039e-05/0.1386, allocations: 8.031 kB / 0.582 GB, free: 6.551 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.158e-05/0.1386, allocations: 30.75 kB / 0.5821 GB, free: 6.512 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.778e-05/0.1386, allocations: 4.938 kB / 0.5821 GB, free: 6.508 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001119/0.1387, allocations: 180.3 kB / 0.5822 GB, free: 6.293 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.849e-06/0.1387, allocations: 384 / 0.5822 GB, free: 6.293 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.427e-06/0.1388, allocations: 3.938 kB / 0.5822 GB, free: 6.289 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.369e-05/0.1388, allocations: 55.34 kB / 0.5823 GB, free: 6.223 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.19e-06/0.1388, allocations: 0 / 0.5823 GB, free: 6.223 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.534e-06/0.1389, allocations: 4 kB / 0.5823 GB, free: 6.219 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.995e-06/0.1389, allocations: 0 / 0.5823 GB, free: 6.219 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.939e-05/0.1389, allocations: 8 kB / 0.5823 GB, free: 6.211 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001273/0.139, allocations: 166.5 kB / 0.5825 GB, free: 5.996 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.292e-05/0.1391, allocations: 53.08 kB / 0.5825 GB, free: 5.926 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.625e-05/0.1391, allocations: 17.78 kB / 0.5825 GB, free: 5.902 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.863e-06/0.1391, allocations: 0 / 0.5825 GB, free: 5.902 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.546e-05/0.1391, allocations: 30.56 kB / 0.5826 GB, free: 5.863 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 6.61e-07/0.1391, allocations: 0 / 0.5826 GB, free: 5.863 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001016/0.1392, allocations: 57.75 kB / 0.5826 GB, free: 5.801 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.896e-05/0.1393, allocations: 77.11 kB / 0.5827 GB, free: 5.707 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.83e-05/0.1394, allocations: 149.7 kB / 0.5828 GB, free: 5.551 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.081e-05/0.1394, allocations: 25.7 kB / 0.5829 GB, free: 5.52 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.102e-05/0.1394, allocations: 92.05 kB / 0.5829 GB, free: 5.426 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.012e-05/0.1394, allocations: 3.906 kB / 0.583 GB, free: 5.422 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.276e-05/0.1395, allocations: 25.7 kB / 0.583 GB, free: 5.391 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.647e-05/0.1396, allocations: 322.8 kB / 0.5833 GB, free: 5.066 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.427e-05/0.1396, allocations: 24.03 kB / 0.5833 GB, free: 5.043 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.409e-05/0.1397, allocations: 23.98 kB / 0.5833 GB, free: 5.02 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.289e-05/0.1397, allocations: 47.59 kB / 0.5834 GB, free: 4.973 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.1397, allocations: 0 / 0.5834 GB, free: 4.973 MB / 494.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001085/0.1398, allocations: 101.6 kB / 0.5835 GB, free: 4.867 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.887e-06/0.1398, allocations: 4 kB / 0.5835 GB, free: 4.863 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.137e-05/0.1399, allocations: 0 / 0.5835 GB, free: 4.863 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.032e-05/0.1399, allocations: 0 / 0.5835 GB, free: 4.863 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.356e-05/0.1399, allocations: 11.88 kB / 0.5835 GB, free: 4.852 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.695e-06/0.1399, allocations: 0 / 0.5835 GB, free: 4.852 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.704e-05/0.14, allocations: 15.84 kB / 0.5835 GB, free: 4.836 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.899e-06/0.14, allocations: 0 / 0.5835 GB, free: 4.836 MB / 494.1 MB 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 5.839e-05/0.14, allocations: 118.4 kB / 0.5836 GB, free: 4.711 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.838e-06/0.14, allocations: 11.84 kB / 0.5836 GB, free: 4.699 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.489e-05/0.1401, allocations: 7.531 kB / 0.5836 GB, free: 4.691 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.203e-06/0.1401, allocations: 0 / 0.5836 GB, free: 4.691 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/0.1401, allocations: 96 / 0.5836 GB, free: 4.691 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.1401, allocations: 7.969 kB / 0.5836 GB, free: 4.684 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.477e-05/0.1402, allocations: 161.6 kB / 0.5838 GB, free: 4.477 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.1402, allocations: 8 kB / 0.5838 GB, free: 4.469 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.715e-05/0.1402, allocations: 4 kB / 0.5838 GB, free: 4.465 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.1402, allocations: 0 / 0.5838 GB, free: 4.465 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.268e-06/0.1402, allocations: 0 / 0.5838 GB, free: 4.465 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.1402, allocations: 4 kB / 0.5838 GB, free: 4.461 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.1402, allocations: 0 / 0.5838 GB, free: 4.461 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.8e-05/0.1403, allocations: 81.77 kB / 0.5839 GB, free: 4.359 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.957e-05/0.1403, allocations: 85.14 kB / 0.584 GB, free: 4.258 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.317e-06/0.1403, allocations: 0 / 0.584 GB, free: 4.258 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.708e-05/0.1404, allocations: 4 kB / 0.584 GB, free: 4.254 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.026e-05/0.1404, allocations: 0 / 0.584 GB, free: 4.254 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.796e-06/0.1404, allocations: 3.984 kB / 0.584 GB, free: 4.25 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.86e-05/0.1404, allocations: 99.27 kB / 0.5841 GB, free: 4.152 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1404, allocations: 0 / 0.5841 GB, free: 4.152 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001865/0.1406, allocations: 12 kB / 0.5841 GB, free: 4.141 MB / 494.1 MB 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.0003165/0.141, allocations: 0.6371 MB / 0.5847 GB, free: 3.469 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001068/0.1411, allocations: 85.67 kB / 0.5848 GB, free: 3.379 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.283e-06/0.1411, allocations: 0 / 0.5848 GB, free: 3.379 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.466e-05/0.1411, allocations: 15.97 kB / 0.5848 GB, free: 3.363 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001184/0.1412, allocations: 0 / 0.5848 GB, free: 3.363 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008573/0.1421, allocations: 1.316 MB / 0.5861 GB, free: 1.965 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001899/0.1423, allocations: 0.6846 MB / 0.5868 GB, free: 1.254 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.725e-05/0.1423, allocations: 7.938 kB / 0.5868 GB, free: 1.246 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.695e-05/0.1423, allocations: 26.08 kB / 0.5868 GB, free: 1.227 MB / 494.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1424, allocations: 0 / 0.5868 GB, free: 1.227 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7513/0.8936, allocations: 1.58 MB / 0.5883 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003314/0.894, allocations: 263.6 kB / 0.5886 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.168/3.062, allocations: 0 / 0.5886 GB, free: 15.55 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe 2>&1)