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.005114/0.005115, allocations: 101.9 kB / 15.73 MB, free: 6 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.001182/0.001182, allocations: 194.8 kB / 16.67 MB, free: 5.926 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.268/1.268, 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.7569/0.7569, allocations: 132.2 MB / 422.7 MB, free: 6.551 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001393/0.001393, allocations: 63.41 kB / 0.5809 GB, free: 24.09 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1628/0.1642, allocations: 80.2 MB / 0.6592 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes): time 0.002786/0.167, allocations: 1.271 MB / 0.6605 GB, free: 9.469 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009163/0.168, allocations: 463.1 kB / 0.6609 GB, free: 9.016 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.795e-05/0.168, allocations: 0 / 0.6609 GB, free: 9.016 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001104/0.1682, allocations: 7.938 kB / 0.6609 GB, free: 9.008 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.754e-05/0.1683, allocations: 7.984 kB / 0.6609 GB, free: 9 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002944/0.1686, allocations: 27.89 kB / 0.661 GB, free: 8.973 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.086e-05/0.1687, allocations: 27.86 kB / 0.661 GB, free: 8.945 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.874e-05/0.1687, allocations: 4 kB / 0.661 GB, free: 8.941 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.99e-05/0.1688, allocations: 8 kB / 0.661 GB, free: 8.934 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.403e-05/0.1688, allocations: 19.91 kB / 0.661 GB, free: 8.914 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.603e-05/0.1689, allocations: 0 / 0.661 GB, free: 8.914 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001341/0.169, allocations: 43.89 kB / 0.6611 GB, free: 8.871 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.898e-05/0.1691, allocations: 11.98 kB / 0.6611 GB, free: 8.859 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.185e-05/0.1691, allocations: 19.88 kB / 0.6611 GB, free: 8.84 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001359/0.1692, allocations: 58.62 kB / 0.6611 GB, free: 8.785 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.1693, allocations: 0 / 0.6611 GB, free: 8.785 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.144e-06/0.1693, allocations: 0 / 0.6611 GB, free: 8.785 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.201e-06/0.1693, allocations: 0 / 0.6611 GB, free: 8.785 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.0004394/0.1697, allocations: 352.2 kB / 0.6615 GB, free: 8.395 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/0.1698, allocations: 12.03 kB / 0.6615 GB, free: 8.383 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.86e-05/0.1698, allocations: 38.67 kB / 0.6615 GB, free: 8.336 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.032e-05/0.1698, allocations: 4.844 kB / 0.6615 GB, free: 8.332 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001611/0.17, allocations: 170.8 kB / 0.6617 GB, free: 8.129 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.341e-05/0.17, allocations: 8.125 kB / 0.6617 GB, free: 8.121 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.045e-05/0.17, allocations: 4 kB / 0.6617 GB, free: 8.117 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000102/0.1702, allocations: 43.41 kB / 0.6617 GB, free: 8.062 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.637e-06/0.1702, allocations: 4 kB / 0.6617 GB, free: 8.059 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.995e-06/0.1702, allocations: 0 / 0.6617 GB, free: 8.059 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.1702, allocations: 0 / 0.6617 GB, free: 8.059 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.515e-05/0.1702, allocations: 7.938 kB / 0.6618 GB, free: 8.051 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002134/0.1704, allocations: 174.4 kB / 0.6619 GB, free: 7.828 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 6.007e-05/0.1705, allocations: 45.08 kB / 0.662 GB, free: 7.766 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.711e-05/0.1706, allocations: 25.78 kB / 0.662 GB, free: 7.734 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.125e-05/0.1706, allocations: 0 / 0.662 GB, free: 7.734 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.798e-05/0.1706, allocations: 38.55 kB / 0.662 GB, free: 7.688 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 8.21e-07/0.1706, allocations: 0 / 0.662 GB, free: 7.688 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0001432/0.1708, allocations: 45.64 kB / 0.6621 GB, free: 7.637 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.887e-05/0.1708, allocations: 89.34 kB / 0.6622 GB, free: 7.531 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000111/0.1709, allocations: 137.7 kB / 0.6623 GB, free: 7.387 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.557e-05/0.171, allocations: 29.7 kB / 0.6623 GB, free: 7.352 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.338e-05/0.171, allocations: 84.08 kB / 0.6624 GB, free: 7.266 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.735e-05/0.171, allocations: 7.906 kB / 0.6624 GB, free: 7.258 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.846e-05/0.1711, allocations: 29.7 kB / 0.6624 GB, free: 7.223 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001332/0.1712, allocations: 314.8 kB / 0.6627 GB, free: 6.906 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.362e-05/0.1713, allocations: 24 kB / 0.6628 GB, free: 6.883 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.81e-05/0.1713, allocations: 23.98 kB / 0.6628 GB, free: 6.859 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.15e-05/0.1714, allocations: 60.03 kB / 0.6628 GB, free: 6.801 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.1714, allocations: 3.938 kB / 0.6628 GB, free: 6.797 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001238/0.1715, allocations: 97.52 kB / 0.6629 GB, free: 6.695 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.1716, allocations: 4 kB / 0.6629 GB, free: 6.691 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.849e-05/0.1716, allocations: 0 / 0.6629 GB, free: 6.691 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.1716, allocations: 4.094 kB / 0.6629 GB, free: 6.688 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.988e-05/0.1717, allocations: 3.984 kB / 0.6629 GB, free: 6.684 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.178e-06/0.1717, allocations: 3.984 kB / 0.6629 GB, free: 6.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.347e-05/0.1717, allocations: 11.84 kB / 0.663 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.542e-06/0.1717, allocations: 4 kB / 0.663 GB, free: 6.664 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.501e-05/0.1718, allocations: 114.7 kB / 0.6631 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.092e-05/0.1719, allocations: 4 kB / 0.6631 GB, free: 6.539 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.379e-05/0.1719, allocations: 7.531 kB / 0.6631 GB, free: 6.523 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.1719, allocations: 3.984 kB / 0.6631 GB, free: 6.52 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.1719, allocations: 0 / 0.6631 GB, free: 6.52 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.451e-06/0.1719, allocations: 4 kB / 0.6631 GB, free: 6.516 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001363/0.1721, allocations: 161.5 kB / 0.6632 GB, free: 6.309 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.1721, allocations: 4 kB / 0.6632 GB, free: 6.305 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.156e-05/0.1721, allocations: 3.938 kB / 0.6632 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.1721, allocations: 12 kB / 0.6633 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.931e-06/0.1721, allocations: 0 / 0.6633 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.1721, allocations: 0 / 0.6633 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.552e-06/0.1721, allocations: 0 / 0.6633 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.619e-05/0.1722, allocations: 73.92 kB / 0.6633 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.553e-05/0.1723, allocations: 81.02 kB / 0.6634 GB, free: 6.098 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.322e-05/0.1723, allocations: 8.031 kB / 0.6634 GB, free: 6.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.555e-05/0.1723, allocations: 0 / 0.6634 GB, free: 6.09 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.475e-05/0.1723, allocations: 7.984 kB / 0.6634 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.034e-06/0.1723, allocations: 0 / 0.6634 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.941e-05/0.1724, allocations: 99.27 kB / 0.6635 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1724, allocations: 7.875 kB / 0.6635 GB, free: 5.977 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000204/0.1726, allocations: 20 kB / 0.6635 GB, free: 5.957 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.0004464/0.1731, allocations: 0.6327 MB / 0.6642 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001452/0.1732, allocations: 81.61 kB / 0.6642 GB, free: 5.207 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1732, allocations: 0 / 0.6642 GB, free: 5.207 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.277e-05/0.1732, allocations: 4 kB / 0.6642 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001629/0.1734, allocations: 12.06 kB / 0.6643 GB, free: 5.191 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001227/0.1746, allocations: 1.323 MB / 0.6655 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002792/0.1749, allocations: 0.6846 MB / 0.6662 GB, free: 3.074 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.264e-05/0.175, allocations: 3.938 kB / 0.6662 GB, free: 3.07 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.254e-05/0.175, allocations: 15.44 kB / 0.6662 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.175, allocations: 0 / 0.6662 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02042/0.1954, allocations: 1.711 MB / 0.6679 GB, free: 1.543 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.35/7.546, allocations: 7.484 kB / 0.6679 GB, free: 1.539 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)