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: translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001071/0.001071, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001124/0.001124, allocations: 197.1 kB / 16.26 MB, free: 6.625 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.368/1.368, allocations: 222.9 MB / 239.9 MB, free: 4.492 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9239/0.9239, allocations: 135.1 MB / 425.2 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00132/0.00132, allocations: 60.52 kB / 0.5049 GB, free: 5.582 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1573/0.1586, allocations: 80.93 MB / 0.5839 GB, free: 4.824 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes): time 0.002691/0.1614, allocations: 1.341 MB / 0.5852 GB, free: 3.461 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007227/0.1621, allocations: 448.6 kB / 0.5857 GB, free: 3.023 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.785e-05/0.1622, allocations: 0 / 0.5857 GB, free: 3.023 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 8.083e-05/0.1623, allocations: 3.984 kB / 0.5857 GB, free: 3.02 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.596e-05/0.1623, allocations: 7.938 kB / 0.5857 GB, free: 3.012 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002386/0.1626, allocations: 31.89 kB / 0.5857 GB, free: 2.98 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.169e-05/0.1627, allocations: 23.92 kB / 0.5857 GB, free: 2.957 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.315e-05/0.1627, allocations: 8 kB / 0.5857 GB, free: 2.949 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.542e-05/0.1627, allocations: 7.984 kB / 0.5857 GB, free: 2.941 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.587e-05/0.1628, allocations: 19.86 kB / 0.5858 GB, free: 2.922 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.959e-06/0.1628, allocations: 0 / 0.5858 GB, free: 2.922 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000118/0.163, allocations: 35.97 kB / 0.5858 GB, free: 2.887 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.354e-05/0.163, allocations: 19.97 kB / 0.5858 GB, free: 2.867 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.45e-05/0.1631, allocations: 23.86 kB / 0.5858 GB, free: 2.844 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001284/0.1632, allocations: 56.09 kB / 0.5859 GB, free: 2.789 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.1632, allocations: 0 / 0.5859 GB, free: 2.789 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1632, allocations: 0 / 0.5859 GB, free: 2.789 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.959e-06/0.1632, allocations: 0 / 0.5859 GB, free: 2.789 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.0003411/0.1636, allocations: 359.3 kB / 0.5862 GB, free: 2.391 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.1636, allocations: 8.031 kB / 0.5862 GB, free: 2.383 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.066e-05/0.1636, allocations: 0.9375 kB / 0.5862 GB, free: 2.383 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001468/0.1638, allocations: 180.2 kB / 0.5864 GB, free: 2.168 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.705e-06/0.1638, allocations: 384 / 0.5864 GB, free: 2.168 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.066e-05/0.1638, allocations: 8.125 kB / 0.5864 GB, free: 2.16 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.914e-05/0.1639, allocations: 43.42 kB / 0.5865 GB, free: 2.105 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.211e-06/0.1639, allocations: 4 kB / 0.5865 GB, free: 2.102 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.694e-06/0.1639, allocations: 0 / 0.5865 GB, free: 2.102 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.164, allocations: 0 / 0.5865 GB, free: 2.102 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.402e-05/0.164, allocations: 11.92 kB / 0.5865 GB, free: 2.09 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001564/0.1641, allocations: 170.5 kB / 0.5866 GB, free: 1.871 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.032e-05/0.1642, allocations: 33.16 kB / 0.5867 GB, free: 1.82 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.922e-05/0.1642, allocations: 33.77 kB / 0.5867 GB, free: 1.781 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.047e-05/0.1643, allocations: 3.938 kB / 0.5867 GB, free: 1.777 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.034e-05/0.1643, allocations: 34.56 kB / 0.5867 GB, free: 1.734 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.1643, allocations: 0 / 0.5867 GB, free: 1.734 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001389/0.1644, allocations: 57.47 kB / 0.5868 GB, free: 1.672 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.438e-05/0.1645, allocations: 77.36 kB / 0.5869 GB, free: 1.578 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001/0.1646, allocations: 144.6 kB / 0.587 GB, free: 1.43 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.437e-05/0.1646, allocations: 29.7 kB / 0.587 GB, free: 1.395 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.816e-05/0.1647, allocations: 88.03 kB / 0.5871 GB, free: 1.305 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.251e-05/0.1647, allocations: 0 / 0.5871 GB, free: 1.305 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.718e-05/0.1647, allocations: 29.7 kB / 0.5871 GB, free: 1.27 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.014e-05/0.1648, allocations: 314.8 kB / 0.5874 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.097e-05/0.1649, allocations: 23.98 kB / 0.5875 GB, free: 0.9297 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.218e-05/0.1649, allocations: 31.98 kB / 0.5875 GB, free: 0.8984 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.786e-05/0.165, allocations: 48.84 kB / 0.5875 GB, free: 0.8477 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.165, allocations: 0 / 0.5875 GB, free: 0.8477 MB / 494.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001246/0.1651, allocations: 105 kB / 0.5876 GB, free: 0.7422 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.1651, allocations: 4 kB / 0.5876 GB, free: 0.7383 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.734e-05/0.1652, allocations: 4 kB / 0.5877 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.588e-06/0.1652, allocations: 3.938 kB / 0.5877 GB, free: 0.7305 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.219e-05/0.1652, allocations: 0 / 0.5877 GB, free: 0.7305 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.1652, allocations: 4 kB / 0.5877 GB, free: 0.7266 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.77e-05/0.1653, allocations: 7.844 kB / 0.5877 GB, free: 0.7188 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.594e-06/0.1653, allocations: 4 kB / 0.5877 GB, free: 0.7148 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 7.156e-05/0.1653, allocations: 117.8 kB / 0.5878 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.083e-05/0.1654, allocations: 11.84 kB / 0.5878 GB, free: 0.5781 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.046e-05/0.1654, allocations: 3.531 kB / 0.5878 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.1654, allocations: 0 / 0.5878 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.1654, allocations: 4 kB / 0.5878 GB, free: 0.5664 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.1654, allocations: 0 / 0.5878 GB, free: 0.5664 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001024/0.1655, allocations: 169.6 kB / 0.588 GB, free: 360 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1655, allocations: 0 / 0.588 GB, free: 360 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.106e-05/0.1656, allocations: 7.984 kB / 0.588 GB, free: 352 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.1656, allocations: 4 kB / 0.588 GB, free: 348 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.761e-06/0.1656, allocations: 3.938 kB / 0.588 GB, free: 344 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.1656, allocations: 0 / 0.588 GB, free: 344 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1656, allocations: 0 / 0.588 GB, free: 344 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.65e-05/0.1657, allocations: 73.92 kB / 0.5881 GB, free: 248 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.858e-05/0.1657, allocations: 85.02 kB / 0.5881 GB, free: 144 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.25e-05/0.1657, allocations: 0 / 0.5881 GB, free: 144 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.698e-05/0.1658, allocations: 4.031 kB / 0.5881 GB, free: 140 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.779e-06/0.1658, allocations: 96 / 0.5881 GB, free: 140 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.757e-06/0.1658, allocations: 4 kB / 0.5881 GB, free: 136 kB / 494.1 MB Notification: Performance of sorting global known variables: time 5.489e-05/0.1658, allocations: 103.2 kB / 0.5882 GB, free: 32 kB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1658, allocations: 0 / 0.5882 GB, free: 32 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002099/0.1661, allocations: 20 kB / 0.5883 GB, free: 12 kB / 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.0001746/0.1662, allocations: 123.1 kB / 0.5884 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001442/0.1664, allocations: 85.69 kB / 0.5885 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1664, allocations: 0 / 0.5885 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.475e-05/0.1664, allocations: 7.984 kB / 0.5885 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001577/0.1666, allocations: 3.938 kB / 0.5885 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002726/0.1669, allocations: 154.3 kB / 0.5886 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002278/0.1671, allocations: 0.6962 MB / 0.5893 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.012e-05/0.1671, allocations: 3.938 kB / 0.5893 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.398e-05/0.1672, allocations: 7.438 kB / 0.5893 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.1672, allocations: 0 / 0.5893 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of Templates: time 0.002695/0.1699, allocations: 0.538 MB / 0.5898 GB, free: 14.38 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.makefile (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 & ./IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe 2>&1)