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.004534/0.004534, allocations: 101.1 kB / 15.73 MB, free: 6.016 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.00122/0.00122, allocations: 189.9 kB / 16.67 MB, free: 5.93 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.375/1.375, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8152/0.8152, allocations: 135.6 MB / 426.1 MB, free: 3.691 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002489/0.002489, allocations: 70.98 kB / 0.5858 GB, free: 21.5 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1654/0.1679, allocations: 81.02 MB / 0.6649 GB, free: 5.621 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes): time 0.002416/0.1703, allocations: 1.277 MB / 0.6662 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007869/0.1712, allocations: 447.2 kB / 0.6666 GB, free: 3.898 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.977e-05/0.1712, allocations: 4 kB / 0.6666 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 7.883e-05/0.1713, allocations: 7.922 kB / 0.6666 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.647e-05/0.1714, allocations: 4 kB / 0.6666 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002264/0.1716, allocations: 31.91 kB / 0.6666 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.007e-05/0.1717, allocations: 23.91 kB / 0.6666 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.692e-05/0.1717, allocations: 8 kB / 0.6667 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.613e-05/0.1717, allocations: 7.984 kB / 0.6667 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.028e-05/0.1718, allocations: 15.92 kB / 0.6667 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.666e-06/0.1718, allocations: 0 / 0.6667 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001203/0.172, allocations: 43.89 kB / 0.6667 GB, free: 3.754 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.912e-05/0.172, allocations: 15.98 kB / 0.6667 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.639e-05/0.1721, allocations: 19.88 kB / 0.6668 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001286/0.1722, allocations: 59.97 kB / 0.6668 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.015e-06/0.1722, allocations: 0 / 0.6668 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.182e-06/0.1722, allocations: 0 / 0.6668 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.388e-06/0.1722, allocations: 0 / 0.6668 GB, free: 3.66 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.0003776/0.1726, allocations: 351.3 kB / 0.6671 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.1726, allocations: 13.11 kB / 0.6672 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.16e-05/0.1727, allocations: 30.75 kB / 0.6672 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.395e-05/0.1727, allocations: 4.891 kB / 0.6672 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000151/0.1729, allocations: 179.9 kB / 0.6674 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.012e-05/0.1729, allocations: 4.125 kB / 0.6674 GB, free: 3 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.034e-05/0.1729, allocations: 4 kB / 0.6674 GB, free: 2.996 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.517e-05/0.173, allocations: 47.41 kB / 0.6674 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.173, allocations: 0 / 0.6674 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.851e-06/0.173, allocations: 0 / 0.6674 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.536e-06/0.173, allocations: 0 / 0.6674 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.235e-05/0.1731, allocations: 7.938 kB / 0.6674 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001847/0.1732, allocations: 186.4 kB / 0.6676 GB, free: 2.695 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.517e-05/0.1733, allocations: 37.09 kB / 0.6676 GB, free: 2.641 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.154e-05/0.1734, allocations: 25.83 kB / 0.6677 GB, free: 2.609 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.766e-06/0.1734, allocations: 3.938 kB / 0.6677 GB, free: 2.605 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.649e-05/0.1734, allocations: 38.56 kB / 0.6677 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 2.755e-06/0.1734, allocations: 3.984 kB / 0.6677 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.000125/0.1735, allocations: 53.62 kB / 0.6678 GB, free: 2.496 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.018e-05/0.1736, allocations: 77.11 kB / 0.6678 GB, free: 2.402 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001158/0.1737, allocations: 137.8 kB / 0.668 GB, free: 2.258 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.663e-05/0.1737, allocations: 25.7 kB / 0.668 GB, free: 2.227 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.438e-05/0.1738, allocations: 92.33 kB / 0.6681 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.243e-05/0.1738, allocations: 3.938 kB / 0.6681 GB, free: 2.129 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.502e-05/0.1739, allocations: 29.72 kB / 0.6681 GB, free: 2.094 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001308/0.174, allocations: 318.8 kB / 0.6684 GB, free: 1.773 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.16e-05/0.1741, allocations: 27.98 kB / 0.6684 GB, free: 1.746 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.795e-05/0.1741, allocations: 20 kB / 0.6685 GB, free: 1.727 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.589e-05/0.1742, allocations: 48.83 kB / 0.6685 GB, free: 1.676 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.1742, allocations: 3.938 kB / 0.6685 GB, free: 1.672 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001279/0.1743, allocations: 100.5 kB / 0.6686 GB, free: 1.57 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/0.1743, allocations: 8 kB / 0.6686 GB, free: 1.562 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.51e-05/0.1744, allocations: 3.984 kB / 0.6686 GB, free: 1.559 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.065e-05/0.1744, allocations: 4 kB / 0.6686 GB, free: 1.555 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.037e-05/0.1744, allocations: 0 / 0.6686 GB, free: 1.555 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.108e-06/0.1744, allocations: 0 / 0.6686 GB, free: 1.555 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.593e-05/0.1745, allocations: 7.953 kB / 0.6686 GB, free: 1.547 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.25e-06/0.1745, allocations: 0 / 0.6686 GB, free: 1.547 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 8.268e-05/0.1746, allocations: 113.8 kB / 0.6687 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.5e-05/0.1746, allocations: 11.94 kB / 0.6687 GB, free: 1.414 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.842e-05/0.1746, allocations: 11.53 kB / 0.6688 GB, free: 1.402 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.1746, allocations: 0 / 0.6688 GB, free: 1.402 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.1746, allocations: 4 kB / 0.6688 GB, free: 1.398 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.1746, allocations: 4 kB / 0.6688 GB, free: 1.395 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001796/0.1748, allocations: 165.5 kB / 0.6689 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.1748, allocations: 0 / 0.6689 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.866e-05/0.1749, allocations: 0 / 0.6689 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.1749, allocations: 7.938 kB / 0.6689 GB, free: 1.176 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.11e-06/0.1749, allocations: 0 / 0.6689 GB, free: 1.176 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.031e-06/0.1749, allocations: 0 / 0.6689 GB, free: 1.176 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.1749, allocations: 4 kB / 0.6689 GB, free: 1.172 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.503e-05/0.175, allocations: 77.88 kB / 0.669 GB, free: 1.074 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.804e-05/0.175, allocations: 85.09 kB / 0.6691 GB, free: 0.9727 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.074e-05/0.175, allocations: 0 / 0.6691 GB, free: 0.9727 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.622e-05/0.1751, allocations: 3.938 kB / 0.6691 GB, free: 0.9688 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.267e-05/0.1751, allocations: 0 / 0.6691 GB, free: 0.9688 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.607e-06/0.1751, allocations: 8.031 kB / 0.6691 GB, free: 0.9609 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.757e-05/0.1752, allocations: 103.3 kB / 0.6692 GB, free: 0.8594 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1752, allocations: 0 / 0.6692 GB, free: 0.8594 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002056/0.1754, allocations: 16 kB / 0.6692 GB, free: 0.8438 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.0004912/0.1759, allocations: 0.6385 MB / 0.6698 GB, free: 180 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001585/0.176, allocations: 85.61 kB / 0.6699 GB, free: 88 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1761, allocations: 0 / 0.6699 GB, free: 88 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.392e-05/0.1761, allocations: 8 kB / 0.6699 GB, free: 80 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00014/0.1762, allocations: 7.984 kB / 0.6699 GB, free: 72 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001249/0.1775, allocations: 1.316 MB / 0.6712 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003226/0.1778, allocations: 0.6924 MB / 0.6719 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.003e-05/0.1778, allocations: 0 / 0.6719 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.937e-05/0.1779, allocations: 11.44 kB / 0.6719 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of SimCode: time 3.4e-07/0.1779, allocations: 0 / 0.6719 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02132/0.1992, allocations: 1.7 MB / 0.6736 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.648/7.848, allocations: 8.875 kB / 0.6736 GB, free: 12.42 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 & /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)