Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.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: translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001238/0.001238, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001359/0.001359, allocations: 194.3 kB / 16.53 MB, free: 6.664 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.267/1.267, allocations: 222.9 MB / 240.2 MB, free: 4.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7195/0.7195, allocations: 132.2 MB / 422.6 MB, free: 1.766 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 68.58 kB / 0.5018 GB, free: 3.828 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3735/0.3747, allocations: 80.2 MB / 0.5801 GB, free: 4.57 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001749/0.3765, allocations: 0.5466 MB / 0.5807 GB, free: 4.238 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001057/0.3776, allocations: 0.9965 MB / 0.5816 GB, free: 3.504 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.852e-05/0.3776, allocations: 0.7812 kB / 0.5816 GB, free: 3.504 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 9.989e-06/0.3776, allocations: 0 / 0.5816 GB, free: 3.504 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005872/0.3782, allocations: 90.7 kB / 0.5817 GB, free: 3.461 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.081e-05/0.3782, allocations: 9.719 kB / 0.5817 GB, free: 3.457 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 3.822e-05/0.3783, allocations: 15.34 kB / 0.5818 GB, free: 3.445 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.146e-05/0.3783, allocations: 3.188 kB / 0.5818 GB, free: 3.445 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.644e-05/0.3784, allocations: 1.656 kB / 0.5818 GB, free: 3.445 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001865/0.3785, allocations: 29.52 kB / 0.5818 GB, free: 3.438 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.887e-06/0.3786, allocations: 0 / 0.5818 GB, free: 3.438 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001579/0.3787, allocations: 75.34 kB / 0.5819 GB, free: 3.414 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 8.596e-06/0.3787, allocations: 0.875 kB / 0.5819 GB, free: 3.414 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.721e-05/0.3788, allocations: 14.34 kB / 0.5819 GB, free: 3.402 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000141/0.3789, allocations: 65.53 kB / 0.5819 GB, free: 3.383 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.776e-06/0.3789, allocations: 0 / 0.5819 GB, free: 3.383 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.3789, allocations: 0 / 0.5819 GB, free: 3.383 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.3789, allocations: 0 / 0.5819 GB, free: 3.383 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002217/0.3792, allocations: 330.6 kB / 0.5822 GB, free: 3.027 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.046e-05/0.3792, allocations: 10 kB / 0.5823 GB, free: 3.027 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.623e-05/0.3792, allocations: 6.234 kB / 0.5823 GB, free: 3.023 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.382e-05/0.3793, allocations: 167.6 kB / 0.5824 GB, free: 2.824 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.693e-05/0.3793, allocations: 1.188 kB / 0.5824 GB, free: 2.824 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.352e-05/0.3793, allocations: 12.67 kB / 0.5824 GB, free: 2.812 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.886e-05/0.3794, allocations: 28.42 kB / 0.5825 GB, free: 2.781 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.622e-06/0.3794, allocations: 0 / 0.5825 GB, free: 2.781 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.925e-06/0.3794, allocations: 0.7188 kB / 0.5825 GB, free: 2.781 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.99e-06/0.3795, allocations: 0.6562 kB / 0.5825 GB, free: 2.781 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.713e-05/0.3795, allocations: 5.906 kB / 0.5825 GB, free: 2.777 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002636/0.3797, allocations: 463.8 kB / 0.5829 GB, free: 2.266 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.642e-05/0.3798, allocations: 179.8 kB / 0.5831 GB, free: 2.082 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.51e-05/0.3798, allocations: 80.14 kB / 0.5832 GB, free: 2 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.347e-05/0.3798, allocations: 75.28 kB / 0.5832 GB, free: 1.926 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.744e-05/0.3798, allocations: 108.1 kB / 0.5833 GB, free: 1.812 MB / 430.1 MB Notification: Performance of pre-optimization done (n=0): time 8.42e-07/0.3799, allocations: 0 / 0.5833 GB, free: 1.812 MB / 430.1 MB Notification: Performance of matching and sorting (n=0): time 5.969e-05/0.3799, allocations: 39.14 kB / 0.5834 GB, free: 1.77 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.687e-05/0.38, allocations: 128.2 kB / 0.5835 GB, free: 1.633 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.706e-05/0.38, allocations: 104.6 kB / 0.5836 GB, free: 1.527 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.789e-06/0.38, allocations: 26.7 kB / 0.5836 GB, free: 1.496 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.767e-05/0.3801, allocations: 81.97 kB / 0.5837 GB, free: 1.414 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.244e-06/0.3801, allocations: 0 / 0.5837 GB, free: 1.414 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.31e-05/0.3801, allocations: 12.7 kB / 0.5837 GB, free: 1.398 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.755e-05/0.3801, allocations: 324.4 kB / 0.584 GB, free: 1.074 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.285e-06/0.3801, allocations: 1.125 kB / 0.584 GB, free: 1.074 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.422e-06/0.3802, allocations: 1.766 kB / 0.584 GB, free: 1.074 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.978e-05/0.3802, allocations: 7.516 kB / 0.584 GB, free: 1.066 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.3802, allocations: 0 / 0.584 GB, free: 1.066 MB / 430.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.178e-05/0.3803, allocations: 40.89 kB / 0.5841 GB, free: 1.027 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.153e-05/0.3803, allocations: 5.219 kB / 0.5841 GB, free: 1.027 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.366e-06/0.3803, allocations: 0 / 0.5841 GB, free: 1.027 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.04e-05/0.3803, allocations: 1.609 kB / 0.5841 GB, free: 1.027 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.389e-05/0.3803, allocations: 4.875 kB / 0.5841 GB, free: 1.023 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.3803, allocations: 0.6094 kB / 0.5841 GB, free: 1.023 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.412e-05/0.3804, allocations: 4.75 kB / 0.5841 GB, free: 1.02 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.379e-06/0.3804, allocations: 0.9062 kB / 0.5841 GB, free: 1.02 MB / 430.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: 1 (cmp) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 prepare postOptimizeDAE: time 4.323e-05/0.3804, allocations: 190.8 kB / 0.5843 GB, free: 0.8242 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.781e-05/0.3805, allocations: 107.1 kB / 0.5844 GB, free: 0.7148 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.963e-05/0.3805, allocations: 110.6 kB / 0.5845 GB, free: 0.6016 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-05/0.3805, allocations: 181.8 kB / 0.5847 GB, free: 428 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.228e-05/0.3805, allocations: 181.7 kB / 0.5848 GB, free: 240 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.036e-05/0.3806, allocations: 178.1 kB / 0.585 GB, free: 56 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002094/0.3808, allocations: 406.1 kB / 0.5854 GB, free: 15.61 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.295e-05/0.3808, allocations: 106.7 kB / 0.5855 GB, free: 15.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.926e-05/0.3808, allocations: 106 kB / 0.5856 GB, free: 15.39 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.351e-05/0.3809, allocations: 186.3 kB / 0.5858 GB, free: 15.2 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.213e-05/0.381, allocations: 178.6 kB / 0.5859 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.284e-05/0.381, allocations: 185.8 kB / 0.5861 GB, free: 14.83 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.061e-05/0.3811, allocations: 182.1 kB / 0.5863 GB, free: 14.65 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001167/0.3812, allocations: 313.4 kB / 0.5866 GB, free: 14.32 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.331e-05/0.3813, allocations: 183.7 kB / 0.5868 GB, free: 14.12 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.172e-05/0.3813, allocations: 179 kB / 0.5869 GB, free: 13.94 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.781e-05/0.3814, allocations: 106.4 kB / 0.587 GB, free: 13.83 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.831e-05/0.3815, allocations: 182.4 kB / 0.5872 GB, free: 13.65 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-05/0.3815, allocations: 110.4 kB / 0.5873 GB, free: 13.54 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.784e-05/0.3816, allocations: 84.94 kB / 0.5874 GB, free: 13.46 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3816, allocations: 0 / 0.5874 GB, free: 13.46 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000247/0.3818, allocations: 23.59 kB / 0.5874 GB, free: 13.45 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (0): * Single equations (assignments): 0 * 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.0003113/0.3821, allocations: 231.9 kB / 0.5876 GB, free: 13.27 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 5.454e-05/0.3822, allocations: 2.781 kB / 0.5876 GB, free: 13.27 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.3822, allocations: 1.156 kB / 0.5876 GB, free: 13.27 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.482e-06/0.3822, allocations: 0 / 0.5876 GB, free: 13.27 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003135/0.3825, allocations: 461.7 kB / 0.5881 GB, free: 12.82 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003774/0.3829, allocations: 201.6 kB / 0.5883 GB, free: 12.62 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000223/0.3831, allocations: 0.6723 MB / 0.5889 GB, free: 11.93 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.423e-05/0.3832, allocations: 6.219 kB / 0.5889 GB, free: 11.93 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.018e-05/0.3832, allocations: 9.062 kB / 0.5889 GB, free: 11.92 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3832, allocations: 0 / 0.5889 GB, free: 11.92 MB / 446.1 MB Notification: Performance of Templates: time 0.003028/0.3862, allocations: 0.645 MB / 0.5896 GB, free: 11.85 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.makefile (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & ./IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1)